I need to know how to make mobile motion using left and right without touching an object, here a sample pic:
<img src="http://3.bp.blogspot.com/-vRCLddA2BwU/TY9Zm1QiSNI/AAAAAAAACFg/jXUKsV65wjE/s400/drop.png" border="0" />
Develop games in your browser. Powerful, performant & highly capable.
You need to add a touch object to your project and reference the alpha/beta/gamma every tick, though I think you need phonegap or some other intermediate tool to get the output game reading the accelerometer , as vanilla exports only seem to pick up touch and not the compass/accelerometer.
Here's the manual entry -
http://www.scirra.com/manual/119/touch/page-1
Hmmm... let me try with Touch.Gamma
It works :D
I would like to share my .capx here, you need a mobile device which it supports motion and try it on LAN preview
Gamma