cocos2d-x Questions
2
Solved
I try to integrate AdMob ads and GooglePlay IAP into clean (hello world) cocos2d-js 3.5 project.
Occasionally (every 5th run) the application crashes and shows the exception bellow.
This behavior ...
Rink asked 18/8, 2015 at 16:11
2
Solved
When developing using cocos2d-x 3.x for a device, it automatically sets the GL view to fit the device. In VS2012 on windows, it creates a seemingly-arbitrarily sized window. How do I set the size o...
Gallon asked 4/6, 2014 at 4:3
1
Solved
I am trying to build Cocos2d-x project in Codeblocks IDE in Ubuntu 14. I got fontconfig/fontconfig.h not found error during compiling. I'm stuck here. How can I solve this?
Escapade asked 19/6, 2015 at 6:44
3
Solved
I work as an android programmer for just under a year now, and I just started to learn about android game development. The framework I choose to work with is Cocos2d-x.
I have seen guides and tuto...
Humoral asked 1/3, 2014 at 9:13
0
I have a Cocos2d-x project and I wish to disable all the logs from the external JARs that I've attached, from Flurry to Pushwoosh, there are many external API's. Is there any way to remove the logs...
3
Solved
I have a scene contains many layer(the layer contains many sprite), how can I pause the schedule and actions , but then I can resume them.
Cichocki asked 18/12, 2012 at 2:24
2
Solved
I am using Xcode 6.3.1 for developing an iOS game using cocos2dx 2.2.6.
I need to change the name of my iOS application.
I used to do it by pressing return key after clicking the project in XCode....
2
I need to know how LibGDX compares to Cocos2dx for the android platform. Yes, portability is a goal, but so is quality, ease of use and frame rates.
2
I have developed a 2D game using Cocos2d-x and Marmalade.
I would like to know what would it be the "better solution", considering performances, memory etc, to create a Scene before playing the ga...
Labrador asked 7/2, 2013 at 10:56
1
Solved
I am trying to get my text labels to automatically resize if the text is longer than the box they are in. I also want it to support multi-line functionality. I have done some searching online and s...
Raze asked 11/3, 2015 at 17:1
4
i trying to add AdMob to cocos2d-x 3.2 simple game
using Xcode 5.1 iOS 7.1
i following the tutorials in
https://developers.google.com/mobile-ads-sdk/docs/#ios
and
http://plaincode.blogspot.co.il/...
Beginning asked 19/7, 2014 at 20:38
1
Solved
I tried to build with github's prebuilt cryptopp but it doesn't work, too. it occur errors like below:
Undefined symbols for architecture arm64:
"CryptoPP::BufferedTransformation::ChannelFlush(...
3
Solved
I'm trying to load up a Comma Separated file called POSDATA.GAMEDATA. I've looked up several places on the internet and it turns out I need to do some tweaking and / or a different class.
I tried ...
0
I have already installed cocos2d-x 3.0 and try to build an android version but when I run ./build_native.py, it was failed with error
File "./build_native.py", line 89, in do_build
raise Exception...
2
Solved
I have done this to catch Home and Back buttons press events on android devices:
Overrided void Layer::onKeyReleased(EventKeyboard::KeyCode keyCode, Event* event) function like this:
void MyLayer...
Evacuation asked 5/6, 2014 at 0:37
4
Solved
I'm using cocos2d-x v3.0 and in some test project I'm doing some custom drawing by overriding Node's draw method, but in the DrawPrimitives example provided they do something like this:
void DrawP...
Torritorricelli asked 21/3, 2014 at 2:49
5
Solved
I am using cocos2dx to make a small game and in the activity of my game i give the following functions to handle back button.
@Override
public boolean onKeyDown(int keyCode, KeyEvent event)
{
r...
Antisana asked 4/12, 2012 at 7:1
1
I'm trying to set up cocos2d-x for android and I followed a video tutorial
I passed the steps for terminal without any problem (setup.py command result is as expected).
My problem is after I set ...
Igor asked 23/8, 2014 at 13:25
5
Solved
I'm trying to follow this guide which is often quoted as being an excellent tutorial for Cocos2d-x.
The problem is that my downloads for Cocos2d-x (2.2 and 3.0 alpha0) do not include the file the ...
Doubletalk asked 24/10, 2013 at 15:49
2
Solved
I am working on a game on cocos2d-x-2.1.4, however, when I try to build it on Android, it failed with the error: format not a string literal and no format arguments [-Werror=format-security] on the...
Clouded asked 23/8, 2013 at 2:25
0
I want to add a particle body(say Fire) before another physics body(the arrow).
So, i am using the spring joint to keep them joined with stiffness around 20000, but still its starting the correct w...
Courland asked 1/7, 2014 at 11:27
1
Solved
I think it'll be a little bit simple answer.
But I can't find the answer with googling.
It's OpenGLES shader thing. I am using cocos2d-x engine.
This is my fragment shader code.
precision lowp ...
1
Solved
I could not find any cookbook/tutorial how build in debug build a cocos2d-x 3.1 project for Android and how to debug it directly on device. Please help by pointing out steps.
What I do and what pr...
Emotionalize asked 20/6, 2014 at 19:8
7
I am trying to compile Android native application developed on cocos2d-x. When i Try to debug my application i get the following error.
Android NDK: jni/Android.mk: Cannot find module with tag 'Co...
Pushup asked 23/4, 2013 at 7:45
5
I have started Game Development using cocos2dx. And started with HelloWorld sample game. I am able to run this sample game. But when I try to change the Background Color, I am getting error in
*...
© 2022 - 2024 — McMap. All rights reserved.