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
Can't access MouseInfo
By erdelf, with 3 replies.
Last reply by erdelf, over 13 years ago:
I had to import five sub-packages of awt, and my old teacher told me this would be better, I will import only what I want
Help
By TheRobloxianRebel, with 1 reply.
Replied to by nccb, over 13 years ago:
I suggest you ask on the
Roblox forums
.
Help pls
By erdelf, with 6 replies.
Last reply by erdelf, over 13 years ago:
ok, that was it. I said that he should wait 8 secs after creation of the boss.
n must be positive?
By erdelf, with 5 replies.
Last reply by erdelf, over 13 years ago:
oh ok, I forget that the difference is in milliseconds
Check for dragging mouse on object without the drag having to be started nor ended on it
By MrDoomsday, with 7 replies.
Last reply by danpost, over 13 years ago:
The only way to see if the mouse dragging cross over another object is to check it programatically. Try the following:
New to Greenfoot and need help!!
By xspg, with 1 reply.
Replied to by xspg, over 13 years ago:
Don't worry, figured it out - I missed the bit where I needed to click compile!!
Code and images for the Joy of Code series
By nachocab, with 2 replies.
Last reply by davmac, over 13 years ago:
Mik's blog
has all the downloads.
collision method challenge
By Marie, with 1 reply.
Replied to by danpost, over 13 years ago:
What you have done, is given a step-by-step on what needs to be done
within
the 'handleOrbCollision' method. Though, I do not believe you want that method to return an Orb; so, delare it with 'public
void
handleOrbCollision()'. Also, your 'setVelocity' method should not be returning a Velocity; it should have a 'void' return type and a Velocity parameter to recieve what to set it to. I did not comb through your code thoroughly, but posted what I saw off-hand.
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
953
954
955
956
957
958
959
X