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
getImage()
By mrlemon, with 5 replies.
Last reply by mrlemon, over 8 years ago:
That did it!!! Thanks a lot Danpost!!!
Another method please???
By Faheem, with 5 replies.
Last reply by danpost, over 8 years ago:
Try using: <Code Omitted>for the first line.
I am having trouble with my pong game
By Tristater4, with 3 replies.
Last reply by Super_Hippo, over 8 years ago:
Change line 66 in the Ball class from <Code Omitted>to <Code Omitted>
How can I make my counter keep the same value while changing worlds?
By Alola_Sandslash, with 1 reply.
Replied to by danpost, over 8 years ago:
Set the value of the new Counter object in the new World object to the current value of the Counter object in the current World object: If you need to know how to do it, you will need to show codes for both World extensions and the code where the transition between the two is to take place (indicating where that transition code is located).
Code for getting an object on the screen?
By Alola_Sandslash, with 3 replies.
Last reply by danpost, over 8 years ago:
Alola_Sandslash wrote...
It cannot find the getObjects method...
Then, you are probably in an Actor subclass and need to use 'getWorld().getObjects...'.
Phantom Object
By DuckGod, with 21 replies.
Last reply by DuckGod, over 8 years ago:
Well Thx for the help but seems like my suspicions were correct, i moved the level to a diffrent case and just ignored case 10 for it seemed to be completly broken, for some weird reason.
How do I make the transition of images delayed?
By Alola_Sandslash, with 5 replies.
Last reply by Alola_Sandslash, over 8 years ago:
It works much better now except while going right the actor's images flip between facing left and facing right every second or so.
Spawn only if none are in the world?
By alexaa, with 1 reply.
Replied to by Super_Hippo, over 8 years ago:
The following will return 'true' if no Orb is in the world. You can use it as another if condition. <Code Omitted>
Help Me Please :(
By dadansi, with 6 replies.
Last reply by danpost, over 8 years ago:
I will respond here since you asked for me specifically. Unfortunately, I am not at all familiar with the workings of android to help as far as screen sizing or what compiling program might work for you -- sorry.
copyright site:greenfoot
By smcgee, with 1 reply.
Replied to by davmac, over 8 years ago:
I'm afraid that we can't really provide legal advice. There may be provisions such as "fair use" that allow for use of copyright-protected work, though these will vary from country to country; it may or may not be enough that the work is not used for profit and is used in an educational context. I would suggest that the safest course of action is to have your students produce their own artwork or use images from sources that expressly allow re-use. You can use
CC search
for example to find such images.
I got this error when programming, don't know whats wrong plz help
By newmeli20, with 6 replies.
Last reply by newmeli20, over 8 years ago:
Thank you that did the trick.
World.getObject() strange error
By HoperAndDreemurr, with 5 replies.
Last reply by davmac, over 8 years ago:
It would be cool to know what happened exactly
If you were importing java.awt.*, then you were implicitly importing java.awt.Label. That is what caused the error; Label in your code was referring to java.awt.Label, which is not an actor and therefore can't be in the world.
HELP I NEED SOMEBODY!!
By GewoonAxl, with 28 replies.
Last reply by davmac, over 8 years ago:
This forum isn't for random noise, please. Keep it to real discussion of Greenfoot/programming issues.
2 Problems: Images randomly flip sometimes and sometimes my character will die and sometimes it won't
By Alola_Sandslash, with 2 replies.
Last reply by Alola_Sandslash, over 8 years ago:
Can you show me the code to do that?
MiniMap help
By Trystar360, with 3 replies.
Last reply by danpost, over 8 years ago:
Oh, I see. You need to retain the base image (one without any dots) and make copies of that and add the dots to each copy to be set as the current image. So, <Code Omitted>
340
341
342
343
344
345
346
X