[WIP] Treballant en el jefe. La que s'està liant...
This commit is contained in:
@@ -74,8 +74,6 @@ end
|
||||
function imp:controller_input()
|
||||
if DEBUG_FN_NAME then print("controller_input") end
|
||||
|
||||
print(self.action)
|
||||
|
||||
--To Do: JumpFWD
|
||||
if self.action == self.actions.right or self.action == self.actions.left then
|
||||
self.movement = self.action
|
||||
@@ -84,11 +82,11 @@ print(self.action)
|
||||
elseif self.action == self.actions.jump then
|
||||
self:do_jump()
|
||||
elseif self.action == "jumpfwd" then
|
||||
-- self:do_jump(true)
|
||||
self:do_jump(true)
|
||||
elseif self.action == self.actions.shot then
|
||||
-- self:shot()
|
||||
self:shot()
|
||||
elseif self.action == self.actions.super then
|
||||
-- self.moure=imp.state_super
|
||||
self.moure=imp.state_super
|
||||
end
|
||||
self.action = self.actions.no_action
|
||||
end
|
||||
Reference in New Issue
Block a user