cocos2d-x Questions
3
Solved
I'm just moving towards mobile apps... A friend of mine told me to start with cocos2d, I'm good in javascript. while searching google for cocos2d, and within cocos2d-x.org I found
cocos2d-x
coco...
Spermatocyte asked 2/6, 2014 at 10:7
2
I want to have a button in my (iOS) app that takes a screenshot of the current screen and then attaches it to a text message.
Like I have seen in this other app...
I have message sending workin...
3
When I compile cocos2d-x (version 3.3) using visual studio 2015, an error occured, saying:
fatal error C1189: #error: Macro definition of snprintf conflicts with Standard Library function declar...
Schmuck asked 3/1, 2015 at 11:48
1
Solved
I am developing game in android using cocos2d-x plateform. I include game .so file in android code. Game working fine in marshmallow and below version devices but when i run this app in android 7 n...
6
Solved
I'm using Cocos2d-x and trying to detect touches in my HelloWorld project. Though I'm having no luck.
.h
class HelloWorld : public CCLayer{
private:
CCSpriteBatchNode * _batchNode;
CCSprite *_...
Clerihew asked 21/6, 2012 at 15:6
6
Solved
I have made android build using cocos2dx for the device having size 480*320 and it works fine but when i put the same build in another android device having size 640*480 the scaling issue occurs......
Inexact asked 27/7, 2012 at 7:10
4
Solved
I have an object that inherited from CCSprite.
I want from inside this object to change the image.
How do I change the image (sprite) without creating a new CCSprite object in Cocos2d-X?
Thanks, ...
7
Solved
I'm using cocos2d-X v3 and I created a new cocos2d-X project following this tutorial.
But when I run
cocos run -s ~/MyCompany/MyGame -p android
I get this error:
building apk
Android platform ...
Volsung asked 8/5, 2014 at 19:45
0
I'm dying with physics , i've tried to use setVelocity however i got slightly different result from different devices.
I've tested on iPhone 5 (on simulator)
and iPhone 6 (real device)
The Directo...
Oppugnant asked 2/10, 2016 at 10:8
1
Solved
I'm making an pool game with cocos2dx.
First, i setup the edgeBox with this parameters PhysicsMaterial(1.0f, 1.0f, 0.8f)
And then these 2 balls PhysicsMaterial(1.0f, 1.0f, 0.5f)
On the update func...
Pyknic asked 27/9, 2016 at 4:42
0
I got this error when I tried starting the app through Samsung S7 edge. I have tried running the app on other devices with OS 5.1 and below, and the app worked fine. Here is the error I get from Go...
Embryologist asked 11/8, 2016 at 3:4
1
Solved
I am currently developing a program that needs to download some images from the socket server,and the downloading work will execute a long time. So, I create a new std::thread to do that.
Once it...
Fayfayal asked 23/7, 2016 at 5:19
5
I am trying to run my cocos2d-x game on android devices, it works perfectly on android 5.0(lollipop), but crashes on lower android versions. I am getting the following error:
02-25 10:41:09.787: E...
Taveda asked 25/2, 2015 at 5:29
6
Yesterday, I updated Xcode to the newest version (5.1 (5B130a)) to compatible with iOS 7.1. Then I build my project, I get the error "Cast from pointer to smaller type 'int' loses information" in E...
Caudate asked 15/3, 2014 at 3:10
1
Solved
After switching to Xcode 7.3, and running the project on the same, I got following error-
libpng error: CgBI: unhandled critical chunk
I have set Compress PNG Files in build setting of the proje...
0
I built OpenSS1.0.2g for SmartfoxClient API 1.6.3 (Cocos2dx v3 - Android - Window10 64bit). It throws error: Error SSL archive symbol table (run ranlib).
My config in Android.mk
LOCAL_CFLAGS += -...
Unsteel asked 31/3, 2016 at 4:23
7
Solved
I am using Android NDK to build my cocos2dx project, within the Android.mk, there is a definition for LOCAL_SRC_FILES where each of the cpp file are listed. Whenever I added a new source file, I'd ...
Berkey asked 21/8, 2013 at 4:40
2
Solved
I have a gradle-experimental 0.6.0-alpha1 compliant build.gradle file:
apply plugin: 'com.android.model.application'
model {
android {
compileSdkVersion = 21
buildToolsVersion = "23.0.2"
def...
Ralleigh asked 10/12, 2015 at 16:38
6
I'm using the latest code checked out from GitHub. (0.13.0 beta)
I'm developing for Android with Eclipse. I did added *COCOS2D_DEBUG* in Android.mk. I checked and made sure that COCOS2D_DEBUG was ...
Decolonize asked 25/4, 2012 at 8:7
0
Requested but did not find extension point with identifier Xcode.DVTFoundation.DevicePlatformMapping
Getting this warning when simulating an iPhone 4 in OS X using the Cocos2d-x engine. It's being spit into the terminal and I have to perform a Control-C to take back the terminal. The entirety of t...
Cousingerman asked 9/1, 2016 at 18:50
5
Solved
I have been playing around with Cocos2D-X on my computer, and I have got it to build the hello world program on all the devices I would like to be able to build it on.
I know how to make the progr...
Overshoot asked 19/7, 2012 at 12:20
1
I am trying to solve a Cocos2d-x Keyboard input crash on Android 5.x when I create CCImage from the text with many emoji found on the keyboard (some work though, but most don't.) On Android 4.x sev...
Mazzola asked 16/12, 2015 at 22:42
2
I'm trying to draw a cubic bezier path with a certain thickness, but the curve appears like a sequence of disconnected segments (3 in my case). This is a screenshot (the blue circles are the contro...
3
Solved
I have a "stage selection" scene and a "game" scene. However when the user presses the button to start the game scene there is a delay between the pressing and the scene showing (about 2 seconds or...
Vashtivashtia asked 14/9, 2015 at 4:42
4
Solved
I've been writing a game using cocos2d-x and ran into an issue with changing the background color. I found an example in cocos2d, but apparently this only applies to cocos2d which is written in Obj...
Mach asked 24/8, 2012 at 22:6
© 2022 - 2024 — McMap. All rights reserved.