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 when I shoot a man
By Anthony_97, with 4 replies.
Last reply by danpost, about 13 years ago:
We need to see any (and all) code related to adding and removing the actor to and from the world. That would include your world constructor (or 'prepare' method; or whatever code initially adds the actors to the world) and probably the Arrow class code, as I did not see anything to remove actors in the classes given above, First and foremost, copy/paste the exact error message you were getting (clear the terminal before running the scenario and copy the whole message).
Can any body fix this?
By Game/maniac, with 4 replies.
Last reply by Game/maniac, about 13 years ago:
Thanks
Problem
By Mirza, with 9 replies.
Last reply by limefortheworld, about 13 years ago:
@Danpost: No, you didn't hurt my feelings at all. But rather I was attempting to express awe at your superior method in a humorous way, which didn't work out so well. :P
Notifications mark in head title
By erdelf, with no replies.
Would it be possible to make a mark for notifications in the head title? e.g. <Image Omitted> instead of <Image Omitted>
Saving game state in greenfoot?
By jahama, with 5 replies.
Last reply by davmac, about 13 years ago:
jahama, the
UserInfo
class can be used to store player-specific data which persists between sessions (page refresh etc). Take a look at the documentation for it.
Changing health meter
By Kevin_Bacon, with 5 replies.
Last reply by Kevin_Bacon, about 13 years ago:
Too late, the assignment was due @ 11:55. But this will probably be on the quiz tomorrow. Thanks
Losing tokens when hitting an enemy
By Kevin_Bacon, with 6 replies.
Last reply by Kevin_Bacon, about 13 years ago:
Thanks, it works. I made lastEnemyHit an int variable that increases as Hero makes contact with an enemy. When it hits a certain value, it plays the code. The whole thing is an if-statement.
run world method
By HayleyG, with 2 replies.
Last reply by danpost, about 13 years ago:
'getWorld().score();' will not work, either. The score() method is not located in the 'World' class, but in the sub-class of World that HayleyG created. I will use 'WorldName' to refer to that sub-class of World. <Code Omitted>will access the score() method.
Isometric Sprite Positioning
By Spilli, with 1 reply.
Replied to by MatheMagician, about 13 years ago:
You could use the GreenfootImage methods getWidth() and getHeight() and then perform your calculations with them.
Help on 'Chess' by Razzo
By danpost, with 13 replies.
Last reply by Razzo, about 13 years ago:
Nope, I haven't had time to work on it, I will finish it eventually!
Really basic question...
By SimpleJack, with 2 replies.
Last reply by SimpleJack, about 13 years ago:
how does one go about doing that? and will the data be lost when traveling to a different world?
Problem with Objects
By terii, with 2 replies.
Last reply by MatheMagician, about 13 years ago:
Here
is a collection of a lot of scrolling engines.
Uploading my Scenario
By sar, with no replies.
Hello community. I'm trying to upload my scenario to a homepage. If i link to it with an iframewrapper i get the error massage: ClassNotFoundException greenfoot.export.GreenfootScenarioViewer.class Thanks for your advice
I keep getting a class, interface, or enum expected error at public void act(), with the error line saying its just before the word void
By DillonCummings, with 2 replies.
Last reply by danpost, about 13 years ago:
Remove line 18 in the GameBall class, it is closing the class and the compiler cannot interpret the following lines because they are not what is expected at that point.
Need help changing actor image
By HayleyG, with 20 replies.
Last reply by limefortheworld, about 13 years ago:
lulzy lulz Just about all of my games involve this frame mechanics (although it is only with my later works that I implement the static global variables) involving multiple images for actors (alongside the additional framechange variable). But then my stuff isn't as nearly as great as yours...
930
931
932
933
934
935
936
X