This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

matt.milan
matt.milan presents ...

2012/4/26

Animated Backgrounds

trying to make an array of images with slightly varying values, to initialize before the game starts, to experiment with pre-loading assets.

4/26/2012
-fixed a heap overflow error (had an addobject in world.act spawn a million objects)
-squares now blink (using setAlpha instead of setTransparency, took some workaround)

//trying to reproduce some visuals from an old snes game

5587 views / 17 in the last 7 days

1 vote | 0 in the last 7 days

Tags: with-source

open in greenfoot
Your browser does not support the canvas tag.
A new version of this scenario was uploaded on Thu Apr 26 08:18:26 UTC 2012 fixed a heap overflow error (had an addobject in world.act spawn a million objects) squares now blink
A new version of this scenario was uploaded on Fri Apr 27 06:07:34 UTC 2012 updated background added movement to background and boxes future: change the behaviour of new boxes, update the background more
adamkjelstroemadamkjelstroem

2012/11/10

it is very disturbing to look at all the moving parts and colors. maybe if the stuff moved slower, it would be better. but, very cool! :-)

Want to leave a comment? You must first log in.

Who likes this?

adamkjelstroem