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

2014/1/15

Select one image and make another image disappear

JustMe JustMe

2014/1/15

#
I'm new here and i have a question about the actors and mouse click Is it possible that when i click on one actor, my mouse cursor will change to that actor of that i can select that actor. and when i click on another actor, that actor will disappear from the screen and my mouse cursor will change back to a normal mouse cursor image??
danpost danpost

2014/1/16

#
I believe the answer is, in short, yes. Although, if you are as new to Java as it would appear, you should probably tackle something a little easier first. Like, try getting what you want done completed without the changing of the mouse cursor image, first.
JustMe JustMe

2014/1/20

#
Sorry for the late answering but i was really in this game. but now im stuck again at this point. public void chooseEmergencyUnit() { if (Greenfoot.mouseClicked(this)) { } } im wondering how i can make a code, so that when i click on one of the two emergencys in my world, i can basically choose that one and put it somewhere else in my world.
You need to login to post a reply.