scenes/boost: some styling fix
This commit is contained in:
parent
f7582fbe16
commit
90538d5a01
1 changed files with 27 additions and 27 deletions
|
@ -74,7 +74,7 @@ function Character:new(charcontroller, rail, character, id)
|
||||||
self.view.dx = 0
|
self.view.dx = 0
|
||||||
|
|
||||||
self.relx = 0
|
self.relx = 0
|
||||||
self.relxspeed= 0
|
self.relxspeed = 0
|
||||||
|
|
||||||
self.grind = false
|
self.grind = false
|
||||||
|
|
||||||
|
@ -174,9 +174,9 @@ function Character:normalAction()
|
||||||
self.xspeed = math.max(self.xspeed, self.data.stats.spd * 60 * 1.5)
|
self.xspeed = math.max(self.xspeed, self.data.stats.spd * 60 * 1.5)
|
||||||
self.isInAction = true
|
self.isInAction = true
|
||||||
self.canAction = false
|
self.canAction = false
|
||||||
|
self.dashCam = true
|
||||||
self:addTimer("action", .5)
|
self:addTimer("action", .5)
|
||||||
self:addTimer("action_cooldown", 1)
|
self:addTimer("action_cooldown", 1)
|
||||||
self.dashCam = true
|
|
||||||
self:addTimer("dashCam", .5)
|
self:addTimer("dashCam", .5)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -513,7 +513,7 @@ function Character:die()
|
||||||
self.view.x = self.startx
|
self.view.x = self.startx
|
||||||
self.relx = 0
|
self.relx = 0
|
||||||
self.dash = false
|
self.dash = false
|
||||||
self.dashCam= false
|
self.dashCam = false
|
||||||
self.y = self.starty
|
self.y = self.starty
|
||||||
self.z = 0
|
self.z = 0
|
||||||
self.rings = 0
|
self.rings = 0
|
||||||
|
|
Loading…
Reference in a new issue