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