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

Image may be NSFW.
Clik here to view.

Android Performance (again)

@kingchimp wrote: Hi all, I know there's been a lot of posts regarding Android performance already, but I was wondering if there's anyone who can confirm whether there's still recognised performance...

View Article


Image may be NSFW.
Clik here to view.

Cocos2d-x 3.15 wrong logic in Android gradle - causing critical bug

@energyy wrote: @nite@slackmoehrle Hi, today we discovered bug with cocos2d-x 3.15 on Android 4.3 similar to this one: Cannot locate symbol "atof" referenced by "libMyGame.so" C++ Error when run my...

View Article


Image may be NSFW.
Clik here to view.

setOpacity for sprites with alpha

@owlet wrote: Hi there...I have a problem with setting opacity for sprite. I have two sprites (png): Second has transparent center. If I add them one above another, as a result I would get this: Now I...

View Article

Image may be NSFW.
Clik here to view.

Cocos2d-x 3.15 Android 7.0 issue

@energyy wrote: Hello, we compiling our project against NDK 13b and minsdk -15 targetsdk -22, by some reason cocos2d-x 3.15 crashing to much on Samsung s7 with Android 7.0 0 libc.so (Missing)1...

View Article

Image may be NSFW.
Clik here to view.

How to position the RenderTexture?

@aqeeliqbal wrote: i want to save a node into an image. i used RenderTexture, it creates image with node but dimensions are full screen. i want only that part where node is laying.i tried to give...

View Article


[How] Create an effect similar to 'The Mesh' game by Creatitulab

@chuanhd wrote: Hello everyone, I would like to create an effect similar to 'The Mesh' game by Creatitulab. Please take a look at the hexagon board in the video below from 0:13 to 0:18 Any help would...

View Article

[SOLVED][Android] Cocos2d-x 3.15 new project cannot open in Android Studio!

@0mega wrote: SOLVED: For some reason Android Studio fails to read my ANDROID_NDK_HOME environment variable. Hardcoding the ndk.dir in local.properties fixed the problem. Hiya, Recently I've been...

View Article

[SOLVED][Android] Cocos2d-x 3.15 SEGFAULT when accessing class member

@0mega wrote: SOLVED: During migration the orientation in our android app manifest was set to landscape, which apparently caused the applicationResized code to be triggered before the app is fully...

View Article


Mesh Index Count

@Pingvinio wrote: I am using cocos2d-x to run a 3D project, where I open STL files and have run into a problem, where the number of indices in the opened files exceed the unsigned short mark within a...

View Article


Filtering types of collision reactions in a different way

@sheshmoshen wrote: I know I am able to filter collision using category and bitmask fields. And then test if I should collide in onContactBegin But is there away where I can describe each body as...

View Article

Cocos2d-x console command xcode 8.2 issue

@energyy wrote: @slackmoehrle Hello, It seems cocos comand should be updated or maybe there is already some workaround how to generate from console signed IOS build if installed xcode 8.2. With xcode...

View Article

Image may be NSFW.
Clik here to view.

Image processing before let sprite load it?

@tomsawyer wrote: I'm dealing with jagged , aliasing sprite after using setScale with big to small image. Correct and "smart" way of rescaling sprites for a cross-platform project I’ve been having the...

View Article

Camera movement on layer that is a child of scroll view

@Sohaib_hussain wrote: I have a main layer and that main layer contains a single child which is a scrollview, the scroll view contains a single layer called "layer", "layer" have 10 images added to...

View Article


Converting Cocos2dx 2.2.x Eclipse Project to Android Studio

@seba wrote: Hi Everyone! Is there a guide or at least some pointers out there for converting a cocos2dx 2.x Eclipse project to Android Studio? It seems like Eclipse will no longer work with the...

View Article

Image may be NSFW.
Clik here to view.

Contributing new classes?

@Tymonr wrote: Is all rules has to be completed before contribute? It's lot of workI've added simple polygon grid for spites based on autopolygon and wanna share it with community, but it's too much...

View Article


Cocos2d-x 3.15.1 releaed

@zhangxm wrote: Download Can download it here. What's new Add optimization code for Huawei devices. Engine will collect some information, such as node count, particle count, and use these information...

View Article

Is it possible to serialize a ValueMap to a String and unserialize it later?

@lito88 wrote: Is it possible to serialize a ValueMap to a String and unserialize it later? I need to populate a ValueMap from data stored on a server, so it would be great to be able to serialize the...

View Article


Game lag while adding more than 100 sprites

@deepthi wrote: Hello All, We have the requirement of adding 200 sprites at once to a scene and need to check for collision of each sprite. But we are facing lag issues in following scenarios 1.While...

View Article

Empty button touch events

@c_h_r_i_s wrote: I have a scrollview of buttons. At the moment I am creating the buttons with images which works fine but I'd like to make them animated using Spine. My problem is that if I create an...

View Article

Options for authentication/login for multiplayer game

@squashmode wrote: I am planning on a cocos2d-x multiplayer game that would require players to have some form of login/authentication, as they would have persistent, long-running state in the game,...

View Article
Browsing all 2748 articles
Browse latest View live


Latest Images