Calling addChild or removeChild continuously
@sheshmoshen wrote: Hello, I have many Sprites that I will constantly remove and add to the layer my questions is if this operation is expensive because otherwise I could just setVisible(false)?...
View ArticleUpgrading from 3.8.1 to 3.13?
@Rambazamba wrote: Hi there,now that my new game is almost finished I wonder if it would make sense to upgrade the version of cocos2d-x from 3.8.1 to 3.13. Here are my reasons for upgrading: 1....
View Article[SOLVED]Android navigation bar
@Minpik wrote: When I launch my app on android, the navigation bar disappers, but before that didn’t, and I don’t know why. Posts: 4 Participants: 2 Read full topic
View ArticleWhy the layer must be created from my class and not from layer class?
@lionking0 wrote: I am confused about something. I have the following example: mainMenu.h class mainMenu : public Node { public: static Scene* createScene(); virtual bool init(); void...
View ArticleHeap error on changing scene after upgrade cocos2d-x from 3.9 to 3.12
@HadiAbbasi wrote: Hi!we have developed our game by cocos2d-x and we upgraded the version of cocos framework from 3.9 to 3.12 yesterday , after resolving so many linking errors, now I can run my game...
View ArticleCpp-tests NavMesh example
@solan wrote: Hello everyone, I tried NavMesh example. It seems me interesting, but I could not found out what is the file geomset.txt?? How can I generate it? The following steps were done:1. compile...
View ArticleScaling layer while following player
@hotcoco wrote: I followed this tutorial for implementing a layer which moves against my player so as to emulate a moving camera: https://www.raywenderlich.com/39113/cocos2d-x-tile-map-tutorial-part-1...
View Articlecocos2d-x compile error
@Minpik wrote: I don't know what I do but now when I compile my project I have this error: Android NDK:...
View ArticleDragon Bones in Cocos2d-x 3.12+
@Shark13 wrote: Why there is no more auto integration of Cocos2d-x and dragon bones? I've used it before, but with the last version I didn't find how to integrate it, the last version of dragon bones...
View ArticleNodes stretching and appearing in wrong location issue
@JapanDev wrote: Hi there, It seems when I add any nodes to the view, they don't match up in size or location compared to a screenshot being taken with the iPad (same results on Android). Therefore,...
View ArticleHow to direct cocos console to a different proj.android folder
@Subdevise wrote: Hello, I'm using the cocos console and the proj.android-studio path to build by project using gradle and everything works great (I am not actually using the Android Studio IDE). I...
View ArticleSprite following path
@ishmar wrote: Hi all, I'm curious about how to accomplish something. Guess it might be a general game development question but still, interested in a cocos2d-x approach. I want one (or more) sprites...
View ArticleHow to reducing Compile time for cocos2d-x 3.12 project?
@HadiAbbasi wrote: HiI am using cocos2d-x 3.12 on Win7 64x and Visual studio 2013...before updating cocos2d-x from 3.9 to 3.12, the compile time was normal, but now that I have upgraded it to 3.12,...
View ArticleEvent stopPropagation() and isStopped()
@uid4o wrote: Hi there, I'm having two partially overlapping sprites, each having its own eventListenerTouchOneByOne with fixed priority set to PositionY and setSwallowTouch(false) and I need to stop...
View ArticleHow to updgrade my Cmake 2.8.12.2 to Cmake 3.6.1
@reyanthonyrenacia wrote: So I downloaded Cocos2dx-3.12 and followed the guide on installation. When it was time to run "cmake ../.." on the terminal, it says: CMake Error at CMakeLists.txt:27...
View ArticleUserDefault file
@Minpik wrote: Hello, I try to find where the data are stored when I use CCUserDefault on windows 10. Posts: 5 Participants: 2 Read full topic
View ArticleCocos2d-x android EditBox back/foreground issue(Local Notification)
@jjeorijjang wrote: Editbox touch is not working at below situation.1. App Local Notification is actived on top bar2. press home button and comeback to app from Top Notification touch. 1+2 = Editbox...
View ArticleHow to make loader means activity indicator
@jdboss wrote: hello,in iphone there is uiactivityindicator as a loader i want to use that default loader as android and ios but i dont get any docs about that please help me to resolve this. Posts: 1...
View ArticleCocos2d-x 3.13 when?
@energyy wrote: @slackmoehrle Do you know dates when we can expect Cocos2d-x 3.13 version? So far 3.12 looks to buggy for us, so we awaiting this release. Posts: 33 Participants: 10 Read full topic
View ArticleGetting Image data from SpriteFrameCache
@mfi08 wrote: Hi, Is there a way to get Image data from SpriteFrameCache? I can get Image from file like this: Image* img = new Image(); img->initWithImageFile("asset.png"); But how do I get it...
View Article