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
Range
By jdc4aub, with no replies.
I'm creating a game where when an enemy gets within some distance of the user's right hand, the enemy is killed. I am using a Kinect.<Code Omitted> That is what I was working with, I'm not sure how to make the transition from this code to the code that finds enemies in range of the right hand.
How to get a return statement from another class?
By swapon, with 7 replies.
Last reply by groengeel, over 12 years ago:
@danpost I stand corrected ;)
Constructor: Placing randomly Objects, prohibe intersecting
By Diphthong, with 2 replies.
Last reply by Diphthong, over 12 years ago:
Thanks, works. :D
Creating and then removing a "tongue" for a frog
By LiteralSkeleton, with 2 replies.
Last reply by LiteralSkeleton, over 12 years ago:
Hmm. Okay thanks a lot for the reply. I think this is gonna be something I'll have to mull over for a while. I don't have a whole ton of experience with it so I think for now I'm going to have a more rudimentary system (no "tongue" but the frog eats flies if it encounters them). However, I think that, given enough time, this is something I can implement. Thanks a lot for the help, man!
Intro
By terii, with no replies.
I am programming a RPG. At first I want to make a intro with several - i think 5 - pictures. It should be like a slideshow. Everytime i press "space" the next picture should be shown. How do i make something like that?
Color test pattern
By catherine.kuss, with 1 reply.
Replied to by danpost, over 12 years ago:
I am not exactly sure what you mean. Could be a little more detailed as to what you are aiming to do?
Problems with scale Images
By Gevater_Tod4711, with 11 replies.
Last reply by Gevater_Tod4711, over 12 years ago:
I have fixed that bug. Thank you very much for the quick answers.
adding object to a world after they are removed.
By actinium, with 8 replies.
Last reply by SPower, over 12 years ago:
the actual memory
well, you're always changing memory, but I know what you mean :)
Switching worlds
By jdc4aub, with 1 reply.
Replied to by MatheMagician, over 12 years ago:
<Code Omitted>
While loops
By BradH, with 2 replies.
Last reply by BradH, over 12 years ago:
Thanks a lot
Making a fader.
By Zamoht, with 3 replies.
Last reply by Zamoht, over 12 years ago:
Yes the scenario was Wombat Fighter, and well I made it work so it's not really a problem now, but I bet your code is cleaner than mine. (I usually end up writing code that works, but at the same time it's probably not considered good programming terms). Thanks anyway.
addObject
By actinium, with 3 replies.
Last reply by actinium, over 12 years ago:
its ok i found a way to simply remove all the objects before drawing a new level using <Code Omitted>Thanks anyway SPower
UserInfo error. I think...
By Zamoht, with 8 replies.
Last reply by davmac, over 12 years ago:
We restarted the server yesterday and it seems the storage server didn't come back up - it should be fixed now. But yes, you should always check whether storage is available before trying to use it! :)
2d game + Gravity?
By Johnathon, with 2 replies.
Last reply by Johnathon, over 12 years ago:
Thanks a lot! I'm actually quite busy right now and checking this from school, I will however try taking a look at that when I get home and will reply again if I come across something I don't understand, but again, thanks so much for this! Edit: Thanks! I pulled it apart and figured it out. Now i'm just stuck at the next bit of code I don't understand. I plan to post a separate thread for that though, Thanks again for all the help!
Help: Writing loops (do,for,while) to find a value above 99.
By vivbala, with 6 replies.
Last reply by danpost, over 12 years ago:
Check out the Java tutorials, especially the sections concerning loops and arrays. This is the link for
control flow statements
(for, while, and do). This is the link for
arrays
.
918
919
920
921
922
923
924
X