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

How to put on character armor

@solan wrote: Hello Everyone! Could you please give me advise. I wanted to follow a few steps: Create character with clothes in makehuman and import it via .mhx2 to Blender; Copy only clothes to...

View Article


Outdated how to create a HUD tutorial help

@marulover wrote: hey guys, I was following this tutorial cocos2d-x.org/wiki/How_To_Create_A_HUDand these errors comes up: MessageHud.h...public: inline virtual cocos2d:: LabelBMFont *...

View Article


Compiling for android not working

@ratangsenapathy wrote: I tried compiling the cocos2d-x game for android by running the build_native.py script. But it crashed with the following message: Using Eclipse project :...

View Article

Does any cocos thread loops while another Activity is shown (on Android)?

@zbtyc wrote: Hello all,I need periodically call some method from c++ to java while my game has got displayed another Activity on Android. The method is static or in mentioned Activity. JNI is not the...

View Article

Cocos2d-x 3.11.1 on Android 5.0 , 5.0.1 Crashing

@energyy wrote: Hi, I think there is some kind critical issue on Android 5.0 , 5.0.1 we have following crash logs for that devices: Crashed: nlab.sportgames 0 libcocos2dcpp.so 0xa4ffd958...

View Article


Cocos2d-x 3.11.1 Very strange Android bug

@energyy wrote: Hello, We recently launched game based on 3.11.1 an got lot of crashes on Android 5.0 -> game immediately crashed and pointed to cocos2d-x core functions. What is strange that this...

View Article

[Solved]Android build not running because of ANT build.xml error

@ratangsenapathy wrote: I was trying to compile for android using ./build_native.py. But it crashed with the following error: [aapt] Generating resource IDs... [aapt]...

View Article

Image may be NSFW.
Clik here to view.

How to avoid artifacts in FastTMXLayer

@noprops wrote: I'm using FastTMXTiledMap of cocos2d-x 3.12.I found a line between tiles with Android device, not found with iPhone. Following it has been tried, but had no effect. set Extrude...

View Article


Understand AssetsManager

@sefiroths wrote: Hi I'm trying to use AssetsManagerEx on iOS but it downloads version.manifest but no other files. The cose I'm using is: void HelloWorld::testAsstes(){ { int currentId = 0;...

View Article


Image may be NSFW.
Clik here to view.

RichText: how to get the real content size?

@drakon99 wrote: Hi guys I'm using RichText class to put some text inside a ScrollView Instance.I need to set the RichText width in order to split text in multiple lines.To do that I did: RichText*...

View Article

Some mistake about cocos2d-x 3.12 in xcode build plz help

@hansiyuan wrote: hello everyone:i have some problem in this version for cocos2d-x 3.12i download this version in my mac os . my os ver is 10.10.5 and my xcode ver is 5.1.1.today i setup this in that....

View Article

Crash with StopAllAction()

@padmnabh wrote: Hi,I had a weird crash with my app in this the Node* is not null on which I am performing StopAllAction().I got logs something like this in StopAllAction() in...

View Article

Image may be NSFW.
Clik here to view.

Build failed by finding Build Tools revision 22.0.1

@rozamarin wrote: Hi , my helloworld is filed.. with below error.. FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring project ':hello_world'. > failed to...

View Article


Custom font with unsupported characters

@renatoaf wrote: Hi, When developing for iOS using a UILabel (for example), if you set a custom font, it automatically uses a default system font for characters that your font does not support (e. g....

View Article

[SOLVED] Anchor point madness!

@shipit wrote: Alright the bright and brilliant of cocos planet! I'm so stumped trying to scale around an anchor point. I understand the principle: Compute anchor point from touch point. Set that as...

View Article


How to deploy Mac version to Steam?

@dogwalker wrote: To deploy to Steam, I have to copy all the files necessary for running the game into a content folder that Steam will pick up. For Windows, that was very simple, simply use the...

View Article

TinyXML2 on Linux

@h1388 wrote: I am porting my Android game to Linux, I don't find way to include tinyxml2 on my project, is not a good practice to use tinyxml2 on Linux or I have to include it manually? Posts: 2...

View Article


Image may be NSFW.
Clik here to view.

Touch Event does not fire as expected

@hbkmadness wrote: Here is my setup in the cocos studio I want to have a touch event for the whole scene so my OnEnter Function looks like this Layer::onEnter(); auto listener =...

View Article

Is it really necessary to change target for android 4 support?

@nichlaspro132 wrote: Hi! I have an android project in eclipse and it Works great on all the updated devices but for some reason whenever i run the app on a device that has a version of 4 and below it...

View Article

New tutorial : Multiplayer WebSocket Game server written in C using libuv &...

@Meir_yanovich wrote: Hello allThis tutorial i wanted to publish for along time now . As i see that the indie IO games are building their servers in C++ . It is intro to writing MMO games but not with...

View Article
Browsing all 2748 articles
Browse latest View live