Hi, I’ve looked over question about accelerometer, but haven’t found one that answers my doubt fully.
I wanted to do something kinda like what the game i-Fishing did, where they use the accelerometer to identify when the line is thrown.
What I wanted to do is for people to have their phon on and upright position, and then do a movement kinda of like the ifishing one, where they make the movement of “throwing” with the phone, and the intensity of this movement would define a “power bar”.
Is it possible?
Can I achieve this only using the onTilt event?
How can I identify the intensity of the movement to move the power bar?
Thanks in advance.