Cocos2d-x Tutorial 50 – Using Accelerometer to Move A Sprite
Base project code link (Tutorial 49)
https://mega.co.nz/#!Nh8G3CSL!hSTbx_9hXuQ02TxRWQgBLs3iawQgx9JAaSTYVHN6XGA
Source code link
https://mega.co.nz/#!FoFV1RDS!Lyg1ilVrnIt6UMI9t44oo_cpY7skBpFDTqP8Pd_jV3E
Glo Breaker (our game developed using cocos2d)
https://itunes.apple.com/us/app/glo-breaker-free/id672548535?mt=8
Check out our Cocos2d-x book to learn how to make games https://www.packtpub.com/game-development/cocos2d-x-game-development-essentials .
Hundreds of free videos at
www.sonarlearning.co.uk
Original source
3 responses to “Cocos2d-x JavaScript Tutorial 50 – Using Accelerometer to Move A Sprite”
excellent tutorial..
thx and god bless Sonar System..
a sincere blessing from hong kong… ^__^
Thanks you so much! 🙂
Hi, just finished all your tutorials. They were great! One question. Is there a way to improve the frame rate of the sprite while using the accelerometer. The game framerate is 60 on my device, but moving a sprite with the accelerometer seems to move at 15 – 30 frames or so? Thanks