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
Setting an image by top left coord
By Chapaladeen, with 7 replies.
Last reply by Chapaladeen, almost 11 years ago:
Awesome! That works! Thanks very much.
Problem with mouseClicked
By RendraDT, with 1 reply.
Replied to by RendraDT, almost 11 years ago:
Help Please
Hello World Java Application
By joeenglish, with 1 reply.
Replied to by danpost, almost 11 years ago:
Greenfoot supplies a 'main' method to your project and you cannot have two in the same application. Change line 2 to this: <Code Omitted>and create a subclass of World that creates a HelloWorldApp object: <Code Omitted>
String problem
By Newbie, with 2 replies.
Last reply by Newbie, almost 11 years ago:
Thank you for the tip, I'll try it out!
Next Level
By RobotDJS, with 2 replies.
Last reply by RobotDJS, almost 11 years ago:
Thanks! It worked!
If statements causing compiler to crash
By Chapaladeen, with 2 replies.
Last reply by Chapaladeen, almost 11 years ago:
It's not an error message, it compiles but when it tries to run that line of code it just freezes and crashes with no error message. I managed to fix it by moving it into a subroutine. I really don't know why that would fix it but it worked.
need quick help guys
By tobi, with 1 reply.
Replied to by danpost, almost 11 years ago:
The last one that was posted as being released is version 3.0.0; however, the 'Download' page indicates that there have some small revisions to that version and the latest one is currently 3.0.2.
List
By Loled85, with 2 replies.
Last reply by Loled85, almost 11 years ago:
Oh right, I totally forgot about that last part with the condition. Thank you!
moving a character between 2-points
By davemib123, with 2 replies.
Last reply by davemib123, almost 11 years ago:
thanks that works :)
Please help: Score increases by 2 (unintentionally)
By halien69, with 3 replies.
Last reply by danpost, almost 11 years ago:
I do not see how what you did "solved it". The two lines: <Code Omitted>is equivalent to <Code Omitted>It is like saying create a World object and instantly check to see if the mouse has clicked on it. The World object just created is not active and cannot yet be clicked on. It is the current World object that you want to check for a click on. You can refer to the currently active World object by using the 'this' keyword in the MyWorld class:
remove instructions
By Ben3, with 6 replies.
Last reply by danpost, almost 11 years ago:
NVM. (I was looking at the wrong code) To clarify, the correction was for line 10 above (in the Instruction class).
can somebody tell me what is wrong here
By divinity, with 13 replies.
Last reply by danpost, almost 11 years ago:
I guess you did not notice my lines 17 and 19. You need to decrement 'i' upon any wrong keystroke so that the code can be rerun for the same question. You also still need the 'setup' field to track the number of times the set-up code (for each question) has been executed and avoid a NEW question from being asked on an incorrect answer
Motion problems with actor
By kimberlmao, with 2 replies.
Last reply by kimberlmao, almost 11 years ago:
Thank you! :)
SEND HELP: ACTOR IN MOTION PROBLEM
By fayechu, with 4 replies.
Last reply by fayechu, almost 11 years ago:
:)
canSee() / isTouching() doesn't work
By Ramin, with 8 replies.
Last reply by danpost, almost 11 years ago:
Ramin wrote...
Why not?
Because you create one Counter object in line 3 and assign it to 'counter'; but, then you create another (different) one at line 25 and add that one into the world.
How can i make it the same?
Just add the one already assigned to 'counter' into the world at line 25: <Code Omitted>
511
512
513
514
515
516
517
X