Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

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

No replies to this topic
accelerometer movement
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

deciopenna

[GLOBAL: userInfoPane.html]
deciopenna
  • 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.




[topic_controls]
[/topic_controls]