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
How to add a loop background sound that goes in multiple levels and stops when the character dies.
By I3litz, with 2 replies.
Last reply by I3litz, 10 months ago:
Thank you im gonna try it out.
My lava block is moving over the edge of the platform!
By I3litz, with 4 replies.
Last reply by I3litz, 10 months ago:
Thank you so much your truely the Greenfoot-Master.
I need help making a bullet of some kind.URGENT!
By da3m0nium, with 3 replies.
Last reply by da3m0nium, 10 months ago:
Thanks guys so much!!
how to make actors move in order?
By aabcin, with 2 replies.
Last reply by danpost, 10 months ago:
aabcin wrote...
so i have this 5 lanterns and i want to lit up 3 of them but like in order, like 5-4-2, but when i try to write in code it lit up at the same time
A
for
loop, as
Kyuubi
suggests, will not work here. The loop will complete its processing in one act step and all will light up immediately as a result. It would be difficult to provide decent code without seeing what you have to work with. Please provide your Lantern class code. Then, also, provide any code you have outside that class that controls (whether working or not) the lighting/darkening of the lante
Jar File not running?
By Kyuubi, with 1 reply.
Replied to by Kyuubi, 10 months ago:
Update,: i emailed greenfoot team and it is indeed a known problem and unsolveable
Platform that one shot my character!!!
By I3litz, with 7 replies.
Last reply by Kyuubi, 10 months ago:
Ur welcome dwdw :)
RUNNING JAR ERROR
By untillNess, with 1 reply.
Replied to by Kyuubi, 10 months ago:
same problem, did you find a way to solve it?
Option to export as application not available?
By Kyuubi, with 3 replies.
Last reply by Kyuubi, 10 months ago:
To give more details, It exports just fine but it doesn't run. Nothing appears, nothing happens upon pressing on it
How to die w/o error
By TillaB13, with no replies.
I am creating a 2d platforming game, where if you hit the lava it sends to a death/lose screen. However, when this happens I cannot reset the world nor terminate the program, and I have to use task manager to close greenfoot and restart my computer before I can open it again. I am using and if to see if its touching the lava, then Greenfoot.setWorld(new dead()). In the method where the characters jumps there is a lot of addition and reseting of variables so I am wondering if thats why its crashing, or if there is something else I should do.
Border problems
By sebizab, with 4 replies.
Last reply by sebizab, 10 months ago:
thx a lot
Zombie Survival Game Out Now
By Pupeatpup7, with no replies.
I have finished my zombie survival game. it is in my scenarios on my account. feel free to copy and paste the code for yourself. enjoy!
Globals Variable
By clarkegoalie1, with 1 reply.
Replied to by danpost, 10 months ago:
clarkegoalie1 wrote...
How do I add on to a global variable?
Please show the declaration line of the global variable and indicate the name of the class it is in.
An error with get key
By Garrison, with 2 replies.
Last reply by Garrison, 11 months ago:
Thank you very much!
Class diagram not displayed
By Joburg1, with no replies.
The class diagram is not displayed in full screen mode - what could be the reason for this?
Problem: In an linear array of block objects, how to make each block in the array two hit before being destroyed by a ball object (bad understanding soz)
By ChillDude23, with 1 reply.
Replied to by danpost, 11 months ago:
ChillDude23 wrote...
Problem: In an linear array of block objects, how to make each block in the array two hit before being destroyed by a ball object (bad understanding soz) << Code Omitted >>
Just add an instance
int
variable to the
Block
class to track hits: <Code Omitted>
7
8
9
10
11
12
13
X