This site requires JavaScript, please enable it in your browser!
Greenfoot back

What is happening right now?

danpost

reply to Adding a point to the score counter.

By danpost - 22 minutes ago
lorcis__ wrote...
Hi, I'm trying to add a score each time the car collects a point but it's not adding to the score counter. I've tried a lot of different commands but it always comes up as different errors. This is the code for removing the muffin The actors that I have right now is car (collects the muffin), Muffin is the score, and I have Counter as an actor too. << Code Omitted >>
It would help for one to know where the score counter is and how it is created. However, if you only have one Counter object in the world, you can get a reference to it with: <Code Omitted>
danpost

reply to HEALTH COUNTER GOES DOWN WHEN MONSTER NOT TOUCH THE GUY

By danpost - about 2 hours ago
ErnieBoi wrote...
WILL NO ONE HELP ME I AM ERNIE?
Not if you keep shouting and saying your name. Change line 28 in the Counter class to: <Code Omitted>
danpost

reply to How to end a game when a specific score is reached?

By danpost - about 2 hours ago
hmhmhn wrote...
ive got a simple two player pong game that I need to display a gameover image on when one player hits 8 points, I want to add code into the world class to do this but I don't know what code to add??
What code are you working with and what have you tried?
vinay365

reply to How do you delete comments on a game?

By vinay365 - about 15 hours ago
Oh ok. Thanks for your help!
Nahquin

reply to Int share between actors

By Nahquin - about 15 hours ago
Thank u very much.