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
getLifeCounter undeclared even though I have a actor called LifeCounter
By 200263, with 4 replies.
Last reply by Spock47, over 2 years ago:
Well, if the getLifeCounter method is in the MyWorld class, you need to call it on a MyWorld object, e.g. <Code Omitted>
run Problem
By Omar6489, with 1 reply.
Replied to by Super_Hippo, over 2 years ago:
Show your code.
timer doesnt change value
By Aaron-aid, with 3 replies.
Last reply by Aaron-aid, over 2 years ago:
nah i figured it out, it ran i just forgot to add the bullet to the world
Animation freezes on last image
By SlayGirlSlay, with 6 replies.
Last reply by SlayGirlSlay, over 2 years ago:
No worries!
Need help with a "Greenfoot.MouseClicked" code
By Puffshroom, with 1 reply.
Replied to by Puffshroom, over 2 years ago:
Nevermind, I fixed it by putting the code in the world, not create a seperate actor for it.
Greenfoot Actors not touch each other?
By TimQ1704, with 4 replies.
Last reply by AbdulrazaqAS, over 2 years ago:
some corrections
simulation covid
By beghalia97, with no replies.
l'ai besion un expmle pour simuler les épidemie de covid
using TrueTypeFont for GreenfootImage
By SammyFORreal, with 1 reply.
Replied to by SammyFORreal, over 2 years ago:
Okay I found the solution by myself. By creating a new GreenfootFont, it just stores a java.awt.Font inside, which is private. So by simply doin' Reflections stuff, I'm able to load a font from a .TTF file.
(Can't be .OTF!)
Collision
By Davidson, with 2 replies.
Last reply by Davidson, over 2 years ago:
Thank you
Close the game with a click.
By Maniak, with 1 reply.
Replied to by Jhonathan, over 2 years ago:
You can use isTouching and showText method for it <Code Omitted>
How do I move without rotating my actor?
By Billkingtang, with 7 replies.
Last reply by Billkingtang, over 2 years ago:
The problem looks like it stems from the if (obj instanceof Zombie) continue; If I remove that then I dont run into the problem. Is there any possible solutions? I think the problem is when there are no pedestrians nearby the loop doesn't know what to do? EDIT: I found a solution to the problem. I simply used a conditional to check if the obj was null.
My cooldown timer won't work
By li66m, with 4 replies.
Last reply by li66m, over 2 years ago:
Super_Hippo wrote...
No. Start by commenting out line 17.
nevermind I was able to figure out the problem myself. Thanks for the help though!
Go to a location
By AbdulrazaqAS, with 7 replies.
Last reply by AbdulrazaqAS, over 2 years ago:
Super_Hippo wrote...
I guess the variable velocity is too high, so it travels over the point back and forth. You could try to set it to the location if it’s closer than the velocity. <Code Omitted> Not tested.
Thank you, it worked.
TEM BRASILEIRO AQUI????
By JohnGomes, with no replies.
Criei uma comunidade no facebook para Brasileiros. Lá podemos compartilhas nossos projetos, dúvidas e experiências !! Quem topa? https://www.facebook.com/groups/1317966762049699
download???
By jokaman, with 13 replies.
Last reply by Roshan123, over 2 years ago:
RcCookie wrote...
I think you better want to use the search bar above the request list, that shows up without any keyboard shortcuts.
Yes that would work efficiently, infact u were the only one who taught me to press ctrl+shift+f when I was confused between bottom & upper search bar. So I preferred to give the
short keys
36
37
38
39
40
41
42
X