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
I cannot figure out why I have an error
By Rich11, with 8 replies.
Last reply by danpost, over 5 years ago:
Rich11 wrote...
I still have the error... What codes should I use in the new subclass?
Same error? Show current
YouLose
class codes (entire page).
Barrier
By Sathya_srikanth, with 3 replies.
Last reply by danpost, over 5 years ago:
REPOSTING: Remove lines 11 and 12 (a method that does nothing is a useless method). Replace lines 19 and 20 with: <Code Omitted>
Making a method available in multiple projects
By SliderG, with 1 reply.
Replied to by danpost, over 5 years ago:
SliderG wrote...
Can one modify the Actor and World classes that come with Greenfoot?
You could create extensions (subclasses to
World
and
Actor
)and then place them where they can be imported into projects when needed. You would then have your
World
and
Actor
classes extend them. Alternatively, but not something I would really suggest doing, is modifying the new class default code files found at: greenfoot/lib/english/greenfoot/templates
need help regarding main menu
By Zurah, with 8 replies.
Last reply by danpost, over 5 years ago:
RcCookie wrote...
Where did he write that quote?
It must have been edited out before I posted.
removing object from array on world by clicking at it
By Zurah, with 33 replies.
Last reply by Zurah, over 5 years ago:
thanks, i figured everything out i needed ^^
Boss wont die
By Sakuya, with 3 replies.
Last reply by danpost, over 5 years ago:
Sakuya wrote...
I see and why does the code think that, and how can I fix it?
Line 77 says it is false. Try moving line 219 up to before line 189.
help boss crashes game
By Sakuya, with 19 replies.
Last reply by Sakuya, over 5 years ago:
Thanks it worked !
i get stuck by my invisible walls lmao
By Sakuya, with 6 replies.
Last reply by Sakuya, over 5 years ago:
Thanks that worked, I still get stuck in the bottem but I guess that isnt that fatal. But anyways you helped a lot I cant thank you enough !
mouseClicked(null) doesn't work at all but mouseMoved(null) does
By M1S0, with 1 reply.
Replied to by danpost, over 5 years ago:
M1S0 wrote...
so what i'm trying to acomplish is to find out where the mouse is clicking, to do that i'm defining the mouse everytime it moves and i'm trying to find in which x,y it clicked, for some reason mouseClicked(null) does not trigger at all, i've tried spam clicking everywhere and i've even used an autoclicker to spam it a 100 cps this is the strip of code << Code Omitted >>
Your code requires that the mouse must be moving when the click occurs. Moving is not a necessary thing for a mouse click. Clicking is the only requirement here:
need help with random numbers and switch statements
By Zurah, with 2 replies.
Last reply by Zurah, over 5 years ago:
thanks, i used a slightly different method of achieving the same goal but i have it working now ^^
Jar File not working
By JustAnotherCoder, with no replies.
So I finished a simple game with Greenfoot and wanted to convert it to a Jar, I clicked the Share button and did that but when I tried to open it with JRE (Java Runtime Environment) Latest Version it said an error occured and nothing happened. Could someone please tell me why the Jar file I exported doesn't work? <Image Omitted>
Placing an actor by using another actor
By Bambus, with 6 replies.
Last reply by Bambus, over 5 years ago:
nevermind.. I just got it. But thanks to you two :D
Enemy movement
By Sakuya, with 2 replies.
Last reply by Sakuya, over 5 years ago:
Thanks!
How can I add invisible Walls?
By Sakuya, with 7 replies.
Last reply by Sakuya, over 5 years ago:
Thanks, it worked. Cant thank you both enough
Passing the score from one world onto the next world
By wslade, with 6 replies.
Last reply by wslade, over 5 years ago:
That worked! Thanks so much for your help!
96
97
98
99
100
101
102
X