This is a clone of the classic arcade game Frogger observing the feasibility of game engines in JavaScript! This project is using the HTML5 canvas element and JavaScript canvas APIs. The live demo of this project is available here.
index.html
is pretty much empty! it only contains the canvas element and instructions to play the gamejs/app.js
contains the game characters and do the event handlingjs/engine.js
have the actual game loop which sets the canvas and redraw the game each time based on the game characters data. It is doing a little more then that so dig through the code to fully understand it.js/resources.js
is just a resource caching utility
- clone it.
- Open the
index.html
file in your browser.