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
I need this for assesment so... yeah. (How do i make it that when i shoot it doesnt go right and the way im facing?)
By NathanDaSweetman, with 2 replies.
Last reply by NathanDaSweetman, about 7 years ago:
ok thanks that worked came in clutch my guy ;)
Getting image name of an object from a different class
By CP7, with 6 replies.
Last reply by CP7, about 7 years ago:
Thank you!
call another class's method
By Fargesia, with 16 replies.
Last reply by Fargesia, about 7 years ago:
OK got it all figured out, your line works just fine! Many thanks for the help!!
obtener ubicación en la que inicia mi personaje
By joelORTEGA, with 2 replies.
Last reply by joelORTEGA, about 7 years ago:
thank you
Random World to be Spawned under a subclass that has 10 worlds in them when pressed a button
By HydraLord257, with 4 replies.
Last reply by HydraLord257, about 7 years ago:
Oh it worked many thanks :) p.s. might still ask plenty of questions tho cus I ain't good at programming :|
Class.Car should bounce off the Class.Wall but doesnt
By Wellvyre, with 5 replies.
Last reply by danpost, about 7 years ago:
Wellvyre wrote...
I dont know if i wrote it right im from germany and my english writing is pretty terrible...should i just like send my whole game or is it understandable
I don't think sending the whole game is necessary.
the green color is part of the worlds background, The world has a circle like field that is blue ( the blue field is part of the background ) and the green part is around the blue part and it is also a part of the My world - World background
Okay -- so your actor is to be restricted to a certain range from the center of the screen and you want your a
Using a variable which is defined in actor in a world
By FarbKlexx, with 1 reply.
Replied to by danpost, about 7 years ago:
FarbKlexx wrote...
I have kind of a counter in an actor and when it hits a ceirtain case, the variable which is defiened in the actor should = 1. When the Variable == 0 the world should delete the actor and create a different one. How can I ask in the World if the variable is == 0?
Instead of asking, just tell the world when it hits zero. In actor: <Code Omitted>In world, add a method: <Code Omitted>
Shooting actor. NEED HELP!
By rtrout, with 6 replies.
Last reply by rtrout, about 7 years ago:
never mind. I got it. Thanks for the code. You're a lifesaver!
Iterating the Name of a Variable
By MRCampbell, with 3 replies.
Last reply by Super_Hippo, about 7 years ago:
The number 9 represents the number of values in the array, not the highest index. Yes, the II was one I too much in there. (And nice copy&paste probably.) :P You can either use: <Code Omitted> or:
Get the class the mouse is clicking on
By Fargesia, with 3 replies.
Last reply by Super_Hippo, about 7 years ago:
You say "if any object of a class is clicked" but you also say "eat the cookie". Both are different things. If you want to eat the cookie which is clicked, then you don't need to check if any cookie is clicked. You need to know which cookie is clicked if any is clicked. So knowing if any is clicked is not giving you any advantage. Look at this:
Spawing an actor if an actor is removed
By loldertroll, with 1 reply.
Replied to by Super_Hippo, about 7 years ago:
This places a Door at the position of the Boss. Make sure to have this line before you remove the object. <Code Omitted>
How to Switch Between Background Smoothly
By NightPhoenix828, with 2 replies.
Last reply by NightPhoenix828, about 7 years ago:
Thanks! Now that I look at your code, I have no idea what I was trying to do. Let's just say it's been a long week. XD
Problems with playsound
By loldertroll, with 2 replies.
Last reply by loldertroll, about 7 years ago:
ty that helped
Looking for help with a project
By CP7, with no replies.
I need help on a game I'm making. If anyone can help, please reply and we can get in contact on discord
mouseclicked left and right
By ronald, with no replies.
after the javadoc greenfoot on mouseclicked, I have to do a boolean with object that' s I did <Code Omitted> I am a little lost can you help me ?
177
178
179
180
181
182
183
X