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
Variable Globalisation
By roronoa, with 5 replies.
Last reply by roronoa, over 11 years ago:
danpost wrote...
You said Decks was a subclass of AllCards, however it is coded as a subclass of AllActors. That would certainly throw a wrench in the works if it was not coded correctly.
No, Decks is a subclass of AllActors, sorry for confusion, it was my mistake. The problem is solved, thank you davmac.
Beginner question
By BradH, with 3 replies.
Last reply by BradH, over 11 years ago:
Thanks
Hello everyone.
By Minion1, with 14 replies.
Last reply by -nic-, over 11 years ago:
oo that sounds sounds good will it be top down?
2Dimensional Arrays and Rooms
By Razzo, with 6 replies.
Last reply by MatheMagician, over 11 years ago:
I assigned the unchanged part of the array reference a different variable. It works now!
Greenfoot 2.2.0 beta
By davmac, with 79 replies.
Last reply by -nic-, over 11 years ago:
Sorry
Memory Usage
By Razzo, with 11 replies.
Last reply by SPower, over 11 years ago:
Getting a random falling shell
By -nic-, with 50 replies.
Last reply by Game/maniac, over 11 years ago:
Your welcome :)
GREENFOOT WONT START RUNNING iOS 10.6.8
By DOGGY, with 6 replies.
Last reply by Upupzealot, over 11 years ago:
I just wonder why? Is it because of diffrent edtions of JRE?
Feel a little frustrated
By Upupzealot, with no replies.
I am trying making an Android edition for Greenfoot, I used to think it maybe not much difficult since I finished the "World" and "Actor" class in just several days. Now more than a week has passed, and things just becoming more and more complicated with throwing those different kinds of Exceptions, thousands of bugs showed up everyday nearly make me crazy. As new to Android, experience in JAVA SE didn't helps a lot cause things just totally different. And there are so many methods in Greenfoot that I'v never used. such as "insects(Actor)" or getCellSize() as I always make it equals to 1 to think it as a pixel. After all, is there someone else doing the samething can help For me, I am planning to publish a first beta edtion on Oct 29.(tha's the day I met Greenfoot last year)Another question is how can I share files here & will there be a question about copyright or something like that?
Making a bomb
By Stephon231, with 15 replies.
Last reply by Stephon231, over 11 years ago:
thanks it works
Boomerang Arcs!
By Razzo, with 11 replies.
Last reply by danpost, over 11 years ago:
Instead of circling around mouse.getX() and mouse.getY(), you need to circle around the average of the two points (mouse.getX() + getX()) / 2 and (mouse.getY() + getY()) / 2
Higer resolution?
By -nic-, with 4 replies.
Last reply by -nic-, over 11 years ago:
sorry im linux /android :D
Removing an object that is a certain size?
By MoneyFishSlap, with 15 replies.
Last reply by SPower, over 11 years ago:
<Code Omitted>
Subclasses and Methods
By Razzo, with 7 replies.
Last reply by davmac, over 11 years ago:
You could declare the act() method in the Enemy class as 'final', and have it perform whatever check you like before calling another method ("enemyAct()" or whatever you like to call it). <Code Omitted> Then subclasses can override the enemyAct method, but not the act method.
Help with Location
By CrazyCarl992, with 5 replies.
Last reply by danpost, over 11 years ago:
'getObjects(class)' is a World method that returns a List of Objects of the specified class. Since it is a World method, we must prefix it with 'getWorld()', which is an Actor method that returns the world that an actor is in. Since you are in the act (or a sub-method that it calls) in the badger class, it would be the world that the badger being netted is in. The prefix for 'getWorld()' in this case is understood (the 'this' keyword -- referring to the badger). Now that we have a list of 'truck' objects, we should make sure that the list is not empty. The 'isEmpty()' method of the List
921
922
923
924
925
926
927
X