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 World problem with removing objects
By CarlosOlea, with 6 replies.
Last reply by danpost, over 11 years ago:
Sorry, wrong discussion.
string to int
By gusbus123, with 5 replies.
Last reply by gusbus123, over 11 years ago:
k ty
Making a ship cloak itself....chapter 7 collision detection asteroid
By chuckyboy, with 6 replies.
Last reply by danpost, over 11 years ago:
That does not answer my question. I was asking about how to go about making the ship invisible. What can you do to make the ship not visible yet still be in the world?
Asteroid
By infant17, with 20 replies.
Last reply by danpost, over 11 years ago:
Without looking at what you already have, simply put, the Rocket class should have the code to detect the 'p' keystroke and 'fire' a photon torpedo; and the Torpedo class should detect asteroids and remove any asteroid and itself on a hit and remove itself at world edge.
infant17 wrote...
declaring the Boolean type for fire gives me another error message saying cannot find symbol variable reloadTime
If you are getting cannot find on 'reloadTime', then you do not have it declared in that class or in one of its super-classes (it is possible that this was already a problem, but it found
Creating a "blink" method
By aezzell, with 1 reply.
Replied to by danpost, over 11 years ago:
What have you tried? Do you even know what methods you might need (look through the APIs through the documentation link above, if not)?
Scroll World help
By FlyingRabidUnicornPig, with 3 replies.
Last reply by FlyingRabidUnicornPig, over 11 years ago:
Figured it out, I accidentally added my slender object twice. I don't know why it moved twice the speed before by just adding him twice, but the problem's fixed now.
integrate a database in android game
By justina, with 4 replies.
Last reply by caoquocthi, over 11 years ago:
hello Justina I really like game Kill Them All but I have not finished this game yet , Can you share code for me , please?? my email: caoquocthi@zing.vn thank you very much :))
Non gallery lan program
By JetLennit, with 7 replies.
Last reply by JetLennit, over 11 years ago:
Thank you!
getting a particular part of a string to compare and use.
By gusbus123, with 8 replies.
Last reply by gusbus123, over 11 years ago:
because im using a sprite sheet and want to draw different parts of the sprite sheet together to form a word/number
Game Menu
By ColonelCaboose, with no replies.
I'm trying to make a Game Menu, all I want it to do is be there from a start, when I click on the start button on my menu with my mouse the menu will disappear and run the world I have. I'm not sure how to do this.
Maze help
By Gingervitis, with 34 replies.
Last reply by JetLennit, over 11 years ago:
Perhaps if you upload the game and the source?
Color Detection
By JetLennit, with 17 replies.
Last reply by JetLennit, over 11 years ago:
Sorry, i have already done @FlyingRabidUnicornPig's... and it worked!
Visualization of Sort Algorithm
By rowanto, with 3 replies.
Last reply by davmac, over 11 years ago:
Yep, I guess you can't use that particular scenario, but I think it shows that it should be possible.
Convert Actor to Object
By willnerd42, with 2 replies.
Last reply by davmac, over 11 years ago:
You need a cast: ((ClassName)actor).methodName(); Where 'ClassName' is the name of the class of the actor (i.e. the class that defines the method you want to call), 'actor' is the reference to the actor, and 'methodName' is the name of the method you want to call.
How to detect collision with mouse cursor, or move items accordingly to mouse position?
By RadikulRAM, with 5 replies.
Last reply by RadikulRAM, over 11 years ago:
<Code Omitted>Thanks for your code Dav! I'll try to figure out how to hide the cursor myself, but my current problem is that when I do any mouse click the player stops following the mouse. I need my player model to follow the mouse at all times, even when the mouse button is held down but again I'm clueless on this matter. I tried doing:
849
850
851
852
853
854
855
X