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
it says the code is wrong
By vegadyashkumar@gmail.com, with 1 reply.
Replied to by danpost, over 8 years ago:
What says the code is wrong? and what exactly is it saying?
Making a text box with random numbers
By myeongil, with 1 reply.
Replied to by danpost, over 8 years ago:
My
Value Display Tutorial
scenario should help as far as the text box is concerned. The counting of pennies in the target area should be done in a static field (set to zero by world constructor) in the Penny class. Each penny should keep track of their state of being in the target area or not and adjust the counting field when moving in and out of that area (as well as updating its retained state. The retaining of the state is needed to tell when the state actually changes. The number that is randomly chosen to be in the text box will
Help Me!!!!
By Heet_Patel, with 21 replies.
Last reply by Heet_Patel, over 8 years ago:
its okay the game is done tnx
Reading a file
By danteinferno, with 3 replies.
Last reply by danpost, over 8 years ago:
danteinferno wrote...
What do you mean?
You are reading data into a the
line
variable and then replacing it with the (probably
null
) value of an element of
rides
. I would think that you would set the element of
rides
to that which was read and put in the
line
variable. Another issue I just noticed about that part of the code is that you are using a
for
loop inside a
while
loop. As such you are iterating over the entire
rides
array with each line of data read in, which certainly cannot be right. Initialize an int counter before
Trouble Keeping Score
By studentProgrammer, with 8 replies.
Last reply by studentProgrammer, over 8 years ago:
I found a thing that did it!
2 player life system
By Cmo, with 2 replies.
Last reply by Cmo, over 8 years ago:
its ok, i figured it out, but thank you for trying to help
Need Help With Walls
By jerl101, with no replies.
In our game the side walls work and the bottom walls work, but the top walls you are able to go through
Saving the current world as another new world
By ZMakschZ, with 7 replies.
Last reply by danpost, over 8 years ago:
ZMakschZ wrote...
And how do I do that?
That is asking a bit much -- don't you think? Try something first. Then, if you run into problems, you can show what you tried and ask for help in fixing you code. I doubt you would be able to get anyone to write the code for you (especially since one would need to know everything about your scenario and what would be important to save).
Need help with timer
By Cmo, with 5 replies.
Last reply by Cmo, over 8 years ago:
Thank you! danpost senpai
How do i get a random number between 100 and 200?
By Recorsi, with 1 reply.
Replied to by danpost, over 8 years ago:
Recorsi wrote...
<Code Omitted>gives me a random number from 0-200, but how do i get a number from 100-200?
<Code Omitted>
Help?
By 765ams29, with 5 replies.
Last reply by danpost, over 8 years ago:
This
tells you exactly what you need to do (and is probably the simplest).
Can Someone teach me how to make a Scenario in Greenfoot.
By WeNeedHelp22, with 2 replies.
Last reply by WeNeedHelp22, over 8 years ago:
Thank you so much for the help danpost you won't regret this
Transparent error
By EvaG2004, with 1 reply.
Replied to by danpost, over 8 years ago:
Remove both '
java.awt.
' from line 35.
How to slow down the switching of an image
By OfficerRiot, with 4 replies.
Last reply by danpost, over 8 years ago:
OfficerRiot wrote...
Where is this other discussion? i really need help with this problem
Here
.
Bgm is not working, send help post haste,
By Casdnova, with 5 replies.
Last reply by danpost, over 8 years ago:
Casdnova wrote...
At the code "BsRFTQKY0LPM.128.mp3" is keeps say "this is not a statment
Post your revised class code -- and please use
code tags
.
264
265
266
267
268
269
270
X