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
Greenfoot window won't open
By iminblue, with 2 replies.
Last reply by iminblue, over 7 years ago:
Oh my God it worked ! Thank you so much man u saved me so much time .
how to create and remove an object depending on if a key is being pressed
By TobyRoby, with 9 replies.
Last reply by TobyRoby, over 7 years ago:
oh that worked thank you, i dont think i saw the bit where you said about the else statement. here is the code if anyone in the future wants to know <Code Omitted>
Java turnAtEdge
By Iz.\uo, with 1 reply.
Replied to by danpost, over 7 years ago:
I think what you want is this: <Code Omitted>
Deleting Objects
By cookieKeks, with 2 replies.
Last reply by cookieKeks, over 7 years ago:
Thanks, man
Sonido en los pasos del Personaje
By ademar, with 4 replies.
Last reply by ErnieBoi, over 7 years ago:
Mr Trump, I am
Russian
.
java.lang.NullPointerException
By TheRealAOD, with 1 reply.
Replied to by danpost, over 7 years ago:
I do not see anything wrong with your code. Maybe you already have a Score class (??). Or, maybe there is a hidden character in your code the compiler does not like (try deleting and retyping white space around that line).
Pong
By Josh123, with 22 replies.
Last reply by Josh123, over 7 years ago:
I almost got the scoreboard working and then my laptop died and it got erased and I just want it done now lol
Animating an Attack
By iminblue, with 4 replies.
Last reply by iminblue, over 7 years ago:
danpost wrote...
iminblue wrote...
How can I change the code in order to 'normalize' the movement speed ? I'm talking about the character going faster in diagonal
You could use a smooth mover support class.
I don't know what that is but I somehow solved the problem anyways . Thank you very much
image in other class
By Simson1000, with 6 replies.
Last reply by danpost, over 7 years ago:
Simson1000 wrote...
and with a variable?
Yeah: <Code Omitted>
Greenfoot 3.5.3 release
By hiteckh, with no replies.
Hi All, We are pleased to announce our new release of Greenfoot 3.5.3 which you can download from https://www.greenfoot.org/download. The main fixes in this release are the memory leak that noticed when using large actor/world images (which caused Greenfoot to slow or crash) and other bugs related to indentation and copy/cut line functinoalities. We recommend everyone to upgrade to this version and let us know your comments and feedback which are always helpful and appreciated.This release continues using Java 8 and we have plan in the future to move to Java 11. Thanks!
how do I post a scenario?
By Ipurplish, with 1 reply.
Replied to by danpost, over 7 years ago:
Ipurplish wrote...
I finished a game that I am very proud of. do you know how I could put it on the greenfoot website for people to play?
(1) Open the scenario in greenfoot application; (2) Click on
Share
button (top-right corner of frame); (3) Select
Publish
tab (prompt text should read something like "Publish to greenfoot site"); (4) Adjust setting and fill in information; and finally, (5) Click on the
Share
button.
How do I change the MyWorld Image MidGame?
By Ipurplish, with 3 replies.
Last reply by danpost, over 7 years ago:
Ipurplish wrote...
what is it then?
Please refer to the
World class documentation
.
Unsure how to make certain loop
By Ni3ls, with 1 reply.
Replied to by danpost, over 7 years ago:
Unless I entirely misunderstand what you are wanting to do, I do not see why you would need a loop. On any given act step, the value of the
shotDelay
field will only go down once. If its value is not negative, you will only add one extra block into the world. On any act step a shot is fired, you would just remove all the blocks from the world. None of these actions requires a loop on your part.
setSpeed() for a single Actor
By coreXtream, with 2 replies.
Last reply by danpost, over 7 years ago:
I guess the other possibility is to double the width and height of the world and halve the cell size. Then, without changing the size of the images, you can have the bullet move faster. Actually from 21 x 14, you can go to 43 x 29, place and allow turning only on odd valued x- and y-coordinates so as not to really change anything other than non-bullet objects "half-stepping" it. This would also solve the bullet/edge issue. Restrict the rover and other non-bullet objects to x >= 1, y >= 1, x <= world width -2, and y <= world height - 2.
How do you detect a click in an area on the world
By TobyRoby, with 10 replies.
Last reply by TobyRoby, over 7 years ago:
awesome, thank you very much you beautiful greenfoot user <3
218
219
220
221
222
223
224
X