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
Crosshairs Shooting
By wafflepudding, with 3 replies.
Last reply by wafflepudding, over 12 years ago:
That absoutely makes sense. And it worked! Thanks both of you!
Adding levels
By bbwf, with 3 replies.
Last reply by danpost, over 12 years ago:
It would certainly not be an actor. You could either remove all actors, reset the world background image for each new level, and add the main actor back into the world at the appropriate edge, or you could create a new world sub-class for each new level and add the main actor into each new world.
Detecting multiple isKeyDown
By jeromesam, with 7 replies.
Last reply by jeromesam, over 12 years ago:
I'm using 4 keys for direction and 1 for shoot. Turns out the 'w','a','s','d','space' keys work well for all combinations I need. My son says these keys are standard with many games such as Minecraft. They work on my laptop. So I've replaced using the arrow keys with these instead. 'w' = up, 'a' = left, 's' = down ,'d' = right ,'space' = shoot
ATM
By DPD4AU, with 1 reply.
Replied to by DPD4AU, over 12 years ago:
Nevermind. Figured it out.
Is it possible to take the source code from your own work?
By MarkooP, with 1 reply.
Replied to by danpost, over 12 years ago:
Since you did not publish the source, you are most probably out of luck. I had sort of the same problem with my earlier scenarios when the motherboard on my old laptop went.
Sound error
By moobe, with 5 replies.
Last reply by danpost, over 12 years ago:
For clarification on this type error, refer to
this discussion
.
Correct this error for me
By avocasso, with 4 replies.
Last reply by danpost, over 12 years ago:
Write a method.
By avocasso, with 4 replies.
Last reply by avocasso, over 12 years ago:
Thanks, Moobe. I have another concern, please help me if you can, about ' CORRECT THIS ERROR FOR ME ' that is a new post. Thanks
Switching "Weapons"
By RedManRocket, with 4 replies.
Last reply by RedManRocket, over 12 years ago:
I will try the tutorials, Thank you.
Another programming work to solve
By avocasso, with no replies.
how do I Write a code that forces the Pig to greet the stationary Pig objects it encounters as it moves around.
Problem with an image
By moobe, with 6 replies.
Last reply by moobe, over 12 years ago:
Yeah, just wanted to do that, but then I noticed that it looks more realistic right now! Anyway, thank you so much for your help!
Hi everybody
By AliDawari, with 2 replies.
Last reply by AliDawari, over 12 years ago:
OH Sorry Guys , Penalty game (shooting) ..
Get the World which is currently active
By Super_Hippo, with 9 replies.
Last reply by danpost, over 12 years ago:
The line 'this();' calls and executes your constructor that begins with 'public Level1()'. The 'getScoreCounter()' and 'getLivesCounter()' are methods you might need to write in your world class to get access to those objects (I did say objects; not classes). Since you have two Counter objects in your world, we must keep references to them, to be able to tell one apart from the other. You will have to do the following when using the first method:
New User
By LearningProgramming, with 2 replies.
Last reply by danpost, over 12 years ago:
You could look at the
Java tutorials (trails)
, also.
Some code
By moobe, with 2 replies.
Last reply by moobe, over 12 years ago:
Ok, fixed it now, thank you very much for your help!
887
888
889
890
891
892
893
X