• Saturday , 21 September 2019

Cocos2d-x JavaScript Tutorial 50 – Using Accelerometer to Move A Sprite

Code Canyon



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

3d Ocean

Related Posts

3 Comments

  1. wu yan
    August 18, 2019 at 03:48

    excellent tutorial..

    thx and god bless Sonar System..

    a sincere blessing from hong kong… ^__^

  2. Cris Nguyen
    August 18, 2019 at 03:48

    Thanks you so much! 🙂 

  3. BreadedTurtle
    August 18, 2019 at 03:48

    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

Leave A Comment

You must be logged in to post a comment.