Quantcast
Channel: Cocos Forums - Latest topics
Browsing all 17070 articles
Browse latest View live
↧

Image may be NSFW.
Clik here to view.

Recieving warnings for an array with default type cc.Vec2

@Alekhine wrote: I'm getting flooded with warnings after I created an array property with default type cc.Vec2, and then filled said array with cc.Vec2s in the editor.Here's the array declaration....

View Article


Solid Strategy for Web (HTML5) using Cocos JS

@imrmimi wrote: Hi everyone. Can somebody tell me, is this possible to create solid server-client strategy, with solid graphics and many animated sprites, units (like Clash of Clans) for WEB, HTML 5 ?...

View Article


Cocos2d-x 3.10 Memory Leaks

@kuket15 wrote: In Visual Studio 2015 Community Edition, the CRT reveals memory leaks in Cocos2d-x 3.10.What am I doing wrong? 1) I create a new project with the command cocos new -l cpp -p...

View Article

Advice on how to proceed with UI

@jrosich wrote: Hi, I have been working with Cocos2d-x and C++ for a few months to create a Match3 engine that will be used in several games to be published later this year and 2017. This is also the...

View Article

Image may be NSFW.
Clik here to view.

Sprite packing tool for Cocos2d-x

@j_jorge wrote: Hi, I have written a pair of tools to build sprite sheets from the command line and I would like your opinion about them. The first tool is auto-pack-my-sprites; it receives a...

View Article


Cocos2d console - compilation hangs

@komyg wrote: Hi, I am creating a game using Cocos2d-X 3.10 with Windows 10 and Visual Studio 2015. Unfortunately, every time I try to compile my code for Android using: cocos compile -p android -m...

View Article

Support for cocos studio in Cocos2d-x Version 3.11.1

@OscarLeif wrote: Hello I'm working on try to export one of my games from Eclipse to Android Studio but my old source code uses the CSLoader it seems that the CSLoader location is not the same.In old...

View Article

Getting the width of a Label

@cubby208 wrote: How would one get the width of a label in cocos2d? Posts: 2 Participants: 2 Read full topic

View Article


Where is a Label's anchor point?

@cubby208 wrote: Where is a labels anchor point and how can it be changed? Posts: 2 Participants: 2 Read full topic

View Article


Cant clone an action in order to ease it

@cubby208 wrote: I am trying to get the following code running Vec2 buffer = Vec2((width / 2) / 3.5, (height / 2) / 3.5); Vec2 b1 = Vec2(width / 5, height / 5); Vec2 b2 = Vec2(width - buffer.x, height...

View Article

Image may be NSFW.
Clik here to view.

Bug: Button on top of another button

@RogueProgrammer wrote: I have a large button and on top of it I have a smaller button. If I press on the smaller button the larger button gets all of the mouse messages so Cocos2dx thinks I have...

View Article

Fail to build in Android with SDKBOX

@kencoder wrote: Hi all, I tried several time to build my game in Android. (okay in my mackbook but fail in my iMac)Here are the configurations:NDK Version: r9 Cocos2d-x: 3.10SDKBOX: The latest...

View Article

Any alternative solution for PageCurling

@deepthi wrote: Hello, Is there any alternative solution for Page curling other than Pageturn3d and PageTransition in cocos2d-x.I want to give a pagecurling effect for layers. Thanks Posts: 1...

View Article


Best way to handle Z order of Sprites and UI elements?

@jrosich wrote: I did a quick test placing some labels on screen and my Sprites are in front of my labels/UI and I want them "behind" the UI. Any tips on how to do it? Thanks! Posts: 3 Participants: 2...

View Article

Not able to use initShader method

@Dhiraj0116 wrote: Not able to use initShader method. This is my method: void GLESDebugDraw::initShader( void ){mShaderProgram =...

View Article


[SDKBOX] sdkboxplay android init crash

@rightpill wrote: Hi, I got an issue with building an android verion. (iOS version works fine)- Here are the version i am using.cocos2d-x 3.8.1sdkbox just updatedndk r10e Using features...

View Article

Image may be NSFW.
Clik here to view.

Range Slider in Cocos2d-x

@shashankA wrote: I want range slider like this. How to make this? ? Posts: 1 Participants: 1 Read full topic

View Article


Cc.TableView in XMLHttpRequest

@tatchooliong wrote: Hi.. I would like to create a table view to show the data as a result from JSON and XMLHttpRequest. It worked well when I executed the code outside of the XMLHttpRequest, while it...

View Article

Image may be NSFW.
Clik here to view.

Performance issues using RenderTexture on TMXTiledMap

@mystical wrote: Hello everyone, I'm trying to create a minimap using RenderTexture and a TMXTiledMap object in Cocos2d-X v3.10. The code looks like this: minimap_ = RenderTexture::create(map.width *...

View Article

How to set the length of a string in label?

@monisha wrote: hello, I want to display a float value in label..something like (1.52458) but it shouldn't exceed more than 5..after decimal it should display only 5numbers...can someone help me ???...

View Article
Browsing all 17070 articles
Browse latest View live