This site requires JavaScript, please enable it in your browser!
Greenfoot back

Comments for ICopter Greenfoot V0.5 Demo

Return to ICopter Greenfoot V0.5 Demo

DutaDuta

2012/3/3

Really want to make one of these now >.<
TopInPutTopInPut

2012/3/3

Do it. ;) I'm sure, you can do it better than me. ;D But the Stages will come. :P
DutaDuta

2012/3/4

Oh yeah I completely forgot to comment on here to tell you that I did end up making it (its uploaded at http://www.greenfoot.org/scenarios/4290 )
TopInPutTopInPut

2012/3/6

But the speed is a bit to slow ;)
TopInPutTopInPut

2012/3/6

int speed = 7; int vSpeed = 2; int gSpeed= 1; int jSpeed = -3;
TopInPutTopInPut

2012/3/6

speed = Speed, vSpeed = vertical Speed gSpeed = acceleration of the Copter while flying up or falling down ^^ jSpeed = "Jump" Speed, its just like vSpeed, but it takes you up
DutaDuta

2012/3/6

Have you made any progress on this?
DutaDuta

2012/3/6

I know about variable speed by the way :) I just hadn't decided whether I actually wanted it or not
TopInPutTopInPut

2012/3/7

Take it. ;D Your one is better than mine. ;) Cause im a beginner with Greenfoot and I have to lern much. :D Thats my first try of a simulator.^^
DutaDuta

2012/3/7

Keep going with it! :) I'm sure you'll make a good - even better - job of it, than I did with my hastily shoved together scenario. As I've just finished a big batch of homework I have a few minutes so I'll start coding the new speed system now
DutaDuta

2012/3/7

so I made this code (yInc and boost are double's, and initialized to 0) yInc += 0.3; //Gravity if(Greenfoot.isKeyDown("space")) { yInc -= boost; boost *= 0.97; } else boost = 1.0; //Initial boost. setLocation(getX(), getY() + (int)Math.round(yInc)); Its playing a bit too sluggishly at the moment... I'll keep experimenting :P
DutaDuta

2012/3/7

Ignore that comment, I decided that actually once I was used to it it wasn't too bad. I've updated the scenario and will see what people think
TopInPutTopInPut

2012/3/9

Nice code.;D I made a game named "The NimGame". You know that? ^^ Thats really tactical. ;)