I'm making a racing game, I have made some tracks and powerups but I want to add AI to it, but I don't know what events should I give to it so it can follow a path... Any ideas?
Develop games in your browser. Powerful, performant & highly capable.
There some examples of AI in the 'Examples & Tutorials List' which may be of some help.
Also, if you search for 'pathfinding', you'll find things like THIS which may help.
Thank you very much! :D