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

#1 2012-05-03 14:51:02

tnjon
New Scratcher
Registered: 2010-07-27
Posts: 3

Ai in a racing game

I sm trying to make AI cars in a racing game and i don't really know were to start with it. Can someone give me an idea of what the script would be like?

Offline

 

#2 2012-05-03 16:25:34

blob8108
Scratcher
Registered: 2007-06-25
Posts: 1000+

Re: Ai in a racing game

What's the game like? Can you show it to us?

It think it really depends what the game is like, and how you want the AI to behave.  smile


Things I've made: kurt | scratchblocks2 | this cake

Offline

 

#3 2012-05-04 10:55:05

tnjon
New Scratcher
Registered: 2010-07-27
Posts: 3

Re: Ai in a racing game

Here is a link to what i have now http://scratch.mit.edu/projects/tnjon/2514147 i just want to add some cars to race against you

Offline

 

#4 2012-05-04 11:04:34

blob8108
Scratcher
Registered: 2007-06-25
Posts: 1000+

Re: Ai in a racing game

I'd suggest adding a car for a second (human) player first.

Also, could I suggest you make the surroundings slow the car down, rather than crash? It's quite tricky atm  tongue


Things I've made: kurt | scratchblocks2 | this cake

Offline

 

#5 2012-05-04 11:33:23

tnjon
New Scratcher
Registered: 2010-07-27
Posts: 3

Re: Ai in a racing game

ok i will do that then re upload it

Offline

 

Board footer