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
edukasi
By omaini, with no replies.
tosss...!!!
java.lang.NullPointerException error
By ZoSo, with 5 replies.
Last reply by danpost, about 11 years ago:
ZoSo wrote...
alright, and one more question, would making the Boss class a sub class of the Alien class work too or no?
No -- absolutely not. A boss and an alien each have their own behavior; and, anyways, a boss is not an alien (as least, not as you describe one).
Locations problem
By Vellyxenya, with 5 replies.
Last reply by Vellyxenya, about 11 years ago:
Ah okay, thank you very much :) By the way, i tried your way and it works pretty well ^^
Stopping A Method
By ZoSo, with 4 replies.
Last reply by ZoSo, about 11 years ago:
nevermind, i got it now :)
set background
By drpepper, with 3 replies.
Last reply by Super_Hippo, about 11 years ago:
Show the code you tried. Then we can see what you have done. That is easier than to guess what you did wrong.
How to use getWorld in Actor class.
By Doaky, with 20 replies.
Last reply by Doaky, about 11 years ago:
Thank you so much for your help, I finally got everything to work!
health bar
By hoothoot, with 2 replies.
Last reply by hoothoot, about 11 years ago:
alright thanks danpost
How do i make the "camera view" Follow player?
By 4SeaBass, with 1 reply.
Replied to by danpost, about 11 years ago:
Please do not start multiple discussion threads on the same issue or attempt to have the same issue discussed on multiple threads.
Help! How do I make a object larger?
By 4SeaBass, with 2 replies.
Last reply by danpost, about 11 years ago:
You can use the 'scale' method on any GrenfootImage object to alter its size. You should only change the size of an image once after it is loaded or created to avoid unwanted effects to the image (unless you know what effects will occur and it happens to be what you are wanting). As an example: <Code Omitted>You can change the first line to: <Code Omitted>
Class Documentation..
By kgauna, with 1 reply.
Replied to by danpost, about 11 years ago:
I would guess that you would need to change your internet browser default setting. It may, however (but you would have to test this idea), be possible for you to change the 'default open program' setting for 'html' files specifically.
Greenfoot Growing when eating
By Rovsneglen, with 3 replies.
Last reply by Rovsneglen, about 11 years ago:
All i had to do was to remove the semicolons... :| Ty guys
how do i spawn actors?
By oscarreks, with 3 replies.
Last reply by D-Hightower, about 11 years ago:
you can also just put them where you want then save the world
how do i set a .gif image as a image for a world?
By ZoSo, with 2 replies.
Last reply by ZoSo, about 11 years ago:
nvermind i fixed it
Change image of a class based on the value of a variable from another class?
By cactusButt, with 1 reply.
Replied to by Super_Hippo, about 11 years ago:
Since the variables in your CreateCharacter class are 'public static', you could just use this variable in the arrow classes instead of using their own. So replace all 'hairstyle' in the arrow class with CreateCharacter.hairstyle. A few things: -- you don't need an own arrow class for each arrow -- you don't need to hard-code every possibility in the act method of the CreateCharacter class <Code Omitted>-- you only need to set the image when it is changed
rectangle creation
By hoothoot, with 4 replies.
Last reply by hoothoot, about 11 years ago:
thanks
541
542
543
544
545
546
547
X