This site requires JavaScript, please enable it in your browser!
Greenfoot
Username
Password
Remember Me?
Sign Up, Lost Password
Activity
About
Documentation
Download
Discuss
Scenarios
tallyaka
wrote ...
2012/3/4
Odysseus Game Help
tallyaka
2012/3/4
#
How do I make it so that you can only switch worlds once you have killed the cyclops? this is based off of
this game that I'm making
.
DonaldDuck
2012/3/4
#
If I remember correctly, you can have this is your world:
public void act() { if(getObjects(cyclops.class).isEmpty()) { SWITCHWORLDS } }
tallyaka
2012/3/4
#
Ok thanks! I wanted to put it in my actor so i fiddled with it a little, but thanks!
You need to login to post a reply.
X