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
Populating world with loop
By MarkCerny, with 2 replies.
Last reply by Super_Hippo, over 8 years ago:
<Code Omitted>
asking for help
By chinguyen, with 1 reply.
Replied to by Super_Hippo, over 8 years ago:
I don't have the scenario right now, but usually, the first chapter isn't the final version, so objects are not added automatically to the world yet. What do you mean that you can't close it?
help with score
By mole2003, with 13 replies.
Last reply by danpost, over 8 years ago:
mole2003 wrote...
however, after a while an error message popped up: java.lang.IllegalStateException: Actor not in world. An attempt was made to use the actor's location while it is not in the world. Either it has not yet been inserted, or it has been removed. at greenfoot.Actor.failIfNotInWorld(Actor.java:711) at greenfoot.Actor.isTouching(Actor.java:972)
at bullet.act(bullet.java:27)
at greenfoot.core.Simulation.actActor(Simulation.java:604) at greenfoot.core.Simulation.runOneLoop(Simulation.java:562) at greenfoot.core.Simulation.runContent(Simulation.java:221) at green
In upComing Platforms
By Venbha, with 7 replies.
Last reply by Venbha, over 8 years ago:
danpost wrote...
Venbha wrote...
Shoud I add the code to add platforms in the world?
danpost wrote...
Add them above the top of the world -- either all of them from the
world
constructor (or prepare method) if recycling, or one at a time from the act method if removing.
But I cant understand the code!!
How to use mouse clicks on an object
By DankBoi, with 5 replies.
Last reply by danpost, over 8 years ago:
DankBoi wrote...
Thanks for the help. I implemented the changes you mentioned, but the clicks still don't do anything. How can I check that it's being registered?
Show what codes you now have in the Camp and PlayerSelection classes.
Scenarios
By tfrady, with 1 reply.
Replied to by Super_Hippo, over 8 years ago:
https://www.greenfoot.org/book/material/book-scenarios.zip
Can't program a class parameter?
By DankBoi, with 8 replies.
Last reply by danpost, over 8 years ago:
Super_Hippo wrote...
Try to move line 10 and 11 to the beginning of the checkForArrowKeys method.
For others who might review this discussion thread. I am quite sure the intended lines were 11 and 12.
Keyboard not working with HTML5
By JetLennit, with 9 replies.
Last reply by danpost, over 8 years ago:
Yehuda wrote...
How do you upload using a specific browser? (By changing the computer default browser?)
Yes. That is what I did.
Music and Gifs
By SwarmDark, with 3 replies.
Last reply by danpost, over 8 years ago:
SwarmDark wrote...
Hello, I have looked through your tutorial on gif Images. However, when using the setImage() method im my act() it creates the error of: java.lang.NullPointerException at Dragon.act(Dragon.java:30)
Replace line 1 with line 13 and remove line 7 and lines 12 through 15..
Need Help Level Change
By Jac0bTh0mp50n, with 2 replies.
Last reply by Jac0bTh0mp50n, over 8 years ago:
thanks danposts so much i will try it out and will get my response
Greenfoot 3.1 not compiling
By BardyL, with 3 replies.
Last reply by davmac, over 8 years ago:
I have entered a bug in our bug tracker:
http://bugs.bluej.org/browse/GREENFOOT-629
It should likely be fixed in the next release, however that may be some time away. In the meantime if anyone can reliably reproduce this (and give us clear instructions for doing so) it would be helpful.
Gravity
By Venbha, with 3 replies.
Last reply by Venbha, over 8 years ago:
danpost wrote...
I wrote a small tutorial on
jumping
which includes dealing with gravity.
It Worked!!! Thank you, danpost! <:)
How to see Terminal???
By DankBoi, with 2 replies.
Last reply by Super_Hippo, over 8 years ago:
The file is not where greenfoot is installed (programs x86 for me), it is in your user folder. I can find it when I search my computer for 'greenfoot properties' or similar. The file name is 'greenfoot.properties'.
Hello
By Cett, with 1 reply.
Replied to by Yehuda, over 8 years ago:
What do you want help with? ...Or did you simply "Start a discussion"? The discussion forum is for getting assistance where help is required in your programs/projects.
Having issues trying to get an actor to keep track of points and how to have one actor react to the Boolean of another actor
By Dolbypixar, with 11 replies.
Last reply by Dolbypixar, over 8 years ago:
Oh, okay, I see that now. I added a line in the beginning of my frogboi class so that stopSnake is set back to false. Thank you so much for the help, I would have been completely lost. :)
326
327
328
329
330
331
332
X