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

Want to show videos in my C++ game (cocos2d-x 3.17.1)

I was going to look up C++ libraries to show canned videos that I’d like to include in my game, but then thought I’d first ask here for either advice from your experiences or perhaps even see if...

View Article


How to run spine in cocos2dx

i am facing issue running spine files in cocos2dx v4.0 . i tried some solutions available on internet but did not help any. can anyone guide step by step process to solve this. 3 posts - 2...

View Article


Image may be NSFW.
Clik here to view.

Android Studio Setup - Cocos2d-x

Having trouble with initial setup build for android. Using windows 10. I am attempting to run the cpp-tests like in the programmer documentation. I have gotten those tests to work in visual studio,...

View Article

Image may be NSFW.
Clik here to view.

[Solved] Unable To Hide Stencil Outside of the ClippingNode

Problem I have created a clipping node with a Sprite using White Image as a Stencil and added Other Sprite Inside Clipping Node to clip it. But I’m having problem hiding stencil outside of the clip....

View Article

Undefined reference to CustomScene()::CreateScene()

As the title suggests I am getting an error: …/…/…/…/…/…/Classes/AppDelegate.cpp:111: error: undefined reference to ‘CustomScene::createScene()’ ,when building to android. It compiles and runs how I...

View Article


Windows workflows

I am new to working with cocos2d-x and was wondering what workflows tools other devs use to build on windows for mobile devices. Im also searching for info like: when adding a source file what are all...

View Article

Please anyone can help to solve this cocos2dx game **Crash**

please anyone can help to solve this cocos2dx game Crash please help me to sort these two crashes please, guys. @R101 @smitpatel88 @GamesStudioTwo @CocosMarketing 1) Fatal Exception:...

View Article

Sdkbox integration help

Can we use old sdkbox for ads as sdkbox has been shut down? 1 post - 1 participant Read full topic

View Article


Integrate Facebook SDK

What is the recommended way to integrate Facebook SDK to a cocos2dx app since the shutdown of SDKBOX? Is there any documentation / sample code? 1 post - 1 participant Read full topic

View Article


Why does console.log not work everywhere?

Hello. Why do I only see in the console: jswrapper: JS: my debug network manager 1 jswrapper: JS: my debug network manager 2 And I don’t see: jswrapper: JS: my debug NetworkManager 3 jswrapper: JS: my...

View Article

我想为应用适配折叠屏,有详细的解决方案或者过程吗

我想为应用适配折叠屏,有详细的解决方案或者过程吗? 我已经按照安卓官方文档添加了折叠事件的相关配置,但是折叠后画面的尺寸没有进行适应 我想知道我应该做出哪些调整 2 posts - 2 participants Read full topic

View Article

Are Cocos Android games run on WebGL or use native rendering?

I’m trying to switch from unity to Cocos and I’m curious about the performance and rendering. I’m used to c# and c++ development and cocos seem to use typescript. Is there any option to completely use...

View Article

One Big sprite sheet or smaller individual sheets?

Hi there, Quick question. Is there any benefit of putting all sprites in one sheet. For instance the idle, the walk, the run, the jump, the death, etc… In one big image and it’s corresponding one data...

View Article


Questions about loading lots of spritesheets

Hey, I’m thinking about something that seems pretty daunting right now, wanted to get your thoughts. In my football game, I load a single spritesheet for each team at the start of a game (one wears...

View Article

Can I create a sprite when the path is a symbolic link (shortcut)?

I have some key folders in my game (images, photo sets, etc), and then let the users select subfolders under those. I’d like to add the ability to pick up shortcuts to folders. UPDATE: even if I...

View Article


Capturing a screenshot and and feed it to a renderTexture

Hi everyone, I’ve been trying to upgrade some 3.17 projects to v4.0 and I’ve encountered the following problem. What the code is trying to achieve here is, capturing a screenshot of my app and then...

View Article

Callback Function | Show Active Tab | Arrow Function | Lamda Function |...

Cocos Creator Version - 2.4.7 Intent - Show a golden color border to the active tab. Rest tab shown without the golden border. What i’m doing is setting active status of the node containing...

View Article


Image may be NSFW.
Clik here to view.

Cocos2dx Android issue

Hello everyone hope you all are doing well.! How do I put my scene below the status bar and above the navigation bar in the Android cocos2dx c++ game? I don’t want to hide any Above and below buttons....

View Article

Image may be NSFW.
Clik here to view.

Problem with debugging helloworld project (visual studio)

Hello, I am new to cocos2d and visual studio as well, so I basically just wanna debug the helloWorld project and I get this message : (the image might seem weird becasue I used an image translator...

View Article

Gradle error while trying to build for targetSdkVersion 32

I have an old project in cocos2dx 3.16.1 cpp, I was trying build for targetSdkVersion 32 but got gradle sync errors. I’m using following versions of tools: Android Studio 2020.3.1 Gradle Plugin 7.2.0...

View Article
Browsing all 2748 articles
Browse latest View live


Latest Images