[WIP] Treballant en el jefe. Separat el 'motor' de moviment per patró

This commit is contained in:
2026-04-14 23:41:34 +02:00
parent d477988d10
commit 0c9c31dca2
4 changed files with 234 additions and 56 deletions

View File

@@ -74,6 +74,8 @@ 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