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

2013/7/13

How to erase previous drawn images?

AceticAcid AceticAcid

2013/7/13

#
I want a rectangle to just move. But if I try it, previous rectangle remained. How can I erase the previous drawn image(maybe meaning imprint)? Plz help me..T^T
AceticAcid AceticAcid

2013/7/13

#
The image is about the imprints I told.
Gevater_Tod4711 Gevater_Tod4711

2013/7/13

#
If your backgroundcolor is black you just need to overdraw the whole image with a black color and then draw your rectagle.
Zamoht Zamoht

2013/7/15

#
Or use the GreenfootImage clear() method.
Gevater_Tod4711 Gevater_Tod4711

2013/7/15

#
To use clear() would make the image not black but transparent. But the rectakle would be no longer there.
Zamoht Zamoht

2013/7/17

#
Oh I didn't get that the whole thing was made in one GreenfootImage.
You need to login to post a reply.