This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-11-08 11:25:56

prokohtu
Scratcher
Registered: 2008-06-19
Posts: 100+

F1 game AI drivers

Hi all.I recently finished my F1 2012 game(see my sig) Now i think the next step would be to add AI drivers. I tried one method, but it didn't work. The game has a scroll x+y system, the car stays in the middle all the time. Any ideas on how i could do that are welcome.


Scratch's most realistic F1 simulator
https://lh6.googleusercontent.com/-qIdF-SzbTzw/UU29tK-FYvI/AAAAAAAAAOs/vRFKr1Iwldc/s225/logo.jpg

Offline

 

#2 2012-11-09 11:46:22

prokohtu
Scratcher
Registered: 2008-06-19
Posts: 100+

Re: F1 game AI drivers

come on, someone should know how to do it :-)


Scratch's most realistic F1 simulator
https://lh6.googleusercontent.com/-qIdF-SzbTzw/UU29tK-FYvI/AAAAAAAAAOs/vRFKr1Iwldc/s225/logo.jpg

Offline

 

#3 2012-11-09 20:47:29

Akorlith
Scratcher
Registered: 2012-09-19
Posts: 18

Re: F1 game AI drivers

Add invisible waypoints at every corner at first and get the AI to go to each of them in order. Then fudge the turning and driving slightly so it looks more realistic.

Offline

 

Board footer