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 need help with multiple worlds.
By DumpsterFire, with 5 replies.
Last reply by DumpsterFire, about 1 year ago:
I got it working! The casting now works properly! Thanks for the help Danpost! I really appreciate it! :)
I need help with changing sprits
By Lolan, with 4 replies.
Last reply by Lolan, about 1 year ago:
never mind, managed to fix it! but thanks anyways for the help!
Triangle around circle
By ronald, with 8 replies.
Last reply by ronald, about 1 year ago:
thank you danpost and I added a good blue oval sometimes you don't have to look for super complicated calculation formulas then it's quite simple well thank you again
Scenario doesn't work online
By L0122041, with 1 reply.
Replied to by Borislove, about 1 year ago:
lots of music )
Terms of Condition/Privacy Policy
By JTEALL, with 1 reply.
Replied to by nccb, about 1 year ago:
Sorry for the delay, I overlooked this message. In Greenfoot itself, we don't really collect any data (besides Greenfoot version and Operating System version) so we don't have a privacy policy. The website has a field for age but its optional. I think the closest thing we have to a licence is the GPLv2 with classpath exception that the code is released under (it's not really about use but it may satisfy a checkbox). That is here, and installed with Greenfoot:
https://github.com/k-pet-group/BlueJ-Greenfoot/blob/main/L
how to export to android
By farhad2023, with no replies.
hi, i want export my game on android platform
Help with converting a buffered image into a greenfoot image
By AppleBanana, with no replies.
Hi, I was trying to write a program, that converts the sprites from a sprite sheet into an actual animation. The problem I stumbled upon, is that I now need to convert a buffered image into a greenfoot image, but my mental capacity clearly isn't as big enough co comprehend such an action, so help would be much appreciated :) the error itself is in the animationShower() method, but i'll post the whole class, just for clarity the code: <Code Omitted>
I am trying to use the wait(); command but I am not able to work this out
By Lolan, with 3 replies.
Last reply by Lolan, about 1 year ago:
never mind. I managed to do it! Thank you very much for the help! have a great day (:
How to convert game's project in green foot to aplication game Windows
By Mzarifin58, with 1 reply.
Replied to by danpost, about 1 year ago:
Mzarifin58 wrote...
I have a game's project in my greenfoot. Buat i want to convert it to aplication game Windows for game exhibition assignments at my school. How to convert it?
You go by way of the '
Share
' button and choosing the correct tab.
How can i rotate an actor around another ?
By VikenPM, with 4 replies.
Last reply by VikenPM, about 1 year ago:
I already managed to fix it , thx for the support tho :D
Greenfoot 3.8.0 released, with Java 17 support
By nccb, with 1 reply.
Replied to by MrBradley, about 1 year ago:
Long awaited, much appreciated. Thank you.
How would I make a sound play til I stop holding a button
By Bobert, with 1 reply.
Replied to by danpost, about 1 year ago:
Bobert wrote...
I am new to greenfoot, and trying to make a sound sustain while key is pressed. ... make an if statement where: -If a Key is pressed and held for <1 second, loop play a sound. (or play a separate version of the sound, and maybe "if key is not pressed", Stop playing sound (dont know if its possible, maybe with sound.stop ())
Did you try this? What was your attempted codes?
how do i create a button that does one thing when clicked once then another when clicked again
By Owie2712!, with 3 replies.
Last reply by danpost, about 1 year ago:
Spock47 wrote...
Your implementation idea is correct. There are just some minor mixups: << List Omitted >>
Notes about the list: (1) The default value for
boolean
fields is
false
, so it is not required to add "
= false
" to line 11; (2) This may not be necessary if the objects created are equivalent each time. This will become apparent after moving on to (3) below; (3) The state of being "open" can be determined by a simple check, without the use of a boolean field. Note the code below:
Wall collisions messing up horizontal movement?
By TheGrrMan, with 1 reply.
Replied to by danpost, about 1 year ago:
TheGrrMan wrote...
I have collision code that works well. You can't move up or down through blocks. There's also code for walls, but whenever I enable them, moving left and right on tiles is messed up. My game is tile-based, and I don't think the code is really meant for moving on multiple tiles at a time.
Please clarify: * tile based: how is your world created? please provide the
super
constructor call line in your world constructor; if the third value is 1, then please explain what you mean by tile based. * moving multiple tiles at a time: does this mean skipping over some
How do I create a function so when I click on one character with my mouse it effects another
By Owie2712!, with 1 reply.
Replied to by danpost, about 1 year ago:
Owie2712! wrote...
I’m trying to create a side menu that appears on the screen when u click a arrow on the same side but I have tried in the world class and both the arrow and the side menu and both haven’t work what I want to happen is when I click the button (arrow) the side menu appears and the arrow moves along so u can close it again
Cannot fix unseen codes. Please provide what you tried in your world class.
12
13
14
15
16
17
18
X