Top "Cocos2d-x" questions

C++ cross-platform version of Cocos2D, an open-source mobile 2D game framework.

Out-of-line definition error on a class but it is declared in the header file

Now this is a weird problem. I was coding two days ago and stopped and then continued just now. On …

c++ xcode cocos2d-x
Cocos2d-x android can't resolved coscos2dx library

i am starting by macOSX xcode4.5 . i tried to tutorials. Using cocos2dx, it completes building of macOSX, The problem …

android macos cocos2d-x
Opengl Shader, what's the gl_FragColor's alpha components?

I think it'll be a little bit simple answer. But I can't find the answer with googling. It's OpenGLES shader …

opengl-es glsl shader cocos2d-x
Cocos2d-x vs cocos2d-android for an Android game

After using 'cocos2d-iphone' in one of my projects, I am trying to decide which flavor of Cocos2d I …

cocos2d-android cocos2d-x
How do I draw a line using Cocos2D-X?

I have been playing around with Cocos2D-X on my computer, and I have got it to build the hello …

c++ cocos2d-x cocos2d-x-2.x
File I/O using COCOS2D-X

I'm trying to load up a Comma Separated file called POSDATA.GAMEDATA. I've looked up several places on the internet …

c++ xcode cocos2d-x
How to check crash log using android ndk in cocos2d-x

I use cocos2d-x to develop a game, after it runs perfectly in iOs, I turn around to android platform. …

android c++ android-ndk cocos2d-x stack-trace
How to use Android Studio with Cocos2d-x

I work as an android programmer for just under a year now, and I just started to learn about android …

android android-ndk android-studio cocos2d-x
How can I include cocos2d-x templates in Xcode?

I'm trying to follow this guide which is often quoted as being an excellent tutorial for Cocos2d-x. The problem …

xcode templates cocos2d-iphone cocos2d-x
How to swap the sprite in the CCSprite object in Cocos2d-X

I have an object that inherited from CCSprite. I want from inside this object to change the image. How do …

ccsprite cocos2d-x