Wednesday, July 15, 2015

Phase One is Running

The Android version of Color Crash is starting to take shape. Unfortunately I can't just translate the code from Swift to C++ and swap out APIs. Apple's SpriteKit just does a lot of things for you that Cocos2d-x does not do. For example to figure out which sprite was touched is one simple call with SpriteKit, but in Cocos2d-x I have to iterate through all of the sprites and check to see if the point is within the sprite. It turns out that I am basically rewriting the game from scratch. The upside of this is it should make for a good tutorial.

No comments:

Post a Comment

My Bicycle Store