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

Report as inappropriate.

TopInPut
TopInPut presents ...

2012/3/2

ICopter Greenfoot V0.5 Demo

Space to fly.
Stages comming soon.
(This is just a simulation. ;) )

2941 views / 25 in the last 7 days

Tags: game simulation physics demo test

Your browser does not support the canvas tag.
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. ;)

See all comments

Want to leave a comment? You must first log in.

Who likes this?

No votes yet.