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
Need help with concept
By iWin4Poland, with 3 replies.
Last reply by danpost, over 11 years ago:
You probably have some tags within the sound file that the streamreader does not like. Try saving the sound file without any tag information.
need help for calling a method
By darkmist002, with 26 replies.
Last reply by darkmist002, over 11 years ago:
thanks, added an if else statement to the act method of the attack objects with that, and it works now.
Pausing
By DoctorProfessorYoshi, with 13 replies.
Last reply by DoctorProfessorYoshi, over 11 years ago:
Well i didn't realise you could remove it without the code going funny. The DoctorPrrofessor is out!
Space ship
By RahulUK, with 3 replies.
Last reply by danpost, over 11 years ago:
Use 'setLocation' instead of 'move' and only allow the 'left' and 'right' keys to work for movement.
Noob problem.
By Infucoder, with 7 replies.
Last reply by Kartoffelbrot, over 11 years ago:
Ok
Shooting
By eddietheboss27, with 2 replies.
Last reply by eddietheboss27, over 11 years ago:
Hahahahahahahahahaha very funny umar
Shooting
By RahulUK, with 5 replies.
Last reply by RahulUK, over 11 years ago:
ok Thanks i will try it out Zamoht
Hey guys me again anyone know how i can make objects that deteriate when clicked and then after a while completely break
By rhyslacy123, with 2 replies.
Last reply by rhyslacy123, over 11 years ago:
thanks man helped alot
I need help with strings
By Alby, with 6 replies.
Last reply by danpost, over 11 years ago:
If you insist on having the string drawn on the background image, then your options are limited to what your background image is. If it is a flat color, then you can redraw the string after setting the drawing color to that of the background image before drawing the new string; if not, then you will need to redraw the background image before drawing the new string. Better, however, is to use the image of an actor to draw the string on. A basic Text actor class or a basic Counter actor class can be used for this purpose. The difference between the two is where the int score field is locat
scrolling
By grace_lowton, with 15 replies.
Last reply by FlyingRabidUnicornPig, over 11 years ago:
what do you mean?
ending a game?
By grace_lowton, with 4 replies.
Last reply by grace_lowton, over 11 years ago:
thankyou^_^
i keep getting this error every time i try to place my MainPlayer on the map IOException writing debug log
By qsapp.3, with 6 replies.
Last reply by davmac, over 11 years ago:
What does it say, can you post the full text?
I keep getting an error cant find count++ how do i make my mainPlayer keep score of the coins it earns?
By qsapp.3, with 4 replies.
Last reply by danpost, over 11 years ago:
@Zamoht, I got in first by milliseconds. I got a notification of your posting on this discussion thread upon completion of the refresh that occurred showing my post was posted. This means that the order of events was (1) my post was posted (2) your post was posted (3) my page was refreshed (with notification of your post on this thread) Notifications, by the way, are one of the last things that are loaded on the page.
Help: Orbs colliding with themselves
By redbikesam1002, with 1 reply.
Replied to by FlyingRabidUnicornPig, over 11 years ago:
This happens because the orbs go "inside" each other, and your method constantly tells both orbs to turn around, but they're still inside each other, causing the method to be called again, and again. You could solve this by making them move away until they aren't touching (using a while loop) or you can try using getOneObjectAtOffset(int dx, int dy, Class cls), a method that finds an object to the sides, above, or below the actor. To see the documentation, go
here
.
I am trying to make a label but i keep getting the error requires return type after public before Label2. this worked on my first label why not now??
By qsapp.3, with 1 reply.
Replied to by FlyingRabidUnicornPig, over 11 years ago:
You called the class "label2" with a lowercase L and made the constructor "Label2" with a capital L. Java is case-sensitive.
805
806
807
808
809
810
811
X