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
How to get actor to stay on TOP?
By spyguts97, with 1 reply.
Replied to by spyguts97, over 13 years ago:
never mind i figured it out
What's wrong here?
By darkmist255, with 12 replies.
Last reply by darkmist255, over 13 years ago:
I suppose I'll run through and change them all. I've never had problems with them, but there's no harm in fail-proofing my code. I've been using .equals() since this.
Greenfoot 2.2.1 has a serious problem in class name
By won0c, with 6 replies.
Last reply by freed, over 13 years ago:
won0c wrote...
This problem maybe happens on Korean Windows 7, I think...
watevz man
Scoreboard doesn't work for me
By erdelf, with 5 replies.
Last reply by erdelf, over 13 years ago:
ok thx for that, someone told me in an earlier discussion that this was the same, seems that he meant in the beta
This method seems to decide not to execute past a certain point
By darkmist255, with 2 replies.
Last reply by danpost, over 13 years ago:
That line should not be causing a problem, unless 'working' does not contain a ','. And if that was the case, you would be getting an exception for array index out of bounds. Try adding 'System.out.println("working = \"" + working + "\"");' before that statement and see if following the logic with what is returned helps. Post back the results.
Glad you found it.
Need help with collision in orbworld
By cyberfletch, with 1 reply.
Replied to by SPower, over 13 years ago:
A tip for posting comments with code inside: press the code button under the text field, and enter your code there. In your act method, you can do this: <Code Omitted>And to make your code cleaner, you can just change the getIntersectingOrb() method to this: <Code Omitted>Because you can return null, directly, so the if statement isn't useful, but the result will be the same.
Database Connection
By Yoman, with 5 replies.
Last reply by SPower, over 13 years ago:
It's both java: you can use the same imports. If you've downloaded a library, you must open it in greenfoot: http://www.greenfoot.org/doc/native_loader
How to check whether the game is running on greenfoot.org or locally on my pc?
By stevenGrohe, with 6 replies.
Last reply by DonaldDuck, over 13 years ago:
<Code Omitted> This is untested but probably is a better solution than messing with file readers. EDIT: Additionally, if you navigate to the scenario folder (For me C:\Program Files (x86)\Greenfoot\scenarios\scenarioName) you can open the storage file and change values manually to ensure you have permissions offline. For example, change the first int to 99 and check to see if the getU
game paused
By Andriyanto, with 6 replies.
Last reply by Andriyanto, over 13 years ago:
i want when sholeh find book then show text and game pause, if was read text i press any key game running again.. this is my code for class book : import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Write a description of class book here. * * @author (your name) * @version (a version number or a date) */ public class book extends item { boolean bpickedup = false; boolean bremoved = false; private myWorld mworld; public void addedToWorld(World world) { mworld = (myWorld) world; } public void act() {
Null in Greenfoot
By SPower, with 14 replies.
Last reply by SPower, over 13 years ago:
O, sorry. I thought it was another :)
JFileChooser
By darkmist255, with 1 reply.
Replied to by darkmist255, over 13 years ago:
Once again, I have solved my problem a short time after giving up and posting it on the forums :D. Here is the working code I ended up using.
new level
By heeiny, with 9 replies.
Last reply by EpicAlbino, over 13 years ago:
Thanks a ton. I just Fixed the issue.
Multiplayer & 3D
By bourne, with 6 replies.
Last reply by MatheMagician, over 13 years ago:
Jmonkey really is helpful, and in my opinion is an excellent second step after greenfoot.
How to make a pause option
By Akuhano, with 4 replies.
Last reply by Andriyanto, over 13 years ago:
i have class player and i have class book, i want if player take a book then game paused, if i press any key game run again..can you help me, how i make game pause like that?
Double pressing a key?
By Zamoht, with 5 replies.
Last reply by danpost, over 13 years ago:
953
954
955
956
957
958
959
X