Adjust how deadzones work
Build Dusk / run-tests (push) Failing after 15s
Build Dusk / build-linux (push) Failing after 21s
Build Dusk / build-psp (push) Failing after 17s
Build Dusk / build-gamecube (push) Failing after 17s
Build Dusk / build-wii (push) Failing after 17s

This commit is contained in:
YourWishes committed 2026-03-11 13:00:11 -05:00
1 parent 54e8e68f86
commit 7356286fe0
14 files changed
+126 -64

No files matched your search

+2 -15
View File
@@ -178,21 +178,8 @@ function sceneDispose()
end
function sceneUpdate()
if inputIsDown(INPUT_ACTION_RIGHT) then
x = x + 1
end
if inputIsDown(INPUT_ACTION_LEFT) then
x = x - 1
end
if inputIsDown(INPUT_ACTION_DOWN) then
y = y + 1
end
if inputIsDown(INPUT_ACTION_UP) then
y = y - 1
end
x = x + inputAxis(INPUT_ACTION_LEFT, INPUT_ACTION_RIGHT)
y = y + inputAxis(INPUT_ACTION_UP, INPUT_ACTION_DOWN)
end