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

Image may be NSFW.
Clik here to view.

Buttons on TableViewCell not working after upgrade to 3.16

@redkoda wrote: After upgraded from 3.10 to 3.16, the following menu button on TableViewCell not working. Do you know why? Thank you. Posts: 1 Participants: 1 Read full topic

View Article


Installation Visual Studio Express 2012

@xpdt wrote: Hi Is it possible to install Cocos2d-x 3.15.1 in Visual Studio Express 2012 or Not? Visual Studio Express 2013 is about 13 GB !!! Visual Studio Express 2012 is only 600 MB Posts: 1...

View Article


Touching sprite - child of scroll view - child of layer

@Deeds wrote: How can I detect the touch of a sprite that’s a child of a scroll view that’s a child of a layer? I know I can detect the touch of the scroll view like this:...

View Article

Why non-default cameras don't have culling enabled?

@harvey123 wrote: Why non-default cameras don’t have culling enabled? Any specific reasons? The code in CCRenderer.cpp, function checkVisibility(const Mat4 &transform, const Size &size) says...

View Article

Image may be NSFW.
Clik here to view.

Texture rendered by Rendertexture not repeating

@betece wrote: i have the following code to render a texture with RenderTexture: auto visibleSize = Director::getInstance()->getVisibleSize(); Vec2 origin =...

View Article


Integrating cocos2dx on Android studio project

@alokdwivedi_12345 wrote: I have created a new android project on Android Studio, now i want to open cocos2dx project on the button click of Android button, but i am not able to Integrate cocos2dx...

View Article

Image may be NSFW.
Clik here to view.

Using prebuilt libs

@ForzCross wrote: In previous versions i used cocos gen-templates and cocos new -t binary. But now it seems like this way became depricated : Prebuilt generation not working in 3.13.1 and 3.11.1 In...

View Article

Load / Unload sprite sheet

@Sleicreider wrote: Hey, I want to pre-load and unload a sprite sheet. For loading I’m using SpriteFrameCache::getInstance()->addSpriteFramesWithFile(plist file); this loads the plist and its...

View Article


Any plan to support arkit on ios

@cty41 wrote: Since apple has published arkit on ios11, I check the documentation https://developer.apple.com/documentation/arkit/arskview/providing_2d_virtual_content_with_spritekit, it has 2d...

View Article


C++17 support for Android/iOS?

@Sleicreider wrote: Hey, Has anyone successfully used C++17 for Android and iOS? I can’t test iOS atm, but i tried to enable it on android but it seems like it doesn’t work? “unrecognized command line...

View Article

Do you have any plan support language code

@pineoc wrote: Hi, cocos2dx team. I want to know language code support. (like zh-hant, zh-hans language type) thanks Posts: 1 Participants: 1 Read full topic

View Article

Black Screen on iOS Device - Cocos2d-x 2.1.5

@jerrybrace wrote: I’m attempting to update an older game that I’ve built using Cocos2d-x version 2.1.5 and when running it on an iOS device the screen is rendered completely black. I can hear the...

View Article

Need some basic solution for a Tower defense game

@QuocDat wrote: Hi guys, i am learning cocos2dx and want to apply what i learn along the way into a Tower defense game. Most of the TD games, monsters have one or two paths to run on, if they reach...

View Article


Telling me 2 different NDK version's for Android Studio setup

@IzzyJM wrote: Hello I am following ( http://cocos2d-x.org/docs/installation/Android-Studio/ ) and just now setting up cocos2d-x for android studio but am confused to which version of NDK I should...

View Article

Build error cocos2dx Android Studio

@lexxvis wrote: I have Android Studio 2.3.3, ndk r15. I’d used cocos 3.15 and project built correctly but then I changed cocos version to 3.16 and now the same project doesn’t build [armeabi] Compile...

View Article


PhysicsJointDistance and ScaleBy

@ljfantin wrote: Hi Guys, I have a problem with PhysicsJointDistance and Scale action. I’m using PhysicsJointDistance between two Sprites. It works, but I have a problem when I run a scale action in...

View Article

Tmx file's text how do I get the Text I'm using Tiled to create them

@RazerJack wrote: Hi all I have work out how to get the element of polygon’s and different objects but how do I retrieve text between the >Hello World< here is my XML with just simple Hello...

View Article


Image may be NSFW.
Clik here to view.

Android Oreo Keyboard Issues

@zsafder wrote: Hi, I am testing my Cocos2dx 3.16. I am writing chat application client that contain a text field in bottom and a table view for messages. I am having two major issues Android 8.0...

View Article

PrimitiveCommand custom drawing transform/position

@Nisi wrote: Hello there, I try to implement custom drawing and used a PrimitiveCommand. Unfortunatley I have some problems moving them around on my screen with for exmple SetPosition. I’m new to...

View Article

Image may be NSFW.
Clik here to view.

Cocos installation: command not found

@yoman wrote: Hi friends, I am trying to start with cocos2d-x. I have done all steps from video tutorials and readMe file of cocos. Here is my my steps. All is done well. But command line ‘cocos’ does...

View Article
Browsing all 2748 articles
Browse latest View live


Latest Images