Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]

Accelerometer movement to power bar
Started by deciopenna Sep 01 2015 02:53 PM

No replies to this topic
accelerometer movement
This topic has been archived. This means that you cannot reply to this topic.
[TOPIC: post.html]


[GLOBAL: userInfoPane.html]
  • Observer

  • 2 posts
  • Corona SDK

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.