This commit is contained in:
Andrew Minnich
2018-07-04 19:36:50 -04:00
parent 776e6debd5
commit 2ee8366156
4 changed files with 4 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
return { return {
std = 'lua51+love', std = 'lua51+love',
ignore = {'212'}, ignore = {'212'},
} }

View File

@@ -268,4 +268,4 @@ function baton.new(config)
return player return player
end end
return baton return baton

View File

@@ -102,4 +102,4 @@ function love.draw()
love.graphics.rectangle('fill', -50, 150, 100, 100) love.graphics.rectangle('fill', -50, 150, 100, 100)
love.graphics.pop() love.graphics.pop()
end end

View File

@@ -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). 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 ## 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.