Quantcast
Channel: cocos2d-x - Cocos Forums

Going From Unity to Cocos complete newb - need help

Hi I’ve had a quick scout and I can’t find anything quite what I’m looking for but if there are forum posts already like what I’m about to ask then I do apologize and please point me in that...

View Article


Is it possible? Knowing C++ only the basics, write games in Cocos?

Is it possible? Knowing C++ only the basics, write games in cocos. Hi all! Maybe explore opentk or other libraries for creating games in Cocos? 3 posts - 2 participants Read full topic

View Article


Image may be NSFW.
Clik here to view.

Build wrong about com.enhance.gameservice

I was first to build cocos2dx-4.0 project,the below picture is the question It tells me package com.enhance.gameservice doesn’t exist,I try to find answers on website,but I only find several answer...

View Article

Image may be NSFW.
Clik here to view.

Encryption signature using white space

How do I decrypt a file with a signature that uses white space like this? Sign: White Space 10x Times Key: BSSDdpQyRoeHDuo8 1 post - 1 participant Read full topic

View Article

Keyboard won't close with Editbox

Here’s my code: player3Name = ui::EditBox::create(editBoxSize, ui::Scale9Sprite::create("whitebox.png")); player3Name->setAnchorPoint(Vec2(0, 0));...

View Article


Help Needed to Update Cocos2d Apps - Compensation Offered!

Hello developers’ community, We urgently need assistance to update 11 mobile apps (iClassicsCollection) developed in Cocos2d. We are facing issues with the guidelines of major app stores and require...

View Article

Webview postmessage not working on android

I have been trying to send some data via postMessage in my webview, in Browser it workes fine but in android its not working this.newWebView.evaluateJS( try { var meta =...

View Article

Build under AndroidStudio : No rule to make target 'cocos2dcpp' Stop

I’m trying to build an existing project that worked on previous env But with mine I got this error : Execution failed for task ':App:buildNdkBuildDebug[arm64-v8a][cocos2dcpp]'. >...

View Article


Cocos2d-x3.17 [How to ListView continous scroll when touch point leave...

Thank you for support ! 1 post - 1 participant Read full topic

View Article


Color selector dont work

when i use the position of color selector stop working auto colorSelector = ColorSelector::create(); colorSelector->setPosition(Vec2(visibleSize.width * 0.1, visibleSize.height * 0.2)); // Defina a...

View Article

How to convert my code from cocos 2dx for axmol

i trying converting my code from cocos to axmol but have alot off errors auto closeButton = MenuItemImage::create("button_image.png", "button_image.png", AX_CALLBACK_1(MainMenu::menuCloseCallback,...

View Article

Camera zoom not respecting mask

Hello. I am working on a 2D game in cocos v2.3.4. I have just added a feature with a main camera to render my game elements and a secondary camera to render my UI so that the main camera can be zoomed...

View Article

How can I develop my own editor using Cocos engine

Cocos Creator is too comprehensive for the projects I am targeting. I want to make a simpler editor, I want to make an editor based on visual programming like Buildbox, but is it more logical to...

View Article


Can I get *where* a TableViewCell was touched?

I have scroll bars in several of my screens. If the user taps within that vertical scroll area, I’d like to scroll, rather than touching the underlying cell. Is there a way in tableCellTouched() to...

View Article

Image may be NSFW.
Clik here to view.

3.17.2 Crash cocos2d::Renderer::processRenderCommand(cocos2d::RenderCommand*)...

[libMyGame.so!libMyGame.so] cocos2d::Renderer::processRenderCommand(cocos2d::RenderCommand*) Scudo ERROR: invalid chunk state when deallocating address 0x pid: 0, tid: 6449 >>> com.MyPackage...

View Article


Cocos2d-JS 3.17 - Google rejected my app

Hi all! Google Play has removed my app and disable my dev account. They said my app is malicious, malware. I don’t know why they marked my app as malware. It’s just a simple knife throwing game (like...

View Article

Looking for a Game Developer with Cocos2d Experience in Kuala Lumpur

We are currently seeking an experienced game developer with proficiency in Cocos2d for a project based in Kuala Lumpur, Malaysia. If you or someone in your network has expertise in Cocos2d and is...

View Article


Image may be NSFW.
Clik here to view.

Maximum number of sprites?

I’m loading multiple spritesheets, and this year, I’m trying to load a lot more layers to support jersey numbers. However, I’m not seeing all the sprites loaded, and I I shifted the order to check if...

View Article

Can't remove event listening

Hi! I’m currently working on a simple project, and as part of it, I needed to register player input. So I added event listener, so whenever player presses inside parent node, other stuff happens....

View Article

Is there a reliable 3.x cocos typescript documentation I can learn with?

Just need documentation links, if you think you can help here’s my problem (usually everyone helps when it’s too late, hope that doesn’t happen!:c) Okay problem fixed, but i still need reliable 3.x...

View Article

Force orientation in a game with multi orientation

Hi, in my game iOS and Android I use Cocos2d-x 3.17. I’m serching to view some layer in landscape (game) and one layer in portrait (settings) I’ve read a lot of posts, I’ve tried a lot, but I still...

View Article


游戏在鸿蒙系统设备上运行图片显示发白

项目所用的引擎版本是Cocos2dx-2.2.6,项目比较老,现在要在鸿蒙系统设备上运行,目前运行正常,但是所有格式的图片资源显示都发白。在Android设备上运行是正常的。这个可能是什么原因,如何解决? 1 post - 1 participant Read full topic

View Article


How to Play a Sound Effect in Cocos2d-x 4.0 C++

I’m making a platformer and I want to have a .wav sound effect to play when I jump. I tried both SimpleAudioEngine and AudioEngine and both didn’t work. Thank you. 1 post - 1 participant Read full topic

View Article

How to flip physics when flipping sprite?

I create a physics shape using physics editor and add it to the sprite. My question is, what is the right way to flip the physics also if one wants to flip the sprite by doing flipx or flipy? Likewise...

View Article

iOS Warning: CLIENT OF UIKIT REQUIRES UPDATE — UIScene lifecycle not adopted

Hi all, When launching my cocos2d-x(3.17.1) app on iOS 18, I’m seeing this warning in the console: CLIENT OF UIKIT REQUIRES UPDATE: This process does not adopt UIScene lifecycle. This will become an...

View Article