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 …
I finally got ajax working. It has been the bane of my life for ages, every time I’ve tried to work it or follow these 4 states or whatever, its always confused the hell out of me. So with a little help I got my first bit of code. Read more …
Been messing with jQuery Tools and JW Player event listeners to make this. Simply by pressing play a white mask engulfs everything bar the player making it stand out more. Useful for a live stream and/or where full screening isn’t possible. Only bug i’ve noticed is flash elements aren’t covered by the mask. Standalone example here.
How to do it .. ?
Read more …
But, i thought, can i take this one step further, can i make it update itself, and behold i had made a clock, which i then couldn’t use as for some reason it clashed with the text editor script (never did solve that).
So instead I stuck it elsewhere, but wanted to show it off here to.
Read more …