HiHas anyone used Kwik2 to add some accelerometer control to an object, besides shaking the device? Im trying to RnD a small game where the user needs to drop 5 balls into 5 pockets. The balls get drawn randomly on the canvas but using the accelerometer function the user needs to try get them into the pockets.Any help welcome.
UPDATE: I've managed to integrate some of Peach Pellen's code from a tutorial she did here:http://corona.techority.com/2010/11/19/control-an-actor-with-the-accelerometer/I just needed to invert the x and y axis and subtract the motiony and x values instead of adding them. Not too sure why just yet, will keep digging at the problem and try understand why that's the case. I'm assuming its got something to do with the orientation setup? Her example builds fine and runs as expected. Will post any new findings.Many thanks to Peach for that code btw 😉
Accelerometer is something that is in the future feature list. As always, priorities defined what comes first. Add this suggestion to the Roadmap forum and see if you are alone here or not 🙂
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.
When you visit any website, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized web experience.