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 do you stop sounds
By Ploppy, with 1 reply.
Replied to by danpost, almost 13 years ago:
If you use the GreenfootSound method to start the music, you can stop it with the corresponding GreenfootSound method (provided you keep a reference to the GreenfootSound object). However, if you use the Greenfoot 'playSound' method to start background music, only resetting the scenario will stop it (unless you have it starting in the initial world constructor, in which case it will only re-start the music).
Sounds
By Ploppy, with 3 replies.
Last reply by danpost, almost 13 years ago:
The file needs to be re-formatted as that type of file (mp3). Just changing the extension of the name will cause the program that loads the file to expect a certain format for which is was not written in. Change the filename back to what it was. Open it with a music player/editor and save it in the format you wish it to be in (be sure to remove any tags that may be in the file when saving it).
Deleting object from world after mouse drag error.
By Timververs, with 3 replies.
Last reply by Timververs, almost 13 years ago:
Ofcourse... Thanks vonmeth. Stupid to think i could remove the object i was working in first >.> Great help :)
How to adding level ? how to use more than one world classes?
By fajrizarmy, with 4 replies.
Last reply by fajrizarmy, almost 13 years ago:
great... thank you very much danpost :)
How to detect a color underneath a transparent image.
By Minion1, with 7 replies.
Last reply by kiarocks, almost 13 years ago:
Just a small note, you can upload pictures somewhere and then attach them with (without spaces).
Help!
By JellyBlobsofDoom, with 5 replies.
Last reply by JellyBlobsofDoom, almost 13 years ago:
Thanks for the help though! :)
Body hits wall and bounces back?
By kaciedy, with 3 replies.
Last reply by kaciedy, almost 13 years ago:
Alright, thank you both! I have it fixed.
FOR LOOP EMERGENCY
By ImASuckerAtThis, with 5 replies.
Last reply by Duta, almost 13 years ago:
Oh, fair enough.
How to only detect a single key?
By Conmore, with 3 replies.
Last reply by davmac, almost 13 years ago:
Also, line 13 is wrong: if(inUse = false) Should be: if(inUse == false) Use '==' for comparison, not '='. As you have it now, it always sets inUse to false.
Download problems
By CPG, with 1 reply.
Replied to by davmac, almost 13 years ago:
Please read the download page, which links to
this discussion
.
I need help with for loops
By ImASuckerAtThis, with no replies.
ok hey guys, im just a student in computer science class in tenth grade, and one of our projects is to make blocks in the world by using for loops... which i have no idea how to do i mean i know how to do it ITS THE WHOLE: for ( int i = #; i< #; i++) { addObject ( new iceBlock(), 25*i, 580); thingy the image of the block is technically 25x25... but if i put it in a world (80,60,10), how would that work? how do i make a game with 28 boxes by 28 boxes on both the length and width of the world. I want it to fit properly, as in no half blocks at the edges of the world, please help mw with the four loops: give me an example question and please solve it so i can see how its done.. make it really simple......... please reply ASAP..project due in 3 days :0 }
Making an actor not world delay?
By bbwf, with 1 reply.
Replied to by danpost, almost 13 years ago:
To delay an actor, you will need a counter to count down the time that the actor is to be delayed. While the counter is not zero, the delay is in effect; if the counter is zero, the actor can act as normal. Just set the value of the timer to the appropriate value to create the delay required (usually about sixty times the number of seconds delay time). Start your 'act' method for the actor as follows:
Where is my mistake?
By Enes, with 3 replies.
Last reply by Dytanoth, almost 13 years ago:
public
boolean
fliegeKlatschen() The boolean tells the system to return a
boolean
, but you don't have a return statement in your code. If you use: public
void
fliegeKlatschen(), the system will know there won't be a return statement.
Greep !!
By H&M, with no replies.
hello I would like to know how can I prevent the Greep from stucking in water when they have a tomato. it is working, the greeps move toward the tomatoes but when they get it they get stuck in the water !! do please reply soon please !! THANK FOR YOUR WHOLE ATTENTION..
How to stop the game
By Bestgirl, with 2 replies.
Last reply by bbwf, almost 13 years ago:
What gevater said. When the chicken equals a null and gets removed put Greenfoot.stop();
893
894
895
896
897
898
899
X