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
Help with a counter plz.
By Barra84, with 2 replies.
Last reply by Barra84, almost 12 years ago:
Hi here is a copy of my world code.
Question about pinball game
By maartendrift, with 42 replies.
Last reply by maartendrift, almost 12 years ago:
No? Where is it changed then?
How to put an image in the world
By SorrelCeasar, with 4 replies.
Last reply by SorrelCeasar, almost 12 years ago:
please like my game
Pinball: Don't know how I can let the Ball bounce back from the paddle
By BradM313, with 11 replies.
Last reply by SorrelCeasar, almost 12 years ago:
mine too
Using getObjectsAt()
By Daylend, with 16 replies.
Last reply by Daylend, almost 12 years ago:
Alright, so I got everything working. I took pieces of what you said and applied them to the code. What I actually changed was kind of a "duh" moment for me. To fix the code, I removed line 19 as well as line 9, because as you mentioned, they were redundant. I can just put it at the top of the method. I also, instead of removing the blocks, simply changed them to the background image. (Virtually the same thing) Now everything works. I've got one last method to finish (winning), hopefully all goes well and I'll stop bugging you guys lol. Thank you for everything.
Null pointer exception
By Gingervitis, with 2 replies.
Last reply by Gingervitis, almost 12 years ago:
ohhh ok. I wonder how I missed that..... Thank You
Simple question about text.
By sqwuckies, with 3 replies.
Last reply by Gevater_Tod4711, almost 12 years ago:
I think the field Font.PLAIN is a 'normal' font.
countdown time by second
By laziaf, with 4 replies.
Last reply by laziaf, almost 12 years ago:
@steved, okay.. tq @davmac, ups sorry. ok. i'll never do that again @danpost, ok, i'll try. tq
Closing buffered reader
By theprogrammer, with 7 replies.
Last reply by davmac, almost 12 years ago:
Yes, that would work. But if the only reason for the actor's existence is to read the file, you might not need it at all. Just use 'if', i.e. instead of: <Code Omitted> do this: <Code Omitted>
New Game
By geekykid2013, with 28 replies.
Last reply by geekykid2013, almost 12 years ago:
its okay i've found the solution
Needing some help with text, new here
By OxiClean, with 5 replies.
Last reply by danpost, almost 12 years ago:
You may want to check out the Java Trail on
Learning the Java Language
. A wealth of information is available there.
turning problem
By smify22, with 1 reply.
Replied to by danpost, almost 12 years ago:
Use 'if ("
keyname
".equals(Greenfoot.getKey())' instead of 'if (Greenfoot.isKeyDown("
keyname
"))'.
System.out.printIn()
By hessajm, with 3 replies.
Last reply by danpost, almost 12 years ago:
Are you trying to say that the bomb should explode if the camel moves onto ( or over) one, and you are trying do avoid doing that?
How would I add text input?
By pashmi, with 6 replies.
Last reply by bourne, almost 12 years ago:
http://www.greenfoot.org/scenarios/7578
Need help in terms of stopping the actor going through the walls
By Blakehammond, with 1 reply.
Replied to by MatheMagician, almost 12 years ago:
Instead of checking the walls before you move, check for the walls after you move and if you are stuck, go backwards. Your code for the if statement should be more like this: <Code Omitted>
866
867
868
869
870
871
872
X