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

PHYSICS IN TILEMAP

@ataf wrote: my english is not good, im use google translate i got error when add physics body to sprite in tilemap /////// my code //2. menambahkan map tilemap auto map =...

View Article


Cocos2dx python error when type cocos in cmd windows

@gustxw wrote: When i type cocos in the cmd on windows 10 using cocos v3.17.2 i get this error my python is 2.7.5 and my cocos is 3.17.2 i put the cocos2d console on my path aswell...

View Article


cocos2d::Ref* sender

@FelixFox wrote: I’m diving into a large cocos2dx code base. Little documentation and way above my level. I’ve noticed that cocos2d::Ref* pointers are widely used as arguments in methods. What exactly...

View Article

Cocos Creator to 2dx

@Boby wrote: Cocos Creator used to have the ability to export scenes to be used in 2dx projects: https://github.com/cocos2d/creator_to_cocos2dx But currently, it seems that this solution does not work...

View Article

New WebKit setOnJSCallback not Working

@kiranb47 wrote: I’m using latest 3.x code from git. In IOS setOnJSCallback is stopped working now. Using a custom scheme(not https) Posts: 1 Participants: 1 Read full topic

View Article


4.0 - md5 in Lua

@charles-falafel wrote: After creating a lua sample project with cocos 4.0 i’m unable to use the external md5 library (ext_md5) If i try and require “md5” in MyApp.lua i get the following error:...

View Article

Android: How to Detect if user touches and drags out of button region?

@ataf wrote: Android: How to Detect if user touches and drags out of button region? in cocos2d-x with ui::button, thanks Posts: 1 Participants: 1 Read full topic

View Article

Cocos2d-x v2.2 and Nintendo Switch

@corytrese wrote: Trying to bring a Cocos2d-x v2.2 title to the Nintendo Switch. I have a budget. Looking for someone who has done this port before, or someone selling the code. Thanks, Cory...

View Article


Importing CMake project into Android Studio

@M4713 wrote: I’m having a problems trying to import and sync my project (that uses cocos2d-x 3.17) into Android Studio. I’m getting the following error: ERROR: Cause: executing external native build...

View Article


Image may be NSFW.
Clik here to view.

call to action effect

@nujen wrote: WordConnect480×800 707 KB how i can create action like play button? Posts: 2 Participants: 2 Read full topic

View Article

Unable to start the application(0xc000007b) after including AudioEngine.h

@rahul_d_v wrote: Hey all, I made a short game kinda maze type. Till now, whatever I did is fine and working. Now I want to add some sounds into it, so I Implemented AudioEngine.h But when I include...

View Article

Fast bullet physics and pass-through in Chipmunk

@OrionSteel wrote: I am making an artillery game as a learning exercise for Cocos2d-x (3.17.2) and Chipmunk physics engine; a cannon fires a shell over a random triangular mountain based on power and...

View Article

Is it possible to get current frame being animated?

@doxes wrote: I use texturepacker for walking animation (1 to 25 walk cycle frames), when I press some key I need to get active frame index when key pressed. Is it possible? thanks Posts: 1...

View Article


Configuration with name 'default' not found.

@canoo wrote: Hi everyone. I’m working in a project in Cocos2d-x-3.13.1 on a MacOS and I’m having some issues trying to build for Android. I was able to compile the project using cocos compile -p...

View Article

Image may be NSFW.
Clik here to view.

Performance of Label rendering

@pccsoares wrote: I’m trying to improve the performance of a screen that is taking 2-3 seconds to load. Basically most of the time is consumed while creating Labels for the numbers that you see on the...

View Article


Future of JavaScript binding Cocos2d-x framework

@patriciog wrote: Hi: I’m planning to start a new game based in my last one. It’s developed using JavaScript binding Cocos2d-x framework (no Cocos Creator). I’d like to know more about the JavaScript...

View Article

How to determine contact ended?

@doxes wrote: I use onContactBegin event listener, when my sprite begin to contact I use my lambda function to set isContactingPtr to true. But I need to set my isContactingPtr flag to false when my...

View Article


AudioEngine V4.0 vs V3.17.2

@fabrice wrote: V 3.17.2 void AudioEngine::remove(int audioID) { … _audioIDInfoMap.erase(audioID); … } V 4.0 void AudioEngine::remove(int audioID) { … _audioIDInfoMap.erase(it); … } The same for...

View Article

Image may be NSFW.
Clik here to view.

Can not build creator_to_cocos2dx plugin

@RomanenkovDV wrote: Hi everyone. I’m trying to use creator_to_cocos2dx plugin with cocos2d-x v3.17.2 and cocos creator v2.2.2. My project is building using CMake with VS2019. I follow the guide...

View Article

How and where to add a external script file that will execute before other...

@TheKeeper wrote: Hello, I was working on cocos2djs, I was using a script that handles a manifest like file to apply ids/values to my application whenever i do cocos run -p android i.e in...

View Article
Browsing all 2748 articles
Browse latest View live