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
scrolling
By grace_lowton, with 15 replies.
Last reply by FlyingRabidUnicornPig, about 13 years ago:
what do you mean?
ending a game?
By grace_lowton, with 4 replies.
Last reply by grace_lowton, about 13 years ago:
thankyou^_^
i keep getting this error every time i try to place my MainPlayer on the map IOException writing debug log
By qsapp.3, with 6 replies.
Last reply by davmac, about 13 years ago:
What does it say, can you post the full text?
I keep getting an error cant find count++ how do i make my mainPlayer keep score of the coins it earns?
By qsapp.3, with 4 replies.
Last reply by danpost, about 13 years ago:
@Zamoht, I got in first by milliseconds. I got a notification of your posting on this discussion thread upon completion of the refresh that occurred showing my post was posted. This means that the order of events was (1) my post was posted (2) your post was posted (3) my page was refreshed (with notification of your post on this thread) Notifications, by the way, are one of the last things that are loaded on the page.
Help: Orbs colliding with themselves
By redbikesam1002, with 1 reply.
Replied to by FlyingRabidUnicornPig, about 13 years ago:
This happens because the orbs go "inside" each other, and your method constantly tells both orbs to turn around, but they're still inside each other, causing the method to be called again, and again. You could solve this by making them move away until they aren't touching (using a while loop) or you can try using getOneObjectAtOffset(int dx, int dy, Class cls), a method that finds an object to the sides, above, or below the actor. To see the documentation, go
here
.
I am trying to make a label but i keep getting the error requires return type after public before Label2. this worked on my first label why not now??
By qsapp.3, with 1 reply.
Replied to by FlyingRabidUnicornPig, about 13 years ago:
You called the class "label2" with a lowercase L and made the constructor "Label2" with a capital L. Java is case-sensitive.
Gameover sound - strange ending
By davemib123, with no replies.
Hi, i've placed a sound in for the gameover and after it ends it gives me a strange noise after the sound has completed. Any ideas? My scenario is located here:
http://www.greenfoot.org/scenarios/8881
When I play the sound in Media Player, it is fine no problems. Edit: Seems to be just the sound file. I've replaced it and it works fine now.
How delete my senarios?
By tomer.hass, with 1 reply.
Replied to by Gevater_Tod4711, about 13 years ago:
Underneath the tags of your scenario you can edit or delete the scenario.
remove all objects of one class
By kevkev, with 13 replies.
Last reply by kevkev, about 13 years ago:
so now it works^^ thanks for help!
I am trying to make it so the main player hits the finish line and it changes to level 2 it says it cannot find symbol numberOfObjects();
By qsapp.3, with 2 replies.
Last reply by danpost, about 13 years ago:
You are probably trying to use 'numberOfObjects' in a class that extends Actor. Since that method is part of the World class API, you need to apply the method to a world object. The Actor class method 'getWorld' will return the world that the actor is in. So, <Code Omitted>will work in your actor class.
Classes and inheritance
By Zamoht, with 3 replies.
Last reply by Zamoht, about 13 years ago:
I don't think Java is on the list of multi-inheritance languages, only JavaFX Script. Well I guess I will go with my own solution (and the one Gevater_Tod4711 said would work), making PathFinder a subclass of SmoothMover and then have some extra useless methods and variables in my Spawner from the SmoothMover.
asdf
By qsapp.3, with 2 replies.
Last reply by steved, about 13 years ago:
I think he is just spamming.
(no title)
By fredold44, with 6 replies.
Last reply by fredold44, about 13 years ago:
thanks a lot, by the way i'm 11
I am trying to get player1 to eat the baloons to gain points but it keeps giving me the error cannot find symbo - method canSee(java.lang.Class<Balloon>)
By qsapp.3, with 2 replies.
Last reply by qsapp.3, about 13 years ago:
THANK YOU SO MUCH!
delay sequence of content
By davemib123, with 3 replies.
Last reply by bourne, about 13 years ago:
Something like this would work: (not tested) <Code Omitted>
813
814
815
816
817
818
819
X