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

Is cocoapods working on cocos2d-x v4?

cocos2d-x : version 4 cocoapods : version 1.9.3 (https://docs.cocos2d-x.org/cocos2d-x/v4/en/upgradeGuide/migration.html#using-cmake-and-cocoapods) I applied the content of this document to cocoapods....

View Article


Image may be NSFW.
Clik here to view.

Debug logging to file e.g. CCLOG?

Apologies if this question has been asked before, but is there a built-in way to log debug output e.g. CCLOG() to file? Thanks 2 posts - 2 participants Read full topic

View Article


Image may be NSFW.
Clik here to view.

Rotating the "parent test' objects (parent) let the debug circle drawing on a...

On the PhysicsTest => PhysicsPositionRotationTest: Rotating the "parent test’ objects (parent) let the debug circle drawing on a wrong place (see screenshot) cocos2dx_DebugDraw error964×641 74.9 KB...

View Article

setTag conflict between layers

I have doubt regarding “setTag”. For example, I created Layer_1 and Layer_2, in Scene and in this two layer have two sprites for each layer. and setTage number like (1) and (2). cc.Scene -------...

View Article

Image may be NSFW.
Clik here to view.

Stable UI Editor for Cocos2dx v3.17+ or v4.0?

Hi all, as I know the cocos studio or creator_to_cocos2dx has been EOL’d. My old projects have used the cocos studio tool. But now, on the new Projects, I want to use a new stable UI Editor tool like...

View Article


Published 3.17 to App Store

Anyone here recently published a 3.17 project to the iOS App Store? Wondering if they still allow it due the deprecation of OPENGL. Thanks! 3 posts - 3 participants Read full topic

View Article

Does createWithCharMap support space?

Hi, does Label::createWithCharMap support space? I mapped my font images according to this series of characters const char* FontFreeType::glyphASCII =...

View Article

Image may be NSFW.
Clik here to view.

Could not find or use auto-linked framework 'FBLPromises'

Hi I am Trying to integrate Firebase without Using CocoaPos : - https://firebase.google.com/download/ios#frameworks Followed steps given in ReadMe but I am facing Screenshot 2020-06-22 at 3.03.03...

View Article


Image may be NSFW.
Clik here to view.

Looks like CameraBackgroundDepthBrush crash is back in 3.17.2

Hi, we are seeing bunch of CameraBackgroundDepthBrush crashes in Google Console for 3.17.2 Anyone have a work around or fix please? Thanks! Huawei HUAWEI Y6 Pro 2019 (HWMRD-M1), 2816MB RAM, Android 9...

View Article


Please suggest the best online database system for cocos2dx c++

I need to maintain an online database for my users. Basically I need to store user stats like, number of win, lose, play count, score, level, custom leaderboard, coins/rewards (virtual currency) etc....

View Article

Image may be NSFW.
Clik here to view.

Please tell me how to resize the height of the EditBox.

Hello, Gaol : I want to be able to resize the height of the EditBox just like the Message app. I used void editBoxTextChanged { getText() } for that. However, using a Japanese keyboard causes...

View Article

Serious issue with RenderTexture saveToDisk [Solved!]

[I just solved this, but leaving it here in case it’ll help anyone else] I realized that I didn’t actually call FileUtils::getInstance()->setWritablePath(my_path), I was just using my path. Now...

View Article

V.4 Shaders. Create a ProgramState?

Hi, I’m trying to port my old GL shader program to V.4. The doc says: Create a backend::ProgramState object with ProgramState(const std::string& vertexShader, const std::string&...

View Article


cocos2d chipmunk js

where can i learn about cocos2d js using chipmunk, i saw the links of galantegames but they are all down 1 post - 1 participant Read full topic

View Article

run a downloaded git project

i want to run a git project i download. i tried cocos compile but i am etting Can’t find config file .cocos-project.json 2 posts - 2 participants Read full topic

View Article


physics body to draw node

how to add physics body to draw node 1 post - 1 participant Read full topic

View Article

Uncaught ReferenceError: cc is not defined

i ran this game before but suddenly i am getting this error 2 posts - 2 participants Read full topic

View Article


Image may be NSFW.
Clik here to view.

Error When Opened New Hello World Project

I Opened A New Hello World Project And I Got This : image1280×1024 96.2 KB What Should I Do ?! 1 post - 1 participant Read full topic

View Article

Image may be NSFW.
Clik here to view.

About scroll and text coordinate issues in EditBox

I have implemented EditBox. And I found two problems. I think some people don’t mind this issue. But as a designer, I want to solve this problem that doesn’t look very good. Please tell me how to...

View Article

Just to say thank you to all the developers and the other helpful people here

I’m usally here asking question, but now having at last completed the app that’s used up lots of my spare time for the last 4 years, I’d just like to say thank you for cocos2d-x, particularly for how...

View Article
Browsing all 2748 articles
Browse latest View live