Hello everyone, I'm trying to use the accelerometer to tilt a car, can someone tell me how to apply it in an example like this:
https://www.dropbox.com/s/wd4v7m66nhimhi6/Car.capx?dl=0
https://www.scirra.com/manual/119/touch
You'll be using the Touch.Alpha, Touch.Beta, and Touch.Gamma expressions to get the tilt angle in degrees. Which direction do you want to tilt?
For example, you can set the car angle by System - Every tick | CarSprite - Set angle to Touch.Gamma
unfortunately, are not very practical program, someone could make me an example of this capx:
Many thanks
Develop games in your browser. Powerful, performant & highly capable.
can anyone help me please, is for a school project ......