I Also added a landing page for the most up-to-date version and start / restart button.
I’ve noticed that with this new canvas it takes a while to load the first time, but after it quite nice, unlike flash where it has ages to pre cache everything each time you refresh. On the downside the audio support isn’t great. There’s a php script to identify the browser and select the correct audio file. Clearing the canvas to start again was also a mystery, so instead made the button use ajax to load the game form a separate page. Restarting it simply empties the block and loads it in again, creating a blank canvas, may not be the best way of doing it but it seems to work fine.
The hard part now, trying to add a score submission box and a high scores table, and after that, actually try get this game out here a little.
The Short Story
The Long Story
I recently watched the MLP:FIM episode “read it and weep”, and more than anything wanted to make a Daring Do version of temple run. Honestly I had no idea how, so I started researching flash games. Read more …