scenes/boost: some styling fix

This commit is contained in:
Kazhnuz 2019-02-06 07:51:20 +01:00
parent f7582fbe16
commit 90538d5a01

View file

@ -74,7 +74,7 @@ function Character:new(charcontroller, rail, character, id)
self.view.dx = 0
self.relx = 0
self.relxspeed= 0
self.relxspeed = 0
self.grind = false
@ -174,9 +174,9 @@ function Character:normalAction()
self.xspeed = math.max(self.xspeed, self.data.stats.spd * 60 * 1.5)
self.isInAction = true
self.canAction = false
self.dashCam = true
self:addTimer("action", .5)
self:addTimer("action_cooldown", 1)
self.dashCam = true
self:addTimer("dashCam", .5)
end
end
@ -513,7 +513,7 @@ function Character:die()
self.view.x = self.startx
self.relx = 0
self.dash = false
self.dashCam= false
self.dashCam = false
self.y = self.starty
self.z = 0
self.rings = 0