Fück yöü, ActionScript 3! Take this! Harhar! Finally...
Finally a version of snake you can't lose (or win either, by the way..). Also similar to the funky toy thing where you turn a knob and draw that way. Took me a bit to figure out ActionScript 3, but here we go. In this little .swf you can check out if I done well. Use your trusty Arrowkeys to snake around and the Spacebar to reset.
This is actually an update to colour in black and white, Wouter's assignment. I used Flash CS3, the original .fla file can be found on the akivis.com server, I commented it a bit, so You can see what is happening. Basically, there is a underlying grid made up of two-dimensional arrays. Any time you press an arrow-key, both the space you come from and the space you move to is updated. There is also a fullscreen version, which won't work in a browser (I guess), but You can download it and try it out.
Montag, 19. November 2007
Abonnieren
Kommentare zum Post (Atom)
1 Kommentar:
hej THE css master,
updated my site with 3 minor things.
- Little header, with instruction to click+drag..
- the scrollbars never show up anymore
- andd.. a cursor change on te pictures, so now it's more clear you can move the images
see ya,
dennz
Kommentar veröffentlichen