fenomas / game-inputs

A simple module for abstracting key/mouse input for games. Demo:
http://fenomas.github.io/game-inputs/
21 stars 6 forks source link

make touch taps not cancel touch camera control #5

Closed MCArth closed 3 years ago

MCArth commented 3 years ago

Hi - while testing my touchscreen support I noticed if the user taps to place a block it would transfer control of camera rotation over to that new touch ID. This change makes it so the first touch on the screen holds control of camera rotation, which feels more intuitive to me.

fenomas commented 3 years ago

I don't have a setup to easily test this, but looks good to me. Thanks!