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
Upgrade screen between rounds
By GreenGoo, with 1 reply.
Replied to by danpost, over 12 years ago:
Since each world will know which world to proceed to next (after the between screen is shown), you would want to create the new game world before calling the between screen world; pass it to the between screen world so it can go to that world when the between screen is done showing. If you had, let us say, 'Level1' and 'Level2' as game worlds and 'Intermission' as the between world, then:
Adding a message in the Breakout Scenario.
By ddcook82, with 7 replies.
Last reply by danpost, over 12 years ago:
It is done basically the same way as when you create the message manually. <Code Omitted>This creates the object and holds it in a field called 'msg'; now you just need to add 'msg' into the world where you want it.
Error with a scrolling world.
By steved, with 9 replies.
Last reply by bourne, over 12 years ago:
No problem.
Slow down moving speed
By ZekeroXBlade, with 5 replies.
Last reply by -nic-, over 12 years ago:
cool
Player keeps getting stuck on the "Rock" object
By Blakehammond, with no replies.
It is still a far bit away from the object but for some reason the player keeps getting stuck on the rocks, why is this happening? and I am using the "Rock" which came with the program.
Missile shooting question
By leeyong0, with 3 replies.
Last reply by steved, over 12 years ago:
another way you could do it is set some kind of reload timer so that if you hold the hey down it fires once every so often.
Need help with accesing a variable from another actor
By relthix, with 3 replies.
Last reply by davmac, over 12 years ago:
You need to post your code. Either post the relevant parts here, or upload your scenario with source code and post the link to it here.
Animating an object
By Gingervitis, with 28 replies.
Last reply by steved, over 12 years ago:
@laziaf you should probably start a new topic you know. It would be alot more effective...
if intersect method
By leeyong0, with 1 reply.
Replied to by danpost, over 12 years ago:
You seem to be showing the wrong code every time you post a question. When asking about trying to shoot one missle at a time, you should have shown the class with the shoot method in it. Here, you ask about the missle intersecting a ship and should have shown the Missle class. Anyway, I saw your code for the Missle class from you other discussion post and cleaned it up a bit to the following:
Memory Error?
By himynameis, with 1 reply.
Replied to by danpost, over 12 years ago:
Showing the whole error message may help. Although, in this case, it may not; as it probably deals with very large or a multitude of images. When the error occurs may be a clue as to where to look. If you cannot figure it out, you may have to post your code one class as a time, starting with your initial world class.
Button not restarting game
By xxhero24xx, with 4 replies.
Last reply by xxhero24xx, over 12 years ago:
that works. Thanks Dan
Problem with sidecrolling
By kante162, with no replies.
Hi guys, I habe a little problem with my jump'n'run-game
(Scenario here)
, which I can't exactly describe. It's like some scrolling objects are stuck for a moment when switching the direction. After a couple of times switching the direction, the whole level is "destroyed" and you have to restart the level. I thought it might be a problem with the checkKeyPress()-method in the Scrollers class, but i didn't really figure it out. Maybe you could help me please?
Group Project for Beginners?
By askgriff, with 3 replies.
Last reply by davmac, over 12 years ago:
askgriff, if you're an educator you may like to consider signing up to the
Greenroom
and asking your question there.
cannot find symbol method canSee
By sfr123, with 3 replies.
Last reply by danpost, over 12 years ago:
Did you import the Animal class into your scenario? On the menubar, click on Edit>Import class..., choose Animal and click Import.
word wrapping
By tylers, with 1 reply.
Replied to by tylers, over 12 years ago:
done it now but i might need a simpler method ;)
871
872
873
874
875
876
877
X