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
Wombat world edge problem! (newbie)
By EatCakeAndDie, with 5 replies.
Last reply by DonaldDuck, over 14 years ago:
danpost wrote...
What is needed is a statement that asks if sound is playing: 'if (!(GreenfootSound.isPlaying("2525.wav"))) { Greenfoot.playSound("2525.wav"); }'
Indeed, this would prevent the sound from playing on top of itself, but it doesn't solve the initial problem, it's just a workaround. The sound is playing multiple times because the if statement (if ( atWorldEdge() )) is resulting to true multiple times. To fix the problem, all you need to do is move off of the worlds edge before the if statement ends so it doesn't run again in the same instance of the edge.
Simple World
By Canning, with 1 reply.
Replied to by davmac, over 14 years ago:
Hi Canning, the easiest thing is probably to reduce the running speed of the scenario by dragging the speed slider to the left.
Greenfoot performance Limits
By Robin, with 2 replies.
Last reply by Robin, over 14 years ago:
Thanks for your reply. I think that I would have to specify the recommend system to play the game
Bug = (
By cars, with 2 replies.
Last reply by cars, over 14 years ago:
okay cool = )
This is Static?
By kiarocks, with 2 replies.
Last reply by mjrb4, over 14 years ago:
I know this is solved, but just to elaborate a bit - whenever you see that error message, it's generally because you're trying to do one of two things: - Call a non-static method (i.e. one that needs to be called on an object, not a class) from a class. This is what's happening above. It only makes sense to set the colour on one particular greenfoot image object, but there you haven't given an individual object, you've given a class. - Trying to call a non-static method directly from one that's static. The same principle applies, you're not currently "in the scope" of an object (being
Create a 3D cube
By Advenging, with 5 replies.
Last reply by poink, over 14 years ago:
Yeah well, time tells in time you know. Just don't be surprised if you get responses here while the relativity of your post might not be of any importance for you anymore (but in one way or another, might be for others).
Greenfoot can not represent alphanumeric text correctly!
By dothebone, with 4 replies.
Last reply by mjrb4, over 14 years ago:
Davin beat me to it - but I get exactly the same result on my machine, so definitely looks like a bug that's since been fixed.
Lag problems on Linux
By ofenerci, with 2 replies.
Last reply by ofenerci, over 14 years ago:
Hi Davin, My computer has a 2Gb ram and a shared intel gm965 video adapter. I don't know this problem is specific to video adapter or not. Thanks, Ozhan
Touching other Objects
By K_O_P, with 9 replies.
Last reply by K_O_P, over 14 years ago:
Busch! you're really a genius! :D Thank you very very much! :D
Rock
By Valera, with 2 replies.
Last reply by Valera, over 14 years ago:
1000x500x1
Solving Arithmetical Problem
By K_O_P, with 2 replies.
Last reply by K_O_P, over 14 years ago:
How to take the square root. And the solution was: Math.sqrt(Number);
Gallery Updated
By nccb, with 1 reply.
Replied to by kiarocks, over 14 years ago:
<Code Omitted>
Please help
By Slinger, with 5 replies.
Last reply by Slinger, over 14 years ago:
Where should i put it?
nvm i figured it out :D thank you!
need help!!!(im new,started day ago)
By BIG-red-BUTTON, with 2 replies.
Last reply by BIG-red-BUTTON, over 14 years ago:
it works,thanks
Modeling and Simulation with Greenfoot
By zent76, with 4 replies.
Last reply by zent76, over 14 years ago:
Hello davmac, That was very clear! Thank you so much! Regards, Zent
1044
1045
1046
1047
1048
1049
1050
X