is there a way to make a ai car using simple scripting with no varibles?
Offline
TheCatAndTheBanana wrote:
is there a way to make a ai car using simple scripting with no varibles?
Hey, why don't you like variables? They are every programmer's best friend.
Anyways, the answer can vary a lot depending on what you want your AI car to do. If you just want it to move in a set pattern then you don't need variables.
Offline
archmage wrote:
TheCatAndTheBanana wrote:
is there a way to make a ai car using simple scripting with no varibles?
Hey, why don't you like variables? They are every programmer's best friend.
Anyways, the answer can vary a lot depending on what you want your AI car to do. If you just want it to move in a set pattern then you don't need variables.
i cant realy do complex things.
so it can go round stuff like staits and turns AI players on most ai projects
so like using colour sensing.
Offline
Just use the move blocks to move your AI car is a set pattern. Thats
pretty much the only thing I can think of without using variables.
Offline
TheCatAndTheBanana wrote:
archmage wrote:
TheCatAndTheBanana wrote:
is there a way to make a ai car using simple scripting with no varibles?
Hey, why don't you like variables? They are every programmer's best friend.
Anyways, the answer can vary a lot depending on what you want your AI car to do. If you just want it to move in a set pattern then you don't need variables.i cant realy do complex things.
so it can go round stuff like staits and turns AI players on most ai projects
so like using colour sensing.
you can use ghost sprites scattered around the track, which the car goes to in order. Press '1' while running this project, and you'll see what I mean:
http://scratch.mit.edu/projects/chalkmarrow/102887
Offline
http://scratch.mit.edu/projects/deatheater/223093 there's one with variables
Offline