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
how can I miss with this code?
By erdelf, with 8 replies.
Last reply by erdelf, about 11 years ago:
at the beginning, the Missiles Rotation is right, but the movement isnt. the movement is straightly changing in only one axis.
What am I doing wrong with this code?
By Gingervitis, with 4 replies.
Last reply by Gingervitis, about 11 years ago:
Thank you
HELP!
By zxcvbnmuluk, with 1 reply.
Replied to by -nic-, about 11 years ago:
First im not sure as to what your first question is, more details would be helpful, For the eating of the wroms to add lobsters i assume you have got the code to eat the lobster, You would need to create a varible to hold the amount worms eaten by the crab In the Crab class add this <Code Omitted> Then every time the crab eats a worm add the line to the method called: <Code Omitted>Then to test if the crab has eaten three worms add the code:
User-Info
By Poli, with 2 replies.
Last reply by Poli, about 11 years ago:
Thanks
Move Actor to another world
By Qslick, with 13 replies.
Last reply by Qslick, about 11 years ago:
it's portal.class
World Question.
By Gingervitis, with 17 replies.
Last reply by Gingervitis, about 11 years ago:
Thank you! You have been such a great help to me with my game.
Stopping an Object
By Gingervitis, with 1 reply.
Replied to by danpost, about 11 years ago:
If you are starting at the bottom left of the screen, the y value is already maxed out. You probably meant that you do not want it to go past 370 on the x-Axis (not the y-Axis). <Code Omitted>If I was wrong about what you meant, just change the 'X's to 'Y's and move the '+1' from the 'getX()' to the 'getY()'.
Balloon Loop
By Eli.A, with 2 replies.
Last reply by Eli.A, about 11 years ago:
Okay, I copied and pasted your code. It is giving me an error though :( The error is "illegal start of type". I put where the error is located in the code before
Dissapear on edge error!?!?!?!!? PLZ HELP ME
By Eli.A, with 22 replies.
Last reply by Eli.A, about 11 years ago:
YES!!! Thank you so much!!!
Counting Objects
By Gingervitis, with 9 replies.
Last reply by Gingervitis, about 11 years ago:
Ok. I guess that makes sense.
getObjectsInRange Method not working...
By postamt, with 3 replies.
Last reply by danpost, about 11 years ago:
The reason it did not work is because you were asking for a 'Class' in the list, not an 'Object'. 'actors' will contain a list of objects created from the specified class, not the classes themselves.
Sound Plays at Delay
By Qslick, with 2 replies.
Last reply by danpost, about 11 years ago:
It may be that it takes a moment for the sound file to load. You can declare a class field to hold a GreenfootSound object so it is in memory when you need it. <Code Omitted>
setImage() ???
By eluop, with 1 reply.
Replied to by Gingervitis, about 11 years ago:
when you want to set a image, the image file has to be in quotation marks. setImage("java.lang.kasper.png")
Stoping the sound playing
By Solringolt, with 3 replies.
Last reply by Solringolt, about 11 years ago:
Thx a lot! It works now :D
Sound playing through to fast !
By Qslick, with no replies.
Hello, In my game I'm trying to play a walking sound as the actor is walking. I have a sound file of 1 foot step and a sound a files of5 foot steps in sequence. When I implimit the 1 step sound it plays through so fast you don't know what your hearing. On the other hand the 5 foot step sounds build up on each other and lay after he stops walking. How do I slow it down.
870
871
872
873
874
875
876
X