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

2013/4/25

Creating a "blink" method

aezzell aezzell

2013/4/25

#
I am doing a project right now. The directions say " you should create a Blink method...the Flower will blink on and off continuously (Hint...save the Flower's current transparency in a variable, set the transparency to zero, and then set the transparency back to the value you have saved in the variable...you must also call Greenfoot's delay() method after setting/re-setting the transparency)." Can anyone help me come up with some code for this? I can not figure this out!
danpost danpost

2013/4/25

#
What have you tried? Do you even know what methods you might need (look through the APIs through the documentation link above, if not)?
You need to login to post a reply.