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
Help with program? (Game won't end)
By beemo27, with 3 replies.
Last reply by davemib123, over 13 years ago:
not a problem beemo27. Welcome to the greenfoot community.
Can we run greenfoot game for Android?
By ahmadsidrap, with 1 reply.
Replied to by davemib123, over 13 years ago:
doing a quick search (using search box in top left corner) you will
see several topics and games
my character falls through the ground
By KierTulp, with 9 replies.
Last reply by danpost, over 13 years ago:
My mind was in fall mode when I wrote that, sorry. Try the following, which allows for negative values as well. An added 'step-back' was added to prevent sinking into a ground surface.
Help with spawning
By avatarcolin, with 19 replies.
Last reply by avatarcolin, over 13 years ago:
If you guys want to see it, i put it up here
http://www.greenfoot.org/scenarios/7001
Increase heap size on mac
By Sergio, with 1 reply.
Replied to by actinium, over 13 years ago:
here's a link i found
The start of the video deals with eclipse but towards the end he explains changing heapsize in general. Hope this is helpful.
Scanner string
By Game/maniac, with 1 reply.
Replied to by Game/maniac, over 13 years ago:
nevermind figured it out I had to do answer.equals("yes")
declaring a variable
By Peach, with 13 replies.
Last reply by Zamoht, over 13 years ago:
Found someone who said that it represents one bit of information, but it uses 1 byte of memory since it's easier for the proccesor to handle or something like that, but he might be wrong.
What is wrong with my programming?
By hades530, with 9 replies.
Last reply by tylers, over 13 years ago:
oh just realised that, thanks :D
Breakout block degrading
By Motifaded, with 6 replies.
Last reply by danpost, over 13 years ago:
danpost wrote...
<Code Omitted>or more simply <Code Omitted>
In the first code block, I had inadvertently used the wrong variable in the second line. It should read: <Code Omitted>
Calculate angle to destination
By swapon, with 2 replies.
Last reply by swapon, over 13 years ago:
Great, that's exactly what I was looking for! Thank you very much.
changing levels
By vagisha, with 1 reply.
Replied to by danpost, over 13 years ago:
Enter the words 'setWorld' and 'mouse' in the search input box at the top of the Greenfoot page (in the header pane under the huge word 'Greenfoot'). Locate and review the discussion(s) dealing with this.
Can you declare multiple classes as one actor?
By Entity1037, with 3 replies.
Last reply by Entity1037, over 13 years ago:
Alright, thanks anyway.
Random Timer
By Johnathon, with 7 replies.
Last reply by Entity1037, over 13 years ago:
Use a timer for a cooldown. Heres what I would do: public void act() { controls(); } public void controls() { Actor collided = getOneObjectAtOffset(40, 0, Wall.class); if(collided == null && Greenfoot.isKeyDown("d")){setLocation(getX() + 3, getY());} if (Greenfoot.isKeyDown("w")){setLocation(getX(),getY() - 3);} if (Greenfoot.isKeyDown("s")){setLocation(getX(),getY() + 3);} if (Greenfoot.isKeyDown("a")){setLocation(getX() - 3, getY());} if (misslecooldown==0){ if
Help With New Game Please!
By epicm512, with 14 replies.
Last reply by epicm512, over 13 years ago:
ok thks
hi im having a problem with the counter
By coolsamay, with 4 replies.
Last reply by vonmeth, over 13 years ago:
In your world class, you need to change this: <Code Omitted> to this: <Code Omitted>
907
908
909
910
911
912
913
X