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 on making "Heatseeker" missile
By Sphere35, with 3 replies.
Last reply by RUMMAKER, almost 13 years ago:
this question is confusing... what do you mean you don't have a "connection" between them?
Finishing up my zombie game
By jubyfollower, with no replies.
I've done a lot to get close to finish my z game, but i want to have endless waves of zombies until my hero dies, but i don't know how to do that or how exactly how to start the code. any help?
HOLY GUACAMOLE MY ISU IS DUE SOON
By Conrox27, with 1 reply.
Replied to by danpost, almost 13 years ago:
You need to create a class for whatever it is that is being shot (bullet, missile, light-beam, torpedo, phaser, whatever). Add the code for what it does into the class. Then have your ships create them when whatever condition you set becomes true. After you attempt to accomplish this, if you have specific problems, post back.
Racing game
By MoizRashid, with 1 reply.
Replied to by Conrox27, almost 13 years ago:
well i have been having the same problem so i cantr help
Moving from the left to right and then back?
By GreenAnthony, with 2 replies.
Last reply by danpost, almost 13 years ago:
I would use a direction field set to 1 for right, and whose alternate value is -1 for left: <Code Omitted>In pseudo-code, this becomes 'if (edge moving toward is close) then changeDirection; move;' or 'if ((moving left and left edge is close) or (moving righ
I need help on a platform game
By gonzo, with 2 replies.
Last reply by danpost, almost 13 years ago:
For the floor to interact with your character easily, it should be of an Actor subclass. The Actor class has multiple collision detection methods that can be utilized to control the position of your character. The is also a multitude number of ways to create the image of the floor that you will set as the image of that actor.
Problem with spawning!
By GreenAnthony, with 2 replies.
Last reply by danpost, almost 13 years ago:
Another problem exists with seeing Green cars. If a Green car is seen, the 'this' actor is removed from the world and the next 'canSee' for the Red car will cause an IllegalStateException error. Move the Green car 'if' block to the end, after checking all the other color cars. NOTE: with the spawn code in the class of the type of object being spawned: (1) no objects of this type will be spawned in none of this type are in the world; and (2) the more of this type that are in the world, the faster they will spawn. All in all, this seems like it would act like a population growth scenar
Add light
By GaspTW, with 1 reply.
Replied to by Zamoht, almost 13 years ago:
Take a look on
this scenario
it may give you the answer you need.
Gamepad
By murphys, with 3 replies.
Last reply by davmac, almost 13 years ago:
Right! (facepalm). Sorry. Can you be more specific about what parts of it you have difficulty with? Have you tried writing some code which just calls a couple of the methods? Is it that you don't understand how to call the methods, or you're not sure what they do exactly?
HELP i get IOException writing debug log error when i try to add a new subclass
By UNDEAD_DC, with 1 reply.
Replied to by UNDEAD_DC, almost 13 years ago:
danbost wrote...
I think I've got an idea what went wrong. Could you please show me some of your code?
Hi already found the problem, had a class that was not showed in the list but the file still exists removed it and now no error anymore.
Accesing a Variable from Another Class
By Lethal_Vitamin, with 1 reply.
Replied to by danpost, almost 13 years ago:
Greenfoot has a World class method that will return a List that you, in turn, can get the size of using a List class method: <Code Omitted>No fields, no bother.
Greenfoot won't open in ubuntu 12.04?
By -nic-, with 9 replies.
Last reply by kasper_341, almost 13 years ago:
thanks all .. it worked
Question about a scrolling platformer...
By askgriff, with 2 replies.
Last reply by askgriff, almost 13 years ago:
Thank you, sir! I will check it out.
Stop the scoreboard.
By Jabadu, with 24 replies.
Last reply by Jabadu, almost 13 years ago:
Ok. I kinda fix the problem, so my counter actually works now. I set the limit value in the Counter class and now it works correct. Thank you for all the help !
Moving platforms
By coldxms, with 12 replies.
Last reply by coldxms, almost 13 years ago:
Anyone?
742
743
744
745
746
747
748
X