Fixes for some Lua bugs
This commit is contained in:
parent
d5f5f0a930
commit
4960e6b6d7
20 changed files with 413 additions and 103 deletions
|
@ -36,7 +36,7 @@ while not WindowShouldClose() do -- Detect window close button or ESC key
|
|||
ballPosition.x = ballPosition.x + gamepadMovement.x
|
||||
ballPosition.y = ballPosition.y - gamepadMovement.y
|
||||
|
||||
if (IsGamepadButtonPressed(GAMEPAD_PLAYER1, GAMEPAD_BUTTON_A)) then
|
||||
if (IsGamepadButtonPressed(GAMEPAD.PLAYER1, GAMEPAD.BUTTON_A)) then
|
||||
ballPosition.x = screenWidth/2
|
||||
ballPosition.y = screenHeight/2
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue