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
Discussions
You need to login to take part
Current Discussions
Ending game when eaten
By Penguins_and_Orbs, with 23 replies.
Last reply by davmac, about 13 years ago:
If you actually do have a 'canSee' method, you can write: if (! canSee(Penguin.class) && ! canSee(Bee.class)) { The '!' means 'not'.
Looping through a string
By mickyg, with 4 replies.
Last reply by mickyg, about 13 years ago:
Thanks again! It's very much appreciated as I have spent a fair bit of time trying to figure this out.
@nooby123 Some suggestions
By Upupzealot, with 4 replies.
Last reply by nooby123, about 13 years ago:
Wow thanks! That looks actually pretty cool!
Demon time coming soon!
By Game/maniac, with 5 replies.
Last reply by Game/maniac, about 13 years ago:
Its out early!
Need help with working across classes
By iWin4Poland, with 5 replies.
Last reply by danpost, about 13 years ago:
You can find the methods you can use on String objects
here
.
Crab scenario question
By mncomic, with 5 replies.
Last reply by Upupzealot, about 13 years ago:
XD you are welcome
Help with Object Interaction
By PoleBro764, with 8 replies.
Last reply by Upupzealot, about 13 years ago:
XD
need help with String.replace()
By Gevater_Tod4711, with 4 replies.
Last reply by SPower, about 13 years ago:
O, I always click on the old API :(, I'll keep that in mind next time ;)
Help with delay on backgroundmusic
By Tezuka, with 12 replies.
Last reply by danpost, about 13 years ago:
You just need to call this method from the act method without condition <Code Omitted>
is it possible to insert web page?
By won0c, with 9 replies.
Last reply by Upupzealot, about 13 years ago:
Yes, and davmac saw that also, he said the way I'm using maybe unsafe... Now I was worrying about whether I have caused some trouble here
Display on External Monitor ?
By mattdodo, with 3 replies.
Last reply by SPower, about 13 years ago:
Maybe this helps getting the scenario full screen:
http://www.greenfoot.org/topics/find/12042#post_12042
Greenfoot Create Scenario Issue
By AgentGinger149, with 15 replies.
Last reply by davmac, about 13 years ago:
You must supply a name for the scenario before you click create/save in the dialog. The "new scenario" function works perfectly well if you do supply a name.
Help
By Stephon231, with 1 reply.
Replied to by danpost, about 13 years ago:
You cannot execute a non-static method without an object of that type (or, you cannot execute a non-static method with a class name). You need to get a reference of an object of that class and execute the method on that object. I am hoping you only have one Ship object in the world for the following code: <Code Omitted>Again, you must have one, and only one, ship in the world for this code. Otherwise, you need the following check: if (getWorld().getObjects(Ship.class).isEmpty()) Do not use the previous code
Why wont this work?
By hamchi, with 3 replies.
Last reply by hamchi, about 13 years ago:
thanks mate, i figured i would add that because it whas a bit of hassle to press run to execute the program then press another button to start the game. thanks anyways, i just added the start() method in the world's constructor like you sed.
problem with unexpected return
By erdelf, with 32 replies.
Last reply by danpost, about 13 years ago:
Glad you found it!
929
930
931
932
933
934
935
X