fps-touch-controls

0.0.1 • Public • Published

fps-touch-controls

designed to be used with player-physics

uses game-controller for the UI

var createTouchControls = require('fps-touch-controls')
var touchControls = createTouchControls()
touchControls.pipe(playerPhysics)
touchControls.on('command', function(command, setting) {
  playerPhysics.emit('command', command, setting)
})

LICENSE

BSD

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    2

Package Sidebar

Install

npm i fps-touch-controls

Weekly Downloads

2

Version

0.0.1

License

none

Last publish

Collaborators

  • maxogden