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
Can some one plz give me code to make a score counter according to how much seconds the actor is alive
By apcode, with 1 reply.
Replied to by danpost, over 4 years ago:
apcode wrote...
make a score counter according to how much seconds the actor is alive
In class of actor: <Code Omitted>
WHY WONT BY WORLD BUILD
By Damste22, with 1 reply.
Replied to by danpost, over 4 years ago:
Damste22 wrote...
the program's not creating my world
<Code Omitted>and <Code Omitted>The iterators,
i
, remain at zero (no increments given). So, it is stuck in a loop.
World
object never completes initializing. In fact,
Key
objects are created for the first white key multiple times, repeatedly, until memory runs out, whereby you will get a
OutOfMemoryException
.
cant get the zombie boss lives to go down
By Soop__, with 2 replies.
Last reply by Soop__, over 4 years ago:
hi danpost finally got it working thanks for the help :)
Screen change
By tomzz, with 4 replies.
Last reply by danpost, over 4 years ago:
tomzz wrote...
But do you know a way I can add a world on a world? Like a little screen on my current World?
Two ways to do that (at least). One is to create a world whose background mimics the real world, like in a paused state. It is not a world in a world, but it could be made to appear as such. Another way, which does not involve another world altogether, is to just use an actor for the "little screen". Just have all operations suspended while that actor is in the world. For further details, just ask.
Screen
By tomzz, with no replies.
Also, how can I add a screen to my world? So I was doing a chess game. Whenever the pawn reaches the end I wanted a little screen to appear. How do I do that? Please Help.
Greenfoot.mouseclicked doesn't reacts after a click
By stefco05, with 4 replies.
Last reply by stefco05, over 4 years ago:
Thank you! I’ll try it later.
Which keyboard shortcut can complete my code
By Flipper3000, with 1 reply.
Replied to by Super_Hippo, over 4 years ago:
Default key-binding is Ctrl+Space. You can change it in the settings.
when the player is attacked by Zombie they can't shoot.
By Soop__, with 3 replies.
Last reply by Soop__, over 4 years ago:
yes i think i was a bit blind with my code ive just seen it, ill change it to more a appropriate wording , thank you :) ill come back if it still isnt working.
transparent gif
By Aaron-aid, with 6 replies.
Last reply by danpost, over 4 years ago:
Aaron-aid wrote...
that fixed that issue but im still having probs with the gif :c
Scale down your images in the files themselves. Also, remove any excess transparencies around the outer edges (top, left, right and bottom) of the images.
Remove a world
By TurboCoder007, with 1 reply.
Replied to by Spock47, over 4 years ago:
The question is a little bit difficult to understand. So, I will give you answers to some questions and hope that one of them is helpful for you.
1. How to change the current(-ly shown) world (while the scenario is already running)?
Call the method Greenfoot.setWorld with the new world as parameter, e.g. <Code Omitted>
2. How can I set a different world to be the start world (=the current world at the start of the scenario)?
Right click on the World class that you want to be used for the start world (e.
Greenfoot3D by GreenHouse
By Game/maniac, with no replies.
To anyone that was active in 2013-2014… do you have a copy of Greenfoot3D was was created by GreenHouse?
A really simple question
By Avenderl, with 2 replies.
Last reply by Avenderl, over 4 years ago:
Awesome! Thanks for helping :)
Can't run my own scenarios.
By birdy, with 1 reply.
Replied to by Spock47, over 4 years ago:
I am sorry to hear about the circumstances and hope that at least my answer is helpful: There are two ways that I see likely to be successful: 1. Download an old version of Greenfoot (the version with which the scenarios had been created 10 years ago) and run the scenario in this old version. or 2. Adjusting the scenarios to the current version. Details: 1) === Download old version === If you click on the "Download" button above, you get to the Download section. There, on the bottom, there are links to the "version history" and "old versions of Greenfoot". "version history" will
Rotate an object form another angle
By Flipper3000, with 1 reply.
Replied to by danpost, over 4 years ago:
Rotations pivot at the middle of the image. Make the center of rotation the middle of the image of the flipper.
How would I make more objects spawn randomly after my actor collides with another actor?
By Avenderl, with 5 replies.
Last reply by danpost, over 4 years ago:
Avenderl wrote...
If I wanted to spawn more stars when the catcher touches the powerup, would I have to change "world.interval3" into "world.interval"?
Decreasing "world.interval" would cause stars to spawn more quickly.
47
48
49
50
51
52
53
X