An Outrun-style pseudo-3d racing game in HTML5 and Javascript with fuzzy logic autopilot
Original game created by Jake Gordon, using the MIT license.
Fuzzy logic AI implemented using fuzzy logic library fuzzyIS created by Maxim Nesterenko, using the MIT license..
- play the game
- view the source
- read about how it works (without AI)
The performance of this game is very machine/browser dependent. It works quite well in modern browsers, especially those with GPU canvas acceleration, but a bad graphics driver can kill it stone dead. So your mileage may vary. There are controls provided to change the rendering resolution and the draw distance to scale to fit your machine.
Currently supported browsers include:
- Firefox (v12+) works great, 60fps at high res - Nice!
- Chrome (v19+) works great, 60fps at high res... provided you dont have a bad GPU driver
- IE9 - ok, 30fps at medium res... not great, but at least it works
The current state of mobile browser performance is pretty dismal. Dont expect this to be playable on any mobile device.
NOTE: I havent actually spent anytime optimizing for performance yet. So it might be possible to make it play well on older browsers, but that's not really what this project is about.
MIT license.
NOTE: the music tracks included in this project are royalty free resources paid for and licensed from Lucky Lion Studios. They are licensed ONLY for use in this project and should not be reproduced.
NOTE: the sprite graphics are placeholder graphics borrowed from the old genesis version of outrun and used here as teaching examples. If there are any pixel artists out there who want to provide original art to turn this into a real game please get in touch!