SWF | 10dec2016 | swf.swf | 8.44 MiB 1889 pop | ||
When I was a kid I once played a DOS game where you were Santa. I don't remember much of what you did in it (I think you had a jetpak?) or even what it was called. But I do remember it has big pixly snow on the title screen that fell down and stayed where it landed. That's where the idea of this came from, I've thought about doing this for years. Made it possible to draw/erase using the mouse and added the ability for the snow to eventually cover things. I've optimized it a bit, random values are for example looked up in an array with 1000 pre-defined random values instead of each snow flake needing to execute costly function calls every frame. Flakes that have no chance to move are put to sleep and won't be doing any more calculation. Each pixel is also just a pixel in an image, not an object (they aren't MovieClips or individual sprites). The flash can still slow down a lot though, especially in browsers and especially if snow doesn't touch the ground and go to sleep. I should have worked on the flash for one more day because if you seal off most of the top a lot more snow will pour down in the remaining holes than it should. The behaviour of stacking snow could also have been improved. There are a lot of music in this flash, one track gets randomized at the start. The text is usualy green like Anonymous but during December each year it becomes red and a Christmas song is always played. During July in the summer a StarTropics track is always played and the background becomes sky colored, the text becomes dirt brown and the snow is replaced by green grass. The themes can't be forced unless you change your computer's date but you can cycle through the music by pressing spacebar (will update the music source below the visuals depending on what song is playing). At first I wasn't sure if I should name it swf.swf but then I thought, "When will I ever again make a flash when that name is suitable?" TOOL: Adobe Flash Pro CS6 AUDIO 1: Jazz Jackrabbit Holiday Hare '95 - Candion AUDIO 2: Dj CUTMAN - Trip to the Tropics (StarTropics) AUDIO 3: Darren Korb - Setting Sail, Coming Home AUDIO 4: SkyHigh - Sonic the Hedgehog 3 'Snow Motion' OC ReMix AUDIO 5: Malmen - All That's Left AUDIO 6: Moby - Everloving AUDIO 7: LPChip - Traz (Chill down mix) |
Click the ON/OFF link below to play the flash. |
| Randomize |
|
|