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
jar File does not working
By PaulusMolestus, with 20 replies.
Last reply by danpost, about 9 years ago:
@Super_Hippo, I was going to upload a copy of that scenario and test with it. I forgot to change the title when uploading, so it just updated the old one (with no changes). However, It appears UserInfo is working okay now. Thanks for the assist.
How can make my actor move right to left?
By lolitsme, with 6 replies.
Last reply by danpost, about 9 years ago:
There is also this: <Code Omitted>
nullPointerException
By Nosson1459, with 1 reply.
Replied to by Nosson1459, about 9 years ago:
fixed it its fine
cannot find symbol
By divinity, with 2 replies.
Last reply by divinity, about 9 years ago:
thanks a lots super_hippo, thanz soooo very much
Mouse
By FutureCoder, with 4 replies.
Last reply by FutureCoder, about 9 years ago:
thanks, this helps alot
Codes for the Menu Bar and Level to Level
By lolitsme, with 3 replies.
Last reply by Super_Hippo, about 9 years ago:
It could look like this: <Code Omitted>
why does an error come up saying fail if not in world for the simple code
By Maanas23, with 2 replies.
Last reply by davmac, about 9 years ago:
What does the error really say? Read
all
of the message.
Hello... I need statement regarding pop-up window.
By riyazahamed887, with 1 reply.
Replied to by danpost, about 9 years ago:
riyazahamed887 wrote...
In my game, when the car hits a barrier or any obstacle, it has to show game-over/wins... I need help regarding this issue. I have tried various set of statements, but none of them worked.. And I need this statement to be placed inside the Intersect statement loop..
The basics should be something like this:
make act method throw exceptions
By bleeblob43, with 2 replies.
Last reply by bleeblob43, about 9 years ago:
never mind. I got it working with a try catch statement. Sorry about not posting the code
False in super
By gmacias, with 6 replies.
Last reply by danpost, about 9 years ago:
gmacias wrote...
so if i typed 'true' would it be the same thing as leaving out the parameter altogether?
Exactly right. Actors will be limited to (0, 0)-(getWorld().getWidth()-1, getWorld().getHeight()-1). The only space that might seem to exist is where half the image of an actor is "hidden" beyond the edge
Click and Shooter Game
By dlamc, with 1 reply.
Replied to by danpost, about 9 years ago:
If you do not want the bullets to change directions when an arrow key is pressed, then you should remove lines 3 through 18 in your bullet code above. It
might
work if those lines were in the constructor of the class; however, it would probably be best to set the rotation of the bullet when it is created. Unfortunately, you did not give enough Tank class code to allow anyone to help you fix it there.
Score problems
By cesararp10, with 2 replies.
Last reply by cesararp10, about 9 years ago:
thank you so much ... worked great!!
Spawning an object to a particular side of another object?
By cmdshepard, with 6 replies.
Last reply by cmdshepard, about 9 years ago:
alright, cheers again chaps
Greenfoot is reading setImage() but is not setting the image?
By SloanTheSloth, with 1 reply.
Replied to by danpost, about 9 years ago:
It looks like your instruction pointer is at the 'setImage' line (where it has not executed yet). However, there is a very easy way to accomplish what you are trying: <Code Omitted>
Sound starts playing despite using !isPlaying
By Saberdeer, with 2 replies.
Last reply by Saberdeer, about 9 years ago:
Aaaand I feel dumb. Yeah, that fixed it. Thank you!
427
428
429
430
431
432
433
X