I want to make a bird's eye-view racing game, how can I make the other car actors randomly follow the course. I want the cars to go differently every game, please help.
GsLover said: Gamesalad has a racing game already in the demo sections
That's true, But I think he means AI. I would like to know that for learning purpose also. you'd have to have invisible actors along the track and have it set up so they each have an attribute that makes it chase it and that when they hit the attribute changes to zero and the next invisble actor becomes a target and the finish line resets the process
Maybe create multiple invisible actors in the race track and use move to and booleans attributes to make the computers move towards them. If you collide they still follow the same path and it wont be exactly the same race.
@ Mr. Rinoy For me it did, but that was probably because I was doing a robot-gone-rouge-fend-em-off-till-you-die type of game. I had to have them all around the walls so the robots would know where to go. I had to do racing in there too actually, and it worked ok.
Maybe you could set waypoints, have the car move to that way point, but also use a "random" in there as well so it doesn't go to exactly the same place each time, but close enough to the waypoint so they will get around the track.
Would be interested to see how this works out, keep us posted!
Comments
But as far as the AI car thing, man TjMNUT, if you think of a way to do it BESIDES invisible actors, we would all be greatly in your debt.
cheers
-Jobo
Would be interested to see how this works out, keep us posted!