Quantcast
Channel: cocos2d-x - Cocos Forums
Browsing all 2748 articles
Browse latest View live

Android build in release mode

@sheshmoshen wrote: Hello I’m preparing to release my app and It doesn’t work: I ran the command cocos run -s /myProject -p android -m release and it attempts to build in release mode but then it...

View Article


Cocos2d-x multithreading?

@nichlaspro132 wrote: Does cocos2d-x use multithreading, like one thread for the game engine and one for user input? Or how are things made as efficient as possible? Also, have you ever been in a...

View Article


TouchEnded never called if device onPause()

@sevent7 wrote: In drag and drop game, I usually move things in touchMoved and return it to the original position in touchEnded. But touchEnded never called if device locked or android home button...

View Article

How to adding a new class file to cocos engine?

@standwally wrote: I created a new feature class file for cocos engine. and I want to add a file to cocos engine. Actually, when I create a new project with command, ‘cocos new MyGame…’, I want to...

View Article

How to draw lines of layer bounder for debug purpose

@armnotstrong wrote: Hi, I wonder if there is an easy way to draw a red line of the layer to show the area of a layer? brickLayer = Layer::create(); brickLayer->setPosition(map->getPosition());...

View Article


Image may be NSFW.
Clik here to view.

Spitesheet animation Issue

@romase wrote: Hi, everyone! I created spritesheet animation in Adobe Animate CC and used in my cocos2dx based application and I get this artifacts: there should be one woman attack animation, but...

View Article

Creating a cocos2d-x scene in a native iOS project

@azimuthent wrote: I have a project where I used cocos2d-iphone, basically the whole project was native, the only screen that was cocos2d was the actual game. What I’d like to do is keep the project,...

View Article

Sdkbox undefined reference to 'std::__throw_out_of_range_fmt(char const*,...

@SnkTest wrote: i am getting some sdkbox error while compile my project for android studio . hear is error log. ////// jni/./sdkbox/libs/armeabi/libsdkbox.a(AdBooster.o):function...

View Article


Additional Include Directories aren't working

@FailingUser wrote: In Visual Studio C++, I add my project’s cocos2d folder into the additional include directories, though, I still include any of the files within that folder unless manually go to...

View Article


OrbitCamera action around node (card flip)

@Winterhearted wrote: OrbitCamera action orbits the camera around the center of the screen using spherical coordinates. If target node is away from the center of the screen the result looks very ugly....

View Article

Crash on cocos2dx 3.1.1

@hatiboy wrote: Hi all. I am a newbie. I have a small game on Google Play. And in 1 week run. I received 1600 crashs :(( This is report of Google Developer Console. I cannot see anything in it. Please...

View Article

Cocos2d game crashed in Samsung DEX mode

@namyi wrote: Some COCOS2d games crashed in Samsung Dex mode. When I launch some game, A crash was occurred. Please refer to below log....

View Article

Image may be NSFW.
Clik here to view.

Physics Joint Pin problem

@Slyusarev wrote: Hello! I have a problem with PhysicsJointPin When you launch the main GameScena game scene, the turn point is In the center of the body of rotation and no problems. But when you move...

View Article


Image may be NSFW.
Clik here to view.

Trouble about app uploadto google play

@tju_demon wrote: "Your app(s) are using an unsafe implementation of the HostnameVerifier interface"Above is the reponse from google play and poorly my app is rejected. I have tested the way here :...

View Article

Max Audio in Cocos2dxSound.java for SimpleAudioEngine

@sevent7 wrote: why did MAX_SIMULTANEOUS_STREAMS_DEFAULT only set to 5? is it safe to change it to 10 or more? Posts: 1 Participants: 1 Read full topic

View Article


Error android build fail whyyyy?

@Dimamoussa wrote: jni/…/…/Classes/JSB_Manual_XObject.cpp: In function ‘void JSB_XObject_Callback (void*, int)’: jni/…/…/Classes/JSB_Manual_XObject.cpp:27:113: error: no matching function for call to...

View Article

Image may be NSFW.
Clik here to view.

App starts but as crop of screen at linux

@kukuruzo91 wrote: When I start my cocos2d-x app under Ubuntu-14.04 it starts as crop of screen. See glxinfo | grep "OpenGL version" OpenGL version string: 3.0 Mesa 10.1.3 What can be wrong? What can...

View Article


Close and Reopening Cocos2d-x Activity in native application

@omid_259 wrote: Hi, my app is a tiny game store the store developed by native java and the game player developed by Cocos2d-x. the games are similar with different textures, databases and different...

View Article

Can we know that release date of version 3.16?

@standwally wrote: I faced an unknown randomly crash on Android OS version 7.0 with engine version 3.15.1. But, when I turn off sound and effect, crash doesn’t occur. Posts: 1 Participants: 1 Read...

View Article

Utilizing c++ libraries and the NDK on android

@mfheyn wrote: Hello Community!, First of all, I would like to mention that I am completely new to Android development. While I know the Java language fairly well, I have not done any android...

View Article
Browsing all 2748 articles
Browse latest View live


Latest Images