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
Intro at the beginning
By Pointifix, with 3 replies.
Last reply by danpost, over 12 years ago:
Instantiate one manually, like you do when you manually add an actor to the world (except you do not have to click in the world to set its location).
Problem
By Greenfoot.Master, with 2 replies.
Last reply by Greenfoot.Master, over 12 years ago:
Works perfectly now, thank you very much
Using one key to toggle between two images?
By sobia, with 1 reply.
Replied to by danpost, over 12 years ago:
You have two options -- and they each work on different changes in state of the "space" key. That is, one executes when the "space" key is initially pressed and the other executes when the "space" key is released. For when released; Change line 6 above to: <Code Omitted> For initially pressed:
how to stop music playing?
By AceticAcid, with 6 replies.
Last reply by danpost, over 12 years ago:
The method to start a GreenfootSound object is 'play' (not 'start').
getMyInfo().setInt(int index, int value) Problem
By Pointifix, with 3 replies.
Last reply by danpost, over 12 years ago:
Pointifix wrote...
...by the way what does getMyInfo() return if the user is not logged in?
That is something you could test and figure out yourself: <Code Omitted>Before running, go to 'Edit>Preferences.." on the menubar and clear the username field (Player name) at the bottom of the Miscellaneous tab.
Getting Sound to Stop playing and to only play once
By SierraBravo, with 6 replies.
Last reply by SierraBravo, over 12 years ago:
That was it. Thanks davmac
Greenfoot, simple moving actor
By blorange2, with 8 replies.
Last reply by blorange2, over 12 years ago:
Also is there a way to check for collisions and set an object to stop a certain distance before hitting another?
.txt versus .java files -- how are they different
By danpost, with 6 replies.
Last reply by danpost, over 12 years ago:
Okay. Thanks again.
Struggling with a my program can some one help me!!
By Green_footlong_subway, with 1 reply.
Replied to by davmac, over 12 years ago:
Please
use code tags
when you post here. You have at least the following problems: <Code Omitted> Variables in Java should start with a lower-case letter, so "Passcode" should be "passcode" or something similar. <Code Omitted> Here you are checking if a reference variable is equal to itself, which will always be true.
Search
By JetLennit, with 3 replies.
Last reply by davmac, over 12 years ago:
Why do you need to search for punctuation?
Is this called raycasting?
By Lethal_Vitamin, with 6 replies.
Last reply by Lethal_Vitamin, over 12 years ago:
This was one of my favorite games when I was little. It does what I want to do.
Endless Zombie Rampage
Sound Bugs?
By Pointifix, with 7 replies.
Last reply by Pointifix, over 12 years ago:
So, now i had to watch some Audacity Tutorials to understand how i can add some dead area at the end, but it seams working now, he does not make any console errors any more, thank you a lot
lordhershey
getHeight() of a text
By Pointifix, with 9 replies.
Last reply by Pointifix, over 12 years ago:
mhmm seams to be the only way, scaling a text picture, k i´ll gonna look how i can implement this into my project, thanks for your help :)
How would I get an actor to spawn at a certain location depending on which door it collided with?
By stateoaks, with 6 replies.
Last reply by danpost, over 12 years ago:
If you have a door at the location where you are placing the Char actor in the new world (in other words, if you have paired doors that lead back and forth between two locations, whether within the same world or not), you may want to download my
Use of 'this' demo
scenario and look at how I handled the pairing.
Bouncing ball
By Abomb1126, with 1 reply.
Replied to by danpost, over 12 years ago:
Line 19 restricts movement to only when the y value is
less than
500.
723
724
725
726
727
728
729
X