Wrong forum. You want "Technical Questions", or "Beginner's Technical Questions".
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
int Gravity = 1;
Speed=Speed-Gravity;
player.y=player.y + Speed;
if (Thrust>0) Thrust-=1; // So that thrust doesn't stick at full every time it's pressed
if ((IsKeyPressed(eKeyUpArrow))&&(Thrust<5)) {
Thrust+=2;
}
Speed = Speed + Thrust;
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.097 seconds with 16 queries.