cleaned code, fixed icon, buttons, and resolution
This commit is contained in:
parent
594e47ffd1
commit
6ba4f47466
4 changed files with 57 additions and 76 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue