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

How to stop DelayTime action in Sequence action when the Sequence action is...

@dragon0962 wrote: Hi all, currently , I’m facing the problem as follow : auto delayAction = DelayTime::create(5.0f); delayAction->setFlags(123); delayAction->setTag(123); auto gameFunction =...

View Article


Good cross-platform way to delete a directory?

@dogwalker wrote: I was looking for a good way to delete directories and realized that you’ve made great changes to removeDirectory in 3.17.2 (I’m still using 3.16). I just tested on Windows, and it...

View Article


RenderTexture and global Z layer issue

@R101 wrote: I’m having a problem with the following code when the nodes in the scene use global z instead of local z values for layering. The output image is completely blank in this case. If I use...

View Article

Audio & Images Performance on different platforms

@bilalmirza wrote: Hello, Currently I’m using mp3 for audio. Let’s suppose I want to more performance on apple hardware, Should i switch to another format. Will there be difference in performance?...

View Article

What is best way to parse Json object we get from API response and remove it?

@parth3535 wrote: what is the best way to parse JSON object we get from API response and remove it so it won’t live in RAM we are doing like this, do I need to do any suggestion please cz, me really...

View Article


PNG-8(indexed) in cocos2d-x 3.x?

@vkreal2 wrote: Hi everyone! Anyone here used PNG-8(indexed)? Any known issues using it in cocos2d-x 3.x? Thanks! Posts: 4 Participants: 3 Read full topic

View Article

Console output not shown with NSLog

@DanielRossler wrote: CCLog output is shown in the console. NSLog (from Objective C code) is not shown in the console. More important: AdMob SDK Console output is not shown (probably because it uses...

View Article

Image may be NSFW.
Clik here to view.

How can I find these settings in cocos2d-x project?

@IzzyJM wrote: Im trying to find the source and target compatibility settings in my cocos2d-x project but it doesn’t have this in project structure like the link below does. stackoverflow.com Java...

View Article


Image may be NSFW.
Clik here to view.

Can't see any .so file in my jnilibs

@freebabygames wrote: Hello, I’m trying to build android game with cocos latest stable version which i downloaded from official site as well i follow the steps required to setup path and compile it. i...

View Article


How to interpret Android Studio build fail

@Apollo18 wrote: I’ve got a project that compiles in XCode but fails in Android Studio. Below is the build output. It doesn’t help me get any closer to understanding what the problem is. Here’s some...

View Article

Any advice on printing to a printer?

@dogwalker wrote: I have several screens of data where users are now requesting that I offer printing (league leaders, game stats, game drives, etc). I’d also like to be able to save them to disk, so...

View Article

Small problems with cocos v. 3.17.2 compiler

@serpri wrote: I code on C++ and compile on Windows 7 for Android in command prompt. I used last stable cocos2d-x v. 3.16 with sdkbox 2.3.17.7 Now looks like I succeed to migrate one my project (debug...

View Article

Where can i download COCOSBUILDER?

@corleon_0210 wrote: Hello everybody! I need cocosBuilder.But I can’t find it! Where can I download cocos builder? Posts: 2 Participants: 2 Read full topic

View Article


Crash on Cocos2d::TextureAtlas::drawNumberOfQuads cocos2d-x version 3.17.2

@genix_developer wrote: Play console crash log backtrace: #00 pc 000000000001abd4 /system/lib64/libc.so (memcpy+332) #01 pc 0000000000dac57c /data/app/com.dinogo.catarmy-1/lib/arm64/libMyGame.so...

View Article

Cocos2-x C++: Tools needed for game development productivity

@shivmsit wrote: Hi Cocos Devs, Can you please share tools you are using to increase productivity in Cocos2d-x C++? Please share you views on what else we can do to make cocos2d-x game development...

View Article


Button gets bigger when clicked

@MadJi wrote: Hello everyone! I have the following problem. I use a class button. I have put two png files for my normal and a pressed button. This pressed button is the same button but 10% smaller. I...

View Article

Avoid Node from moving erratically during a MoveTo action

@ArkaM wrote: I have a bottom menu with a slider(similar to Clash Royale and Golf Clash). In the bottom menu, I have to move the slider to the position where the click occurred. I have no issues with...

View Article


CCMask for cocos2d-x v3?

@kerryk wrote: Hi guys! Did anyone ported CCMask for latest cocos2d-x v3 branch? And also, is it possible we will have it integrated in cocos2d-x and also translated to metal? Posts: 1 Participants: 1...

View Article

Image may be NSFW.
Clik here to view.

Clipping Node Anti-Aliasing

@kerryk wrote: Hi guys! I am using Clipping node to clip the ui::ScrollView are the bottom of a popup so that it becomes rounded instead of rectangle. Works almost perfect with some specific alpha...

View Article

modify android.mk error android studio

@pascal232444 wrote: help me!! i use cocos2dx 3.17.2 , android-ndk-r16b , gradle 4.5 and run helloworld successfully but i can’t modify LOCAL_SRC_FILES := $(LOCAL_PATH)/hellocpp/main.cpp...

View Article
Browsing all 2748 articles
Browse latest View live