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
error for setting rotation
By coder04, with 4 replies.
Last reply by coder04, almost 11 years ago:
thanx ive fixed the problem
SideScroller
By CryoStorm012, with 5 replies.
Last reply by danpost, almost 11 years ago:
Please elaborate and include some code, so we can get a better idea of what you are attempting to do (include what classes the codes are in and which classes they extend).
Move Object
By ds06, with 2 replies.
Last reply by ds06, almost 11 years ago:
Wow great, thank you very much:) It works now.
Cannot Find canSee Method
By UltimateCoder, with 11 replies.
Last reply by ovirahman, almost 11 years ago:
Thanks. was facing the same problem .
sound problem
By Alwin_Gerrits, with 25 replies.
Last reply by Alwin_Gerrits, almost 11 years ago:
I was trying to use it to stop my music when the player would select a new level from the menu I created. Although the music gets paused when calling the menu it starts running as soon as the next level is loaded. Even though the next level is paused using the greenfoot.stop-method. Anyway, seen I think I've gone way overboard compared to what the official assignment looked like (create a game of choise with very few conditions aside from that) I think I will just pass on using the stopped method for now. After all like you said:
how can a program ever return a false value when asked if
addObject in constructor of actor class
By getreides, with 7 replies.
Last reply by getreides, almost 11 years ago:
Now I understand, thank you!
Need help with "move" speed
By Oldmoe, with 3 replies.
Last reply by danpost, almost 11 years ago:
Oldmoe wrote...
This is part of a bigger piece and there are multiple actors doing things, so the "w" tie in was to cause the TestShip to adjust speed as MyShip moved. Thanks again
You have movement due to the "w" key added to the TestShip class; however, it does not match the amount of movement with the Space class. I believe, since that is scrolling movement, the amounts should match and you should also check for and adjust the TestShip objects location on the "s" key also. Regards.
Need help with creating lives counter
By A1234, with 10 replies.
Last reply by A1234, almost 11 years ago:
Sorry for the late reply, I mustn't have pressed post on my last reply. I have most of it working fine, but I am stuck with writing when my player does something, a life will be lost. Can you please help me with that? Thank you!
messing around with actors again
By Alwin_Gerrits, with 11 replies.
Last reply by Alwin_Gerrits, almost 11 years ago:
Ow dang, so that's what's up. K, thanks davmac. I'm prety sure I get what caused my problem now.
Need help with spring/trampoline object
By A1234, with 3 replies.
Last reply by danpost, almost 11 years ago:
There is too much I would change, not only in this class, but in other classes as well. I would have only one Key class and only one Door class; also, I would have only one or two Shot classes. Then, I do not know if you have one or not, but I would have your level classes extend a general Level class. All these changes, plus what needs corrected in this class, would drastically alter its code and take an awful lot of time. As it is right now, fixing it would also take some time (and a lot of headache trying to comprehend what is going on there). I do not think I want to go there, as ever
Disappearing at both edges of the world?
By DiplomatikCow, with 3 replies.
Last reply by DiplomatikCow, almost 11 years ago:
Thank you, I got it figured out.
advancing to next level
By dangwang, with 6 replies.
Last reply by Alwin_Gerrits, almost 11 years ago:
If your next level is a world you could use the Greenfoot.setWorld(new LEVEL_2()) command.
Moving Actor with arrow keys
By Pizza020, with 2 replies.
Last reply by Alwin_Gerrits, almost 11 years ago:
Shouldn't the actor allso be able to go down?
Please help me with this error
By coder04, with 4 replies.
Last reply by danpost, almost 11 years ago:
Give yourself a health value of 3 to start: <Code Omitted>Create a method, called from the act method, called checkLaser to detect and remove Laser objects and, when detected, decrease health and check for death (health == 0).
Stop the Time
By NiKu, with 2 replies.
Last reply by danpost, almost 11 years ago:
You could use a static array to hold the times for each level. If you have a superclass for you levels between them and the World class, that would be the best place for it. In the constructor of each level, have the negative value of the current time set to its element in the array; and, add the new current time when the level ends,
637
638
639
640
641
642
643
X