70
70
if self.falling then self.jumping = false end
71
71
--print(self.jumping, self.falling)
78
78
self.acceleration.y = 800
95
80
if the.keys:pressed('left') then
97
82
if self.onGround then self:play('walk') end
100
83
elseif the.keys:pressed('right') then
102
85
if self.onGround then self:play('walk') end
105
87
if self.onGround then self:play('stand') end