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

2013/2/27

Making an object bigger and fade

Gingervitis Gingervitis

2013/2/27

#
Is it possible to make an object grow from left to right across the screen, but then fade out? The two things contradict each other and the object stays on screen with out fading.
Jonas234 Jonas234

2013/2/27

#
Here you allready asked for bigger. Fading out works the same. GreenfootImage has a function called setTransparency(int t). 255 is full visibilty 0 is transparent. You just need to adjust the value the same way you do with the scale. Jonas
You need to login to post a reply.