Why no touch/tilt commands in HTML5?
Monkey Archive Forums/Monkey Discussion/Why no touch/tilt commands in HTML5?
| ||
It seems a shame that the HTML5 target doesn't incorporate tilt/touch commands. |
| ||
Built-in touch for HTML5 is a big wish for me too. |
| ||
Got tilt working. Take a look here: http://www.monkeycoder.co.nz/Community/posts.php?topic=82 Make the changes that IndiePath proposes and then change the following line: theApp.input.OnDeviceMotion(x, y, z);to: app.input.OnDeviceMotion(x, y, z); |
| ||
Pardon my ignorance, but do this work in non-html (ios target)? Considering they seem to be quite helpful there :) |
| ||
iOS and android already have touch/tilt commands, and since v50 so does html5. This thread is obsolete. |