cocos2d-x Questions

1

Solved

I'm using Xcode IDE and Cocos2dx for developing multi platform game. i have just started development and 'm stuccoed at one place. I want to change the resource folder in accordance to the size of ...
Lowdown asked 12/9, 2013 at 9:50

1

Solved

I use cocos2d-x to develop a game, after it runs perfectly in iOs, I turn around to android platform. But it run somewhere in android, and I only receive some error log like this: 08-26 10:49:23....
Monsoon asked 26/8, 2013 at 3:57

2

Solved

Why do I need this? Basically I need to turn a color image into gray-scale. Including a gray-scale version of the image could be a solution, but space is tight in my situation - I don't want my AP...
Euphonium asked 12/3, 2012 at 10:50

2

Solved

Edit: With enough rewriting, and commenting, I have it running, will post final below for others. Edit2: I've been more updating my own version, and I've learned the original coder was not very go...
Averett asked 26/4, 2012 at 20:38

1

Solved

I am viewing cocos2dx c++ source code and in it there are many places where they use class Classname; e-g in CCNode.h line 43 class CCCamera; Classname is name of the class they are using a...
Jovitta asked 27/7, 2013 at 15:47

1

I'm using cocos2d-x v2.1.4 and I have this crash log from logcat: I/DEBUG ( 6575): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** I/DEBUG ( 6575): Build fingerprint: 'acer/a500_ww...
Gauthier asked 8/7, 2013 at 9:8

2

Solved

So in Objective-C with Cocos2d, I'd use a NSMutableString with format to put a variable (score) into a string. I'd take that string and use a CCLabel to place it on the screen. Using Cocos2D-x, I'...
Sheryl asked 20/9, 2012 at 4:46

2

I have a problem to generate the Android APK file. When I run ant debug compilation work fine, but when I run ant debug I have following error: iMac:proj.android smartmind$ ant debug Buildfile: ...
Womble asked 9/11, 2012 at 16:8

1

I am getting the following stack trace in Android while using a shared library. When I try to use ndk-stack it gives error saying "unable to locate routine information for address 80ce4188 in modul...

1

Solved

I am trying to build a game using cocos2d-x. While compiling using cygwin for armeabi-v7a i get the following warnings E:/android-ndk-r8d/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin...
Graeme asked 6/3, 2013 at 12:36

1

Solved

I have defined an interface class like the following. class IRecyclableObject { public: virtual ~IRecyclableObject() {} virtual void recycle() = 0; virtual void dump() = 0; virtual int getRec...
Gasholder asked 17/2, 2013 at 16:55

1

well i am on windows 7 ,64 bit,having the ADT bundle for windows.. i am a bit confused with all the tutorials(a) cocos2d-x setup for android on windows 7,also they are too old..after that the...
Defeasance asked 3/2, 2013 at 7:4

1

I just finished my first cocos2d-x game. I've tested it on my GNexus 4.1 and other lower devices, including tablets. However, when bought and downloaded to a Nexus 7, it won't even open. It's runni...
Humane asked 25/11, 2012 at 20:51

2

Solved

I start with Cocos2D-X for android following http://www.raywenderlich.com/11283/cocos2d-x-for-ios-and-android-getting-started. I run the demo in xcode and android with no problem, until I go to th...
Yarmouth asked 14/1, 2013 at 4:29

1

Solved

I am now developing Cocos2d-x with Xcode. But I do not know how to examine the actual class of C++ object with LLDB. As you can see in the image, the Xcode's inspector knows the actual class but p ...
Snapdragon asked 18/12, 2012 at 4:31

1

Solved

I've never spent so much time on initial setup for a development environment before, this is getting kind of ridiculous. I'm trying to run the demo code that comes with cocos2dx. I'm using: the ...
Pyrimidine asked 31/12, 2012 at 0:32

4

i am starting by macOSX xcode4.5 . i tried to tutorials. Using cocos2dx, it completes building of macOSX, The problem occurred in android sources. No contents of cocos2dxActivity are described....
Problematic asked 29/9, 2012 at 15:38

1

Solved

I am trying to get a string in return to a function call from cpp to java. This is my JNI call string GetIDJni() { cocos2d::JniMethodInfo methodInfo; if (! JniHelper::getStaticMethodInfo(meth...
Neogene asked 26/12, 2012 at 4:28

1

I'm working in cocos2dx android using c++, java. I got crash on my device and looked in logcat and found what is attached. Crash log doesn't throw me any useful information at all. I tried on diffe...
Pamphylia asked 20/12, 2012 at 15:33

2

Solved

I'm some familiar with Cocos2d and Cocos2dx. But only I worked in Mac, I know which is possible work with this engine (Cocos2dx) in Windows, but I don't know if is possible develop a game on Linux....

1

Solved

I create cocos2d-x app I'm using cocos2d-2.0-x-2.0.4 I've got error when trying to run app from Eclipse on Android emulator. 12-04 08:03:13.792: E/AndroidRuntime(1081): FATAL EXCEPTION: GLThread 1...
Rutilant asked 4/12, 2012 at 12:8

1

Solved

In my game, which is done for both Android and IOS using cocos2dx, I have to show video(for Android). I am planning to show it in Dialog(on top of game view). Problem is that, I don't have any Acti...
Hatcher asked 14/11, 2012 at 10:45

1

Solved

I have a little project with cocos2d-x libraries. I'm trying to use C++ to call a Java function but i get a signal 11 exception at line: // Get Status status = jvm->GetEnv((void **) &env, J...
Arita asked 1/10, 2012 at 19:1

2

Solved

I am currently learning cocos2D-x and am doing some sprite animation. My Objective is that when a button is clicked the object moves to left with some animation. Now if you click multiple times rap...
Gradely asked 25/9, 2012 at 11:57

1

Solved

I'm working on Linux actually, but I use Mac too. I'm trying to add multi language support to my game, and I'm going to use different XML with tags. When I use ccLanguageType _myLanguage = CCAppl...
Fruity asked 26/6, 2012 at 11:25

© 2022 - 2024 — McMap. All rights reserved.