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
Lose life
By LobsterL, with 9 replies.
Last reply by danpost, over 8 years ago:
Line 18 did not add one into the world -- that is what line 47 does. The problem is that the Frog object which is created on line 18 is not the Frog object that line 47 adds into the world.
Help with Greenfoot.ask and Timer
By Lee9901, with 4 replies.
Last reply by Lee9901, over 8 years ago:
*sigh* Thats what i thought. All right thanks for clarifying danpost. I truly appreciate it. :)
Spawning Cars
By LobsterL, with 8 replies.
Last reply by danpost, over 8 years ago:
LobsterL wrote...
how would I do that??
What do you think an addedToWorld(World) method would look like (see Actor class API documentation for clues)?
How to delete greenfoot discussion account?
By IlikeThePrequels, with 1 reply.
Replied to by danpost, over 8 years ago:
IlikeThePrequels wrote...
I need to be able to remove my posts and my account?
Good luck with that.
help on random object spawn
By knuckels5739, with 2 replies.
Last reply by knuckels5739, over 8 years ago:
thx dude!
Image duplication
By Lavenger, with 1 reply.
Replied to by danpost, over 8 years ago:
Please explain why you have the FrontImage class extending the BackFront class. Give a full description of what objects of each class are and how they are going to be used.
How do I Array multiple sounds to randomly chose a sound and have the actor play the one chosen
By toba4366, with 3 replies.
Last reply by toba4366, over 8 years ago:
thanks
Questions Related to Setting the Background
By RandomLittleWeeb, with 1 reply.
Replied to by danpost, over 8 years ago:
Remove line 17, for one thing. You may want to override the
addedToWorld(World)
method and move line 16 into it.
Problem With actor Spawning
By OfficerRiot, with 2 replies.
Last reply by danpost, over 8 years ago:
It is not super weird, and not even surprising. Remember that any action code is executed many times per second (usually about 60). When pressing and detecting a downed key, even if you just tap it quickly, the code will almost always execute two or more times (it takes a lot of time in terms of computer speed for a key to be pressed and released). Therefore, you need another condition (the first being that the key is down) to regulate the spawning of the actor. A second condition that should work might be that no object of the type being spawned are currently in the world.
Group project fails to initialize when uploaded to Greenfoot website
By BigBenRedux, with 2 replies.
Last reply by BigBenRedux, over 8 years ago:
Thank you.
Greenfoot switch worlds
By pkd, with 6 replies.
Last reply by danpost, over 8 years ago:
pkd wrote...
Do I have to enter "new" to run the program?
You use "
new
" to create an object out of a class. So if
CopyOfCrabWorld
is the name of subclass of
World
and you wish to create a
CopyOfCrabWorld
object (or instance), then, yes -- use "
new CopyOfCrabWorld()
" to create it. The parenthesis at the end are important also (they are for any parameters needed for its creation).
can I use an (id==) for If canSee.asap.class?
By Shabir, with 8 replies.
Last reply by Shabir, over 8 years ago:
The flower which is located at (147,447 ) I can't get there with the player controlled with wasd, but I can with the one controlled with the arrows. I have used the same code for both.
Losing a life once on actor is touching another
By LobsterL, with 9 replies.
Last reply by LobsterL, over 8 years ago:
Thanks Danpost, i have realized that without creating a reset method the actor will continuously lose lives as it touches the cars.
Is there a way I can copy all of my code?
By IlikeThePrequels, with no replies.
I need to put all of my code on a word document.
Slower image switches
By OfficerRiot, with 7 replies.
Last reply by danpost, over 8 years ago:
OfficerRiot wrote...
Is there anywhere where I can find examples of this tried a couple out but got nothing to work.
This
was in one of the discussions that come up with the search:
danpost wrote...
There are multiple examples within these discussion threads. Search 'slow down animation'.
263
264
265
266
267
268
269
X