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
Sound Volume
By Foyman, with 1 reply.
Replied to by PrezHawkeye, about 12 years ago:
music.setVolume( ) 0 = off; 100 = loudest possible setting
PLEASE HELP WITH CODE
By cbufis, with 3 replies.
Last reply by cbufis, about 12 years ago:
got it
Sharing scenarios as web page?
By peterdcasey, with 7 replies.
Last reply by peterdcasey, about 12 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, about 12 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, about 12 years ago:
Read the documentation of Greenfoot:
http://www.greenfoot.org/files/javadoc/
It's important you learn this.
can you draw a background w/ stars in space
By ksksks, with 7 replies.
Last reply by ksksks, about 12 years ago:
ok. Thanks, not able to do that yet. Any way to make little sparkles(turn & shoot aliens?)
How to return the center coordinates of an object
By JasonZhu, with 5 replies.
Last reply by JasonZhu, about 12 years ago:
Ok! I get it now, thanks.
Need some help.
By qpommer0, with 2 replies.
Last reply by qpommer0, about 12 years ago:
Works perfect! Thank you!
Removing Objects within an Actor Class
By tartags11, with 9 replies.
Last reply by tartags11, about 12 years ago:
That Works! Thank You!!
Animal vs Bee
By ddvink, with 4 replies.
Last reply by danpost, about 12 years ago:
You could always typecast debbie to a Bee object when using it: <Code Omitted>
How to write code for objects intersecting at the center point
By JasonZhu, with 2 replies.
Last reply by JasonZhu, about 12 years ago:
How would I write that if I did found out?
Need help
By buckeye4life22, with 11 replies.
Last reply by danpost, about 12 years ago:
Let me know if this is correct. You have three colors (red, green and blue) to be chosen, one to each player. If this is so, then all you need to do is remove the buttons when clicked on. The number of buttons in the world when one is clicked on subtracted from four is the player to get the color of that button. When a button is clicked on and there are two buttons in the world at that time, then the second player gets the color of the button clicked on and the color of the remaining button goes to the third player. As these colors are chosen, they should be set in an array in the world
Problem with Disipation
By JasonZhu, with 3 replies.
Last reply by danpost, about 12 years ago:
It will work here. You just need to add an act method that calls the method: <Code Omitted>
Image change problem
By FlicknFlack, with 6 replies.
Last reply by danpost, about 12 years ago:
No. I trained him to answer the posts for me. He does pretty good; even when I am sleeping.
turnTowards()
By Cyan002, with 2 replies.
Last reply by danpost, about 12 years ago:
In the greeps competition, you are only allowed to 'move' once per act. Your 'for' loop would disqualify you. Your 'turnTowards' method is having the greeps turn toward their own locations (facing themselves, if that is possible). After a quick test, I found that when using the actor's own location, the rotation will be reset back to zero (0).
772
773
774
775
776
777
778
X