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
Dissapear on edge error!?!?!?!!? PLZ HELP ME
By Eli.A, with 22 replies.
Last reply by Eli.A, over 12 years ago:
YES!!! Thank you so much!!!
Counting Objects
By Gingervitis, with 9 replies.
Last reply by Gingervitis, over 12 years ago:
Ok. I guess that makes sense.
getObjectsInRange Method not working...
By postamt, with 3 replies.
Last reply by danpost, over 12 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, over 12 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, over 12 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, over 12 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.
Problems with SimpleTimer...
By sqwuckies, with 10 replies.
Last reply by danpost, over 12 years ago:
Of course, I did not catch that when I added the boolean. Good job.
Why isn't it working?
By Korgaz, with 4 replies.
Last reply by Korgaz, over 12 years ago:
Ah I see, thank you! This help in the forum is just great. I really appreciate that.
Changing Colours when Bouncing
By Memises, with 4 replies.
Last reply by Memises, over 12 years ago:
Thanks, I got the code to work with the help from a friend and using the "fillOval" command.
String Issue :(
By Draymothisk, with 6 replies.
Last reply by danpost, over 12 years ago:
Draymothisk wrote...
For that second example you used Davmac, can you explain that a bit more?
Please refer to the Java tutorial pages on
interfaces
.
how to make project into full screen?
By fajrizarmy, with 1 reply.
Replied to by danpost, over 12 years ago:
Key 'full screen' as the search text in the search box above and check out some of the discussions listed.
How to make an Image rotate
By xxhero24xx, with 5 replies.
Last reply by danpost, over 12 years ago:
To change the image, use the 'setImage' method in the Actor class. To detect the keystrokes, use one of the methods in the 'Greenfoot' class. Use appropriate conditions (in an 'if' statement) in the 'act' method, or a method it calls, to determine if image needs changed or not.
If statements aren't working in Greenfoot
By student101, with 10 replies.
Last reply by student101, over 12 years ago:
Nevermind, I managed to solve the problem on my own!
Level changing issues :(
By Draymothisk, with 1 reply.
Replied to by danpost, over 12 years ago:
If you had increase/decrease/set methods, then you can use the 'set' methods for stats (Health, score, and lives) to 'pass' the information to the new world. For example, just to show the idea: <Code Omitted>
881
882
883
884
885
886
887
X