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
My average height is not working.
By Baenefin, with 7 replies.
Last reply by Baenefin, almost 13 years ago:
Greenhouse, thanks for pointing that out. danpost, that was my next step. I couldn't figure it out. Thank you both.
i need help on my pong game
By zerhot, with 3 replies.
Last reply by zerhot, almost 13 years ago:
PentValleyIsGay please help me brother
How to make object dissapear upon entering a certain location & more
By Arrinao, with 4 replies.
Last reply by Arrinao, almost 13 years ago:
Example please? Keep in mind I'm pretty much a "noob" here and am yet quite bad at understanding what you are saying.
java.util.List
By Kartoffelbrot, with 15 replies.
Last reply by danpost, almost 13 years ago:
After a little testing, I must concede that you are correct. That does it.
How do you make an actor jump?
By yuchoi, with 1 reply.
Replied to by danpost, almost 13 years ago:
The horizontal movement, left and right, are independent of the vertical movement; meaning that jumping only deals with the vertical and has no effect on the horizontal; and the horizontal movement does not need any adjustment because of jumping. The code you provided above (if the counter begins incrementing upon a jump and is reset to zero after the jump) will cause your actor suddenly appear at a higher location for the duration of the count and then suddenly appear back at the lower location after the count. Your count limit of 4 is fairly small for what you have right now. A value
Having issues with my shoot() method
By PrezHawkeye, with 12 replies.
Last reply by danpost, almost 13 years ago:
At line 41: put 'if (getRotation() == 180) getImage().mirrorVertically(); At lines 54, and 63: put 'getImage().mirrorVertically(); At line 100: this needs adjusted as you are always adding the width of Aubie to the x location and never subtracting it; better would be to use 'move' with an argument of half the width of the image of Aubie.
how do i use atWorldEdge?
By payner2013, with 4 replies.
Last reply by payner2013, almost 13 years ago:
OHHH yeah i see now... thank you very much helped alot :)
Barrier repair code URGENT PLEASE HELP ;'( !!!!
By benskii93, with 5 replies.
Last reply by danpost, almost 13 years ago:
I believe there is a similar type error in the Repair method, in that you are creating a new Repair_Indicator that never gets a chance to be activated before you check its value. It (the Repair_Indicator created during that execution of the method) exists only up until the method is exited. You may or may not have a Repair_Indicator declared in the class; however, when giving insufficient information, it is hard to say how to fix it. Please show the code for the entire class and use the 'code' tag below the 'Post a reply' box to insert the code with. Also, explain exactly how you want th
Game sound differentiation
By benskii93, with 2 replies.
Last reply by benskii93, almost 13 years ago:
ok cool, thanks a lot.
Direction of another object
By payner2013, with 5 replies.
Last reply by payner2013, almost 13 years ago:
ahhh ok that works now thank you
Sound Volume
By Foyman, with 1 reply.
Replied to by PrezHawkeye, almost 13 years ago:
music.setVolume( ) 0 = off; 100 = loudest possible setting
PLEASE HELP WITH CODE
By cbufis, with 3 replies.
Last reply by cbufis, almost 13 years ago:
got it
Sharing scenarios as web page?
By peterdcasey, with 7 replies.
Last reply by peterdcasey, almost 13 years ago:
I believe that is the correct situation, thank you so much.
Compiles, but does not work correctly. Need help.
By LugNut29, with 4 replies.
Last reply by LugNut29, almost 13 years ago:
Ahhh...I didn't even see that. I forgot to add the act() method back in. That's exactly want I was trying to do. Thank you again for your help!
I want the world to change when i reach world end
By Kevinobrien, with 1 reply.
Replied to by SPower, almost 13 years ago:
Read the documentation of Greenfoot:
http://www.greenfoot.org/files/javadoc/
It's important you learn this.
773
774
775
776
777
778
779
X