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
Space game hit detection
By zworrub, with 8 replies.
Last reply by zworrub, over 12 years ago:
Thank you
Transfering information between parent and child actors
By Excelsior, with 12 replies.
Last reply by Excelsior, over 12 years ago:
I'm finally done with the project, here is the link : http://www.greenfoot.org/scenarios/11170 Sorry for bumping an old thread, couldn't figure out a way to PM you. Thanks for the help making this game! :D
Greenfoot Final Project
By Mkheo, with 3 replies.
Last reply by Mkheo, over 12 years ago:
Thank you guys and yes I should have explained. Rectangular selection- to mark a rectangle like in paint and work only on that area. Under RGB average I mean three separate values of pixels of colors R G and B divided by total number of pixels in a selected area.
Health on spaceship
By zworrub, with no replies.
dw
Wall issue
By Gaming_Cherries, with 1 reply.
Replied to by Gaming_Cherries, over 12 years ago:
I fixed the issue
Search returning 0
By JasonZhu, with no replies.
<Code Omitted> I have coded a binary search and I keep getting a result of 0. Can anyone pinpoint my problem? Thank you!
Difference between Desktop&Menue
By Rudolf, with 1 reply.
Replied to by Rudolf, over 12 years ago:
Here my World with the Desktop and the Menu below.
<Image Omitted>
changing loop
By Kabaka, with 1 reply.
Replied to by danpost, over 12 years ago:
Please refer to
The While Loop
and the
The For Loop
pages of the Java tutorials.
Scrolling glitch that I can't seem to figure out.
By Entity1037, with 3 replies.
Last reply by Entity1037, over 12 years ago:
Actually the glitch seems to still be present, however it only happens when the scroll stopper is a good ways onto the screen.
Explosion images
By chavi.malhotra@gmail.com, with 4 replies.
Last reply by danpost, over 12 years ago:
(1) create a GreenfootImage object from the file (2) create an array to hold the individual images (3) iterate across the image create GreenfootImage objects of frame size and draw the file image onto them using negative frame sized offsets and add them to the array (4) add a timer and a frame number field to your actor class to control which image will be displayed when
Help!
By rhyleymaster, with 2 replies.
Last reply by rhyleymaster, over 12 years ago:
Thanks Danpost! That fiixed it.
Regarding Chasing
By iOptical, with 14 replies.
Last reply by danpost, over 12 years ago:
iOptical wrote...
Is there away where I add a timer to each world which makes everything pause and when the timer is at 0 the world starts, kinda like a countdown to start.
Yes, however it would not be an easy task if the world was to stay visible. You could (1) (a) add a int startTimer field to your world class (b) if timer' is not zero, no actor can be allowed to act - enclose all Actor subclass 'act' method code in an 'if' with the condition stated (c) first thing in world act method, if timer is not zero, run timer down and exit the method (2) (a) import my Pa
Sorting a list of Employee names
By JasonZhu, with 2 replies.
Last reply by JasonZhu, over 12 years ago:
Thanks for the sharing of the site. I got it working :).
Galton Board
By ruetzka, with 6 replies.
Last reply by elias.groll, over 12 years ago:
So the easiest principle of a galton board is the decision of the balls next place (right || left). But i dont know wether u have to implement physics or an own random function. So if u dont know that either- ask ur teacher or implement it the way i told u. Just start your programm, post it here and i will help u (i promise). But i wont do ur homework mate :P PS: I saw that ure german(If ur profiles location is right) so we can talk in german if u want. -> Im also able to speak french & spanish if ure not from germany..
help
By dfdfdfdfdfdfdfd, with no replies.
hey:) im from student from ljubljana and we have to program in greenfoot... but teacher didnt told us may things about greenfoot... so if anyone could help i would relly apprichiate it:) for eepmple in that crab scenario we must write a code, that crabs on left half (to 250) to turn left and any crab on right side needs to turn right.... so if you could help me please do.
712
713
714
715
716
717
718
X