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

2011/8/16

How to make images have priority?

Sirtuck Sirtuck

2011/8/16

#
How do you make it so that images for certain objects always appear on top of other images?
Advenging Advenging

2011/8/16

#
Hy, Do you mean setPaintOrder(image1.class,image2.class,image3.class); ? Add it in your world class under super(123,23,2); Advenging
Sirtuck Sirtuck

2011/8/16

#
Say you have two subclasses of actor named Player and Door. Is there a way to always have the image of the Door subclass be behind the Player subclass?
limefortheworld limefortheworld

2011/8/16

#
If I am correct, you can do this with setPaintOrder(class, class, class...)
Sirtuck Sirtuck

2011/8/17

#
Alright I will try that, thank you both.
Sirtuck Sirtuck

2011/8/17

#
That did work, thanks again!
You need to login to post a reply.