Added Accelerometer events to mojo.html5.js

Monkey Targets Forums/HTML5/Added Accelerometer events to mojo.html5.js

Indiepath(Posted 2011) [#1]
Added this to the GameMain function :



Added this to the gxtkInput class


Replaced the following functions :



Indiepath(Posted 2011) [#2]
Seems X & Y are mixed up :




SinisterSoft(Posted 2011) [#3]
Would be good if this was in the official version...


xzess(Posted 2011) [#4]
Indeed but I dont get it to work, anyways I don't really like to hack into mojo.
Any chance to have this official included in next update?


Aman(Posted 2011) [#5]
This is 4 months old. Added to my monkey wishlist


xzess(Posted 2011) [#6]
yes its so old and it should be in official release since this would really boost debugging for us


Aman(Posted 2011) [#7]
Specially for iOS since you cannot just send your app for friends to try on their phones.


TheRedFox(Posted 2011) [#8]
TestFlight is quite an option to send your app for friends to try.

https://testflightapp.com/