Fixed map, tweaked gravity/jump, added puppy
This commit is contained in:
@ -79,7 +79,7 @@ public:
|
||||
}
|
||||
Game::gravityOnPlayer = true;
|
||||
sprite->Play("Jump");
|
||||
transform->velocity.y = -1;
|
||||
transform->velocity.y = -2;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
@ -112,7 +112,7 @@ public:
|
||||
animations.emplace("Walk", walk);
|
||||
Animation jump = Animation(2,1,100);
|
||||
animations.emplace("Jump", jump);
|
||||
Animation fall = Animation(2,2,100);
|
||||
Animation fall = Animation(3,1,100);
|
||||
animations.emplace("Fall",fall);
|
||||
Play("Idle");
|
||||
}
|
||||
|
Reference in New Issue
Block a user