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
incompatible types
By KierTulp, with 13 replies.
Last reply by vonmeth, over 13 years ago:
Edit: nm
incompatible types with range
By KierTulp, with 2 replies.
Last reply by Gevater_Tod4711, over 13 years ago:
If you want to prove if there is an object type uman near you, you should change the method like this: <Code Omitted>
How do you set the world using buttons that the mouse clicks on?
By LonelyCreeper, with 2 replies.
Last reply by LonelyCreeper, over 13 years ago:
Oh I solved it. Thanks anyways though.
How to set world at beginning of game
By LonelyCreeper, with 2 replies.
Last reply by LonelyCreeper, over 13 years ago:
Thanks!
Image comparison
By Minion1, with 3 replies.
Last reply by danpost, over 13 years ago:
You could set up an array to map the world. It could be of 'int', 'String' or 'char' type (guess it could even be of 'Class' type -- not that I would recomend it). This map could be used not only to create the initial background, but also to determine what is where during game play. Another possibility is to use color detection to determine what is where. This would involve breaking the color up into its primary color components and checking the values for certain ranges to distinguish between the different types of terrain (brown=mountain, blue=water, tan=dirt, green=grass
Gravity
By sametguzelgun, with 2 replies.
Last reply by sametguzelgun, over 13 years ago:
Thank you.
ifOnGround() won't work??
By AnneMacaroni, with 1 reply.
Replied to by AnneMacaroni, over 13 years ago:
btw, is there a way to delete discussions?
Making loop for an animation of 100 images in series
By camsterb, with 3 replies.
Last reply by camsterb, over 13 years ago:
Hi. Yep, just putting in +i+ between closed quotations worked very nicely. Thanks a lot for the clarification and the hard work as always! :D
Hit twice
By TheStop, with 4 replies.
Last reply by danpost, over 13 years ago:
Actually, what I was saying was that the boolean tracks whether it has been hit once or not. <Code Omitted>Just call 'checkHit();' from the 'act' method.
Constructor issue
By BradH, with 2 replies.
Last reply by BradH, over 13 years ago:
Ok, that makes sense, thanks
Variable construction of Objects
By JimmyFake, with 7 replies.
Last reply by danpost, over 13 years ago:
If you want any insight into it, it involved working with the 'Class' API using the 'newInstance' method which will require some knowledge of working with exceptions. It would be something like the following: <Code Omitted>However, this would require passing classes instead of strings.
Help please - worked but now have compiling error :(
By Ethan243, with 4 replies.
Last reply by Ethan243, over 13 years ago:
Thanks so much for the quick and helpful replies - really appreciate it! It's working great now. :)
Is it possible, to implement a video in my game?
By moobe, with no replies.
Hi, I'd like to add a video at the beginning of my game (As main menu). Is that possible? Here's the vid on YouTube. https://www.youtube.com/watch?v=twnRFBTEaXc
How do you contact other people?
By Minion1, with 2 replies.
Last reply by Minion1, over 13 years ago:
Ah. Such a shame. This community could benefit from a good communication system. Thanks for the reference to the scenario. I might end up using it.
NullPointerException
By erdelf, with 34 replies.
Last reply by erdelf, over 13 years ago:
nope I change a bit the code in the missile.
900
901
902
903
904
905
906
X