cleaned code, fixed icon, buttons, and resolution

This commit is contained in:
Mango 2025-09-01 21:23:11 -07:00
commit 6ba4f47466
4 changed files with 57 additions and 76 deletions

View file

@ -13,12 +13,12 @@ end
function Button:update(dt)
if self.b == "triggerleft" or self.b == "triggerright" then
if fightstick:getGamepadAxis(self.b) == 1 then
self.press = true
self.press = true
else
self.press = false
end
else
if fightstick:isGamepadDown(self.b) then
if fightstick:isGamepadDown(self.b) then
self.press = true
else
self.press = false