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
problems with memory game
By kingsint, with 4 replies.
Last reply by Vigelandzoon, almost 13 years ago:
public void opencard() { int duiker = 0; int duiker2 = 0; if (duiker == duiker2) { if(Greenfoot.mouseClicked(Duiker.class)) { setImage("duiker_tcm46-175501.jpg"); duiker = 1; if(Greenfoot.mouseClicked(duiker2)) { duiker2 = 1; } { getWorld().removeObject(this); } } else if(Greenf
memory game
By Vigelandzoon, with 1 reply.
Replied to by Vigelandzoon, almost 13 years ago:
[Disallowed URL]
Get the world the Actor lives in
By sanoy, with 4 replies.
Last reply by sanoy, almost 13 years ago:
thx
Side scrolling world
By Mimagic, with 1 reply.
Replied to by Draymothisk, almost 13 years ago:
There are a few out there that people have made. Here's one: http://www.greenfoot.org/scenarios/8270
Multiple Highscores
By Jtlie, with 1 reply.
Replied to by bourne, almost 13 years ago:
Use the 10 general purpose ints. Where each minigame is associated with a different index. Using: getInt(int index) and setInt(int index, int value) You will have to do your own sorting since getTop and getNearby only consider the score field ( in that you might need to call getTop(max) where max is a large number in attempt to receive all data. Then the retrieved list could be sorted by a given int field )
how to let my ship get a crate
By virginia001, with 312 replies.
Last reply by virginia001, almost 13 years ago:
Ye it was i changed it a while ago
NullPointerException can’t find problem
By Victor0409, with 3 replies.
Last reply by davmac, almost 13 years ago:
Also, this looks wrong: <Code Omitted> Why are you creating a
new
TankTurret? Shouldn't it just be: <Code Omitted>
how to add object when hovering over actor??
By 0868626, with 2 replies.
Last reply by 0868626, almost 13 years ago:
thanks man it works now.
Error problem
By [][][][][], with no replies.
<Code Omitted> java.lang.ClassCastException: java.util.ArrayList cannot be cast to Wall at Main.act(Main.java:30) at greenfoot.core.Simulation.actActor(Simulation.java:568) at greenfoot.core.Simulation.runOneLoop(Simulation.java:526) at greenfoot.core.Simulation.runContent(Simulation.java:215) at greenfoot.core.Simulation.run(Simulation.java:205) java.lang.NullPointerException at Main.act(Main.java:38) at greenfoot.core.Simulation.actActor(Simulation.java:568) at greenfoot.core.Simulation.runOneLoop(Simulation.java:526) at greenfoot.core.Simulation.runContent(Simulation.java:215) at greenfoot.core.Simulation.run(Simulation.java:205) this is the error ^^^ help if you can thank you. :D
How to make a scorecounter and counting score?
By Stormrage, with 6 replies.
Last reply by Stormrage, almost 13 years ago:
Thank:) fixed
How can i get people removed that create lookalike accounts?
By UNDEAD_DC, with 5 replies.
Last reply by davmac, almost 13 years ago:
Ok, he's gone.
How to "pick up", "move" and "drop" other objects
By FoXX, with 4 replies.
Last reply by 0868626, almost 13 years ago:
g
Is the Greenfoot text book a necessity to learn how to do this?
By nickvcg, with 1 reply.
Replied to by davmac, almost 13 years ago:
You don't strictly speaking need the book, but it will help you to understand the fundamentals. You could use another Java book also, or try to find a comprehensive tutorial online.
but say I wanted to code something for java, could I just code in the same style I learned to by using Greenfoot?
You don't code something
for
Java, you code
in
Java - Java is the programming language. In Greenfoot you write programs in Java. You can use Java outside Greenfoot as well (but the Greenfoot specific API, such as the World and Actor classes, won't be available).
Help!! How to shoot bullet in every direction
By Stormrage, with 3 replies.
Last reply by Stormrage, almost 13 years ago:
Thanks:) Sorry for the late. First time using this website still don`t know how to using it yet.
Running BASIC inside a program
By tartags11, with 4 replies.
Last reply by tartags11, almost 13 years ago:
Alright! Thanks!!
741
742
743
744
745
746
747
X