TP3 + classe Skybox
This commit is contained in:
@@ -37,7 +37,9 @@ void Player::Move(bool front, bool back, bool left, bool right, bool jump, bool
|
||||
|
||||
if (dash) dashtimeout = 2;
|
||||
|
||||
if ((jump || dash) && dbljump < 2 && !jumped ) {
|
||||
if (dbljump >= 2) jump = false;
|
||||
|
||||
if ((jump || dash) && !jumped ) {
|
||||
accjmp += jump? m_jumpforce: 0.1f;
|
||||
jumped = true;
|
||||
dbljump++;
|
||||
|
Reference in New Issue
Block a user