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
userinfo
By Roshan123, with 16 replies.
Last reply by danpost, about 6 years ago:
Roshan123 wrote...
will this stop the game lag
No. Well, unless you consider a permanent lagging as the scenario stops running with this code.
Act method causing error in switch statement (getKey())
By 444Jam444, with 76 replies.
Last reply by 555JAM555, about 6 years ago:
Hey danpost - while I didn't do the best in terms of submitting, I just want to say, thanks, you're a lifesaver.
Using blockLists help
By jay4221, with 5 replies.
Last reply by danpost, about 6 years ago:
jay4221 wrote...
it is the first line of my move() method within the actor class.
Show
act
method and
move
method of the class.
Can the admins delete my account
By Venbha, with no replies.
Please do it. Don't ask me why...
UserInfo
By Brandman73, with 1 reply.
Replied to by Brandman73, about 6 years ago:
Never mind, found the problem.
how to use increment operator
By Roshan123, with 19 replies.
Last reply by Roshan123, about 6 years ago:
i m having doubt that i made the error in healthbar.class as i used userinfo and increment operator before some days
userinfo
By Roshan123, with 1 reply.
Replied to by danpost, about 6 years ago:
Roshan123 wrote...
how will i show high score of the user using userinfo
When game ends, if storage is available and final score is greater than user score, set new user score, save to storage and display "NEW HIGH SCORE"; otherwise compare current session high score to final score and do similarly. It would be along these lines:
Text
By Brandman73, with 2 replies.
Last reply by Brandman73, about 6 years ago:
Thanks
is there any way i can make a command to press a button and restart the world?
By lilshopa, with 5 replies.
Last reply by lilshopa, about 6 years ago:
did it! thank you
How can I download the game from this website?
By 46714671, with 1 reply.
Replied to by danpost, about 6 years ago:
46714671 wrote...
There are many good ways to play the game. I want to know how to achieve it. I want to learn from them. thanks
The scenario pages that have a big green button with the text "
Open in Greenfoot
" near the upper-right corner of the scenario window are those with downloadable scenarios. These are also tagged "
with-source
". Click on link at bottom of
Scenarios
page to list only those.
how do i make an object disappear when it gets on the edge of the screen?
By lilshopa, with 4 replies.
Last reply by lilshopa, about 6 years ago:
I did it, thank you so much and sorry for the bothering all the day!
how do i make multiples objects out of 1 actor subclass and how do i make them come from out of the screen?
By lilshopa, with 13 replies.
Last reply by danpost, about 6 years ago:
You need to use an
act
method in your
Mundo1
class to spawn the enemies.
Changed image
By Brandman73, with 8 replies.
Last reply by danpost, about 6 years ago:
Brandman73 wrote...
if you are curious, here is my flipping code: << Code Omitted >>
That will flip the given image with one little problem. In line 9, use "img.getWidth()-1-x".
cant figure out why my it says reached end of file while parsing
By Anonymous123, with 8 replies.
Last reply by Anonymous123, about 6 years ago:
Thanks it works now. However when i opened it again the last public the P was for some reason wrong. ill just fiddle with it for a few hours. Thanks for the help danpost. Have a great day, Cheers, anonymous123
new user
By bani_saputra, with 1 reply.
Replied to by danpost, about 6 years ago:
bani_saputra wrote...
i want to ask about inputing variable?
"inputing variables"? Do you mean inputting values (like user types in a number or some text; or reading data from a file) or adding variables into your code (allowing a state to be changeable -- like speed or color, for example)? So ... ask away.
119
120
121
122
123
124
125
X