Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

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

Keywords

none

install

npm i fps-touch-controls

Downloadsweekly downloads

5

version

0.0.1

license

none

last publish

collaborators

  • avatar