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
When actor clicked a counter increases by one
By xixEmilyxix, with 36 replies.
Last reply by danpost, almost 5 years ago:
xixEmilyxix wrote...
Theres no actors above the buttons at all, the only other actors in the world are the bees, the hive and the flowers
Try adding the following line into your
BeeWorld
constructor: <Code Omitted>
lag in wheel of fortune class
By Roshan123, with 5 replies.
Last reply by danpost, almost 5 years ago:
Roshan123 wrote...
tell me how do manage to make ur every program reusable?
By keeping all behaviors and states of an object type in their respective classes. Let the world control the game/scenario without getting involved with any actors not specifically created for the world to control. On the other hand, do not have actors try to control the overall running of the game. Interactions between two type actors should be coded only in one of the actor's classes -- preferably, the more "major" one of the two types.
what are the things u hate in my programming skills?
Won't upload to Website.
By nili3000042, with 5 replies.
Last reply by nili3000042, almost 5 years ago:
yep, seems like it
i am trying to make my player fire a laser when spacebar is pressed but i cant add my laser object through my Rocket class
By roonie01, with 3 replies.
Last reply by danpost, almost 5 years ago:
roonie01 wrote...
ok that works but why does the laser make my enemy class stay at top of screen i was trying to have laser delete after touching the enemy
You only gave
Rocket
and
Laser
codes here. Need enemy as well.
need help with getting enemy actor to respawn at original spawn point after touching bottom
By roonie01, with 9 replies.
Last reply by danpost, almost 5 years ago:
roonie01 wrote...
i did your suggestion but now when i hit spacebar top fire the laser it makes my enemy class get stuck at top of screen how can i remove the laser after it hits the enemy class
That sounds like
Rocket
class codes, which was not given.
How to save 2 UserInfo at a time?
By Roshan123, with 2 replies.
Last reply by Roshan123, almost 5 years ago:
Super_Hippo wrote...
Anyway, this might fix it: New code:
Lava/Spikes Issue
By KaiTheLesbian, with 1 reply.
Replied to by roonie01, almost 5 years ago:
do a command something like this
Sound Recorder Not Working
By FavianCD, with no replies.
Anytime I try to use the sound recorder it doesn't pick up any audio, only static. Is there a way to fix this, or put in my own .wav file that i have?
Greenfoot.playSound("FUEL.mp3"); not working
By sashvanth, with 23 replies.
Last reply by sashvanth, almost 5 years ago:
car 3 main actor which consume fuel public class Car3 extends Animal car 2 side actor public class Car2 extends Animal car 3 side actor public class Car1 extends Animal fuel which car 3 need to consume public class Fuel extends Animal
help setting background in my world
By roonie01, with 1 reply.
Replied to by roonie01, almost 5 years ago:
new code is here also need help with adding multiple enemys along the top of my screen
need help with coding my movement using keys
By roonie01, with 2 replies.
Last reply by roonie01, almost 5 years ago:
so i moved my movements to the actor that the movements is called for this is what my code looks like but my actor still don't move and neither the world or actor have a image
Improve crab and worm game
By fdl._.11, with 6 replies.
Last reply by danpost, almost 5 years ago:
fdl._.11 wrote...
here is my code << Code Omitted >>
More simply: <Code Omitted>
Greenfoot book version 2 pdf
By AbdulrazaqAS, with 2 replies.
Last reply by danpost, almost 5 years ago:
Try this one:
bookstore
Shooter game
By Pie8756, with 8 replies.
Last reply by danpost, almost 5 years ago:
In the Mover class above, you have lines commented out that probably should not be. Make sure that you have the following in that class: <Code Omitted>
cutscene
By Dlantz, with 4 replies.
Last reply by Dlantz, almost 5 years ago:
1 thank you, also a joke a yes my favorite gif an mp3
52
53
54
55
56
57
58
X