I was looking around and I have not found an answer to this so I guess I should answer now. How do I control an object with the accelemoter and ONLY be able to tilt left and right and stop when I get to a certain point. I am thinking that means making like a rect and playing off to the side but I dont have much experiance.
BTW this will be for my first corona sdk game and to see if I should purchase a lisense
Label: corona android iphone ipad building error inmobi problem display screen View image tableView failed object physics touch button game lua config event listener |
Tilt
@asiankidspro
Visit techority.com great tutorials by Peach Pellen
Control An Actor With The Accelerometer
http://techority.com/2010/11/19/control-an-actor-with-the-accelerometer/
Thanks KeepTrying :)
Asiankidspro - use the tutorial linked to but simply leave out those parts referring to changing the Y, leaving in those relating to X ;)
Peach :)
You are welcome XD
Thanks I got the code working and everything in going smoothly. I am hoping now to make my graphics not look as crappy as they are right now!
I can't offer any advice there, my graphics are AWFUL. (Except in Burger Cook, but the art there was done by Biffy Beebe, who is awesome at all things artistic!)
Peach :)
views:1636 update:2011/11/26 9:01:35
热门文章
GameCenter LeaderBoards and Achievements Enabled Through OpenFeint
send message and call to a person
Forum: Report Spam + PM
[INSTALL_PARSE_FAILED_NO_CERTIFICATES]
[SOLVED] Director ERROR: Failed to execute new( params ) function on 'screen1'
Too many (200) local variables
Corona SVG Level Builder released. Drag and drop physics level editor with Inkscape and SVG.
Small bug in Collectible Items example
Pivot Joints and apparent elasticity
Can't make removeSelf() delayed
send message and call to a person
Forum: Report Spam + PM
[INSTALL_PARSE_FAILED_NO_CERTIFICATES]
[SOLVED] Director ERROR: Failed to execute new( params ) function on 'screen1'
Too many (200) local variables
Corona SVG Level Builder released. Drag and drop physics level editor with Inkscape and SVG.
Small bug in Collectible Items example
Pivot Joints and apparent elasticity
Can't make removeSelf() delayed
相关文章
Android version difference?
In App Purchases Scheduled for next drop
Lily's Play House for Kids - iPhone / Android
AdMob helper module
Centering Inneractive banner ad
sprite:prepare() is expected to move to the first frame of the named sequence. This doesn't happen though.
facebook ID for each and every app?
backup data via SMTP & POP for iphone
Need help getting an Fxfield to follow a ship
Another tables question - calling class with event arguments
In App Purchases Scheduled for next drop
Lily's Play House for Kids - iPhone / Android
AdMob helper module
Centering Inneractive banner ad
sprite:prepare() is expected to move to the first frame of the named sequence. This doesn't happen though.
facebook ID for each and every app?
backup data via SMTP & POP for iphone
Need help getting an Fxfield to follow a ship
Another tables question - calling class with event arguments
corona forums © 2003-2011