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 some help
By Juniper, with 22 replies.
Last reply by Juniper, almost 6 years ago:
Thank you. I have managed to get it to work absolutely perfectly. Much appreciated!
how do i remove an object at the worlds edge
By ninjapuffin, with 4 replies.
Last reply by ninjapuffin, almost 6 years ago:
thanks danpost
Why dont they move correctly?
By Thamonger, with 2 replies.
Last reply by danpost, almost 6 years ago:
Thamonger wrote...
btw the alienMove-method is in Alien1.class
You can check out my
Space Invaders Movement Demo
scenario.
stopping sound in world
By Roshan123, with 2 replies.
Last reply by Roshan123, almost 6 years ago:
thanks now i am able to play the music in my gane
Terminal error :/
By Weeb2.exe, with 6 replies.
Last reply by Weeb3.exe, almost 6 years ago:
it worked thank you again :)
.jar export error
By SebiRaul, with 5 replies.
Last reply by SebiRaul, almost 6 years ago:
It's a 1600 x 890 gif of about 35 MB, but there are a lot more actors and images, so maybe that's why it doesn't have enough memory for that gif.
How do i create a pick able ammo and add it in the ammo counter
By MichaelKurniawan, with 1 reply.
Replied to by MichaelKurniawan, almost 6 years ago:
please ignore line 11 i forgot to delete it
how do i use gifs?
By Weeb2.exe, with 5 replies.
Last reply by Weeb2.exe, almost 6 years ago:
it worked thank you
how to make a health bar?
By Weeb2.exe, with 4 replies.
Last reply by Weeb2.exe, almost 6 years ago:
ok thanks
game lag
By Roshan123, with 4 replies.
Last reply by danpost, almost 6 years ago:
Roshan123 wrote...
but i have a question when i wrote this my game a lagging a lot. how << Code Omitted >> and when i cleared 25,26.27.28.and line number 29 ,it was not lagging << Code Omitted >>
It takes noticeable CPU time to access the
UserInfo
server. By trying to access it unconditionally every act step it becomes quite noticeable. By putting those lines inside the next if block (where game over is detected), you access it only when you need to.
Act out loop over multiple act 'frames'?
By whattheheck, with 1 reply.
Replied to by danpost, almost 6 years ago:
You can use: <Code Omitted>after invoking
updateList
.
userinfo
By Roshan123, with 13 replies.
Last reply by danpost, almost 6 years ago:
Roshan123 wrote...
which one will show the the high score in get data
Neither is yet programmed to show any score. Currently, you only have code to save one; and even that is flawed as
newScore
appears to be undefined at the moment. Also, I do not think an
act
method is the right place for saving a high score. It should have a method that is invoked only at game over which will check and save a high score only if that score is indeed a new high score. Maybe an
addedToWorld
method can be added to later create and set the actor's image.
how would i create an openable door
By Weeb.exe, with 85 replies.
Last reply by Weeb2.exe, almost 6 years ago:
Oh My God! IT WORKED YESSSSSS THANK YOU SO MUCH you are awesome dan thank you so much for helping
Greenfoot Scenario in Netbeans
By aksi12uhr, with no replies.
Has anyone managed to run Greenfoot Scenarios in Netbeans? This used to work by calling the main-Method of
greenfoot.export.GreenfootScenarioMain
method and passing scenario name, name of world class and path to greenfoot-labels as parameters. One way was to configure your IDE as documented on https://www.greenfoot.org/doc/running_on_netbeans. I preferred using a simple starter class to pass the parameters <Code Omitted>Both ways worked fine until GF 3.5 Since version 3.6 Greenfoot 3.6 uses JavaFX and the class
greenfoot.export.GreenfootScenarioApplication
does not have a main-method any more. Does anyone know a working solution for GF versions 3.6?
how to download older scenario
By Roshan123, with 2 replies.
Last reply by Roshan123, almost 6 years ago:
thanks for reply
123
124
125
126
127
128
129
X