That code looks fine. Have you tried testing on the device? I don’t know what is required to get it to work with the Corona Remote, but I think some changes need to be made. [import]uid: 10835 topic_id: 5308 reply_id: 17637[/import]
The free version CAN test on the device. Though you will need to pay the $99 to Apple for your developer certificate. [import]uid: 10835 topic_id: 5308 reply_id: 17706[/import]
try looking at values of event.xGravity and event.yGravity before deciding what multiplier to use (35 in above example)
Most likely this number varies from setup to setup.
I may be wrong though… will confirm when I get back to my mac later. [import]uid: 48521 topic_id: 5308 reply_id: 32629[/import]