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
Non Repeating Random Generator
By BrownBoii333, with 1 reply.
Replied to by danpost, almost 11 years ago:
You can produce a range of numbers with the following: <Code Omitted>of course, that can be simplified to this: <Code Omitted>I just needed to show how the numbers were determined. The value of 'rand' will be a number between 5 and 10 inclusive. Would that be something like what you were looking for?
Boolean not working?
By berdie, with 13 replies.
Last reply by berdie, almost 11 years ago:
<Code Omitted> The above code was the solution i got for my problem
Timer Issue/ spawn issue
By Kickero, with 4 replies.
Last reply by Kickero, almost 11 years ago:
ok cool just double checking
I need andom spwaning enemys after time in my game help pls
By Gallager, with 3 replies.
Last reply by Gallager, almost 11 years ago:
k guys
How would I make an actor move in a square
By FelyFret, with 4 replies.
Last reply by FelyFret, almost 11 years ago:
thanks!
Saving a world--Please help
By nh3h, with 1 reply.
Replied to by danpost, almost 11 years ago:
If you are fixing it by manually adding and/or moving actors, then you can 'Save the World' to save the changes. Either right-click on the world and select 'Save the World' (at the bottom of the drop-down) or select 'Controls>Save the World' from the menubar. By doing so, the code representing the steps you took to change the maze will be added to your world class.
How to Display Image for GameOver/YouWin
By Anne2403, with 41 replies.
Last reply by Anne2403, almost 11 years ago:
okay sorry.. it did worked what you said. Thanks.
Hp Bar
By DiplomatikCow, with 7 replies.
Last reply by danpost, almost 11 years ago:
DiplomatikCow wrote...
I have the private images stored in a class called FortressHealth, but I haven't put any code into it so far, that would work right?
Yes, that should work.
Getting a game to move actor from one level to the next?
By tcoale, with 13 replies.
Last reply by tcoale, almost 11 years ago:
Thanks again, you're a real lifesaver.
How could I add lives?
By potato, with 1 reply.
Replied to by danpost, almost 11 years ago:
You can do it internally, using a field; and, you can add an Actor class to display the value of the field externally.
Greenfoot Terminal, Don't Understand
By Talon, with 3 replies.
Last reply by Talon, almost 11 years ago:
erdelf wrote...
I think I know the problem... the lifebar and a crab is trying to find the actor but you removed him (just a guess) if it is so, try to check stuff like this before.. you could simply use the try method <Code Omitted>
Thanks man! I just did some short changes and was able to fix this.
danpost wrote...
To be sure, post your Crab class code.
I got it all figured out, thank you tho. I have been reading the "forums" or whatever you would call this
Help with an error regarding a symbol?
By Bluephoenix14, with 2 replies.
Last reply by Bluephoenix14, almost 11 years ago:
I will do that. Thank you for your help!
For loop
By hungryjunk, with 6 replies.
Last reply by danpost, almost 11 years ago:
Try: <Code Omitted>
Help me please!
By Epickiller10, with 10 replies.
Last reply by Epickiller10, almost 11 years ago:
Thank you for the help! i appreciate it!!
How do i make it so an eneamy will move from left to right only a certain amount
By aaronmckenzie, with 3 replies.
Last reply by aaronmckenzie, almost 11 years ago:
Thanks ill try this out
620
621
622
623
624
625
626
X