Was looking for some free books for my mothers kindle, when I stumbled on this site via Lifehacker. The problem was that it linked to the amazon.com site not the .co.uk link, a little frustrating.
Youtube Link Changer Thingy
Expanding on my last Youtube post, I made a simple script that will change the link to the fullscreen version for yer.
Making a Game 2
Today I carried on with the game, and went from this to this. I’ve swapped coloured bricks for clouds and made fluttershy say “yay” when she lands on a grey cloud.
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.
Making A Game
The Short Story
I started making a game, tried to use flash, found it hard, asked around, used JavaScript and html 5, here’s the progress after a few hours.
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 …
Ajax
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 …
JW Player Focus Change
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 …
Clock
Well i’ve been messing around with some javascript, trying to learn it and … well .. failing mostly, but i did have some success with a timestamp; Using javascript to set the time on a form by clicking update.
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 …