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
Infinite Side Scroller Implementation
By Smolitor, with 3 replies.
Last reply by danpost, over 11 years ago:
Smolitor wrote...
By the way, are you in any way affiliated the
DAN-BALL
website?
Never heard of it.
Making your very own images?
By DiplomatikCow, with 3 replies.
Last reply by DiplomatikCow, over 11 years ago:
Thank you, for helping me with this and all my questions :D I will go use that
Help needed Damage when touching another
By Thanatos, with 1 reply.
Replied to by danpost, over 11 years ago:
Please bookend your code with code tags. Click on the link that says
'Posting code? read this!'
for an explanation. The third and fourth lines (the one beginning with 'Actor' can be removed. The variables declared there are not being used in the method. The second 'if' block should be inside and at the end of the first 'if' block. You only need to check the value only after it decreases, not every act cycle. Other than that, is should still work as you had it, except that the health will drop in bunches. Each contact will probably
Generate random objects on specific locations
By h35am, with 11 replies.
Last reply by danpost, over 11 years ago:
Ruvero wrote...
For example: <Code Omitted>Will generate a number between 0 and 3.
That is not correct. That line of code will only generate a number between 0 and 2, giving the 3 possibilities { 0, 1, 2 }.
Adding text once the ball reaches the end
By pactz, with 2 replies.
Last reply by pactz, over 11 years ago:
Thank you very much
Greenfoot sound problems
By Kirachan, with 6 replies.
Last reply by Kirachan, over 11 years ago:
oh that is more effective, thanks for all the help man
sound problems
By Steven.Z., with 2 replies.
Last reply by danpost, over 11 years ago:
Try converting it to a '.wav' file.
Actor won't stay on scenario?
By beliuga, with 15 replies.
Last reply by beliuga, over 11 years ago:
Thank you so much!!! the first two lines worked, but the second line still got the error saying it needs a bracket. thank you anyways!
different speed for game
By Steven.Z., with 2 replies.
Last reply by danpost, over 11 years ago:
Will need to see your world class code to determine the best course of action in this matter.
Using danpost's SWorld for vertical srolling
By Ruvero, with 5 replies.
Last reply by Ruvero, over 11 years ago:
Found another solution to my problem, thanks though.
spawned actors should not touch each other
By Steven.Z., with 6 replies.
Last reply by Steven.Z., over 11 years ago:
yep, now it works thanks i got a subclass called background in this there are some actors how are just supposed to be in the background but i don't want them to intersect with the rest thanks again!
Help Needed! (collision detection/solid objects)
By TheGoldenBucket, with 1 reply.
Replied to by TheGoldenBucket, over 11 years ago:
Never mind! Managed to find a discussion that told me everything I needed to know! -TheGoldenBucket
Can anyone help me, I'm trying to make the lobster move forward and back like the shells in super mario games
By pactz, with 3 replies.
Last reply by pactz, over 11 years ago:
Thanks
Title won't show up?
By sabrim, with 1 reply.
Replied to by danpost, over 11 years ago:
The greenfoot framewok changes the drawing color of the default background to WHITE. You need to change the drawing color before drawing the string onto it (use the GreenfootImage method 'setColor').
Help Needed! <identifier> expected
By TheGoldenBucket, with 3 replies.
Last reply by TheGoldenBucket, over 11 years ago:
Thanks guys. Got it working, and now I'm off to create walls. -TheGoldenBucket
613
614
615
616
617
618
619
X