Hi all here
Im now writing a small game with cocos2d-x for iOS and android in one project use same code.
because in Android it can not use location of Point to set the sprite’s position, so i all use locations in Pixels in my code.
but now i find a problem,
in iOS i convert pixels to point myself, to move the sprite to the location in pixels , but in Android I need use the direct locations with pixels.
i cannot find a way both work in android and iOS, please help me.