![]() |
Luke's Projects | Siege Equipment | Models | Games | Miscellaneous |
| Past, present and future creations. | Mangonel | Dalek | Javscript-based | Harmonograph |
| Front Page | Trebuchet | Maglev | The Bonus Box | Arcade machine |
| Links | Roller Coaster | Raft Race |
JavaScript Games | |
| In all games: P = pause, Esc = close window, Arrow Keys = move. Warning! These games appear to be the first javascript games to require a 1ghz processor, they seem to be terribly ineffiecient and actually lag on anything slower. Tetris runs nearly 1000 lines of code (the same 10 or so repeated about 180 times) just to scan for lines which have been filled up! | |
![]() | Hungry Bunny - Pac Man re-make, complete with very simple AI! Only two levels currently though. |
![]() | Space Invaders - Space Invaders clone, not particularily impressive (my first proper game), but I'd be impressed if you can complete the whole game. I only managed it once! Space = fire. |
![]() | Tetris - Simple Tetris clone, features 8 levels and most of the common tetris features. Up = rotate. Space = make shape fall instantly. Down = Make shape fall faster |
All the games run on a similar mechanism, using javascript to display the game by changing a series of images. Since JavaScript treats all the images on the page as if they're in a long line, it's given my maths a bit of a testing. Currently they run in most Gecko-based browsers (firefox, netscape etc) and IE 6 and below. Aparently it doesn't work in IE7, but I can't test that myself and personally couldn't care less (get firefox). |
© Luke Wallin 2005