• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

HTML5 tilt controls with html5 not working

alexhinton

Member
Does the device_get_tilt_x() function work with html5? I am testing them on my iphone after uploading to a website.

The movement controls are super simple so far:
Code:
hspeed = 5*sign(device_get_tilt_x())
No additional code is interfering with this code, when i change it to mouse controls or simply say "hspeed = 5" it will perform correctly.

Please help! Thanks in advance
 
Top