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

2020/3/17

Get An Actor Behind An Image

APCSP-6 APCSP-6

2020/3/17

#
So, in my game Diner Dash, I need to get an actor behind the part of the image of the counter. Should I add in an image of a counter and then set the cook behind it? Another thing is, I don't exactly code as much. I am a real beginner so I may not understand this as well as I should.
danpost danpost

2020/3/17

#
Use the following line right after the super call in your World subclass constructor (using the appropriate class name):
setPaintOrder(Counter.class);
You need to login to post a reply.