mirror of
https://github.com/TangentFoxy/baton.git
synced 2025-07-27 18:42:19 +00:00
newlines
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
return {
|
||||
std = 'lua51+love',
|
||||
ignore = {'212'},
|
||||
}
|
||||
}
|
||||
|
@@ -268,4 +268,4 @@ function baton.new(config)
|
||||
return player
|
||||
end
|
||||
|
||||
return baton
|
||||
return baton
|
||||
|
2
main.lua
2
main.lua
@@ -102,4 +102,4 @@ function love.draw()
|
||||
love.graphics.rectangle('fill', -50, 150, 100, 100)
|
||||
|
||||
love.graphics.pop()
|
||||
end
|
||||
end
|
||||
|
@@ -139,4 +139,4 @@ At any time, only the keyboard/mouse sources or the josytick sources for a playe
|
||||
You can call `player:getActiveDevice()` to see which input device is currently active. It will return either `'kbm'` (keyboard/mouse) or `'joy'` (joystick) (or `'none'` if no sources have been used yet). This is useful if you need to change what you display on screen based on the controls the player is using (such as instructions).
|
||||
|
||||
## Contributing
|
||||
This library is still fairly young, so feel free to take it for a spin and suggest additions and changes (especially if you try making a multiplayer game with it!). Issues and pull requests are always welcome. To run the test, run `love .` in the baton folder.
|
||||
This library is still fairly young, so feel free to take it for a spin and suggest additions and changes (especially if you try making a multiplayer game with it!). Issues and pull requests are always welcome. To run the test, run `love .` in the baton folder.
|
||||
|
Reference in New Issue
Block a user