How to Get LocalTime and Timezone
@WappnotechDevloper wrote: hello there, i am developing an android game in which i change background as per time, means if a player plays game during daytime then it will show light background, and if...
View Article[Squally] We're open sourcing our cocos2d-x game!
@zcanann wrote: Hey everyone! We’ve been developing our game with cocos2d-x for about a year now. Squally is a 2D platformer JRPG designed to teach low-level computer science. The repository can be...
View Articlesignal 11 (SIGSEGV), code 1 (SEGV_MAPERR)
@rollingpandaarts wrote: pid: 0, tid: 0 >>> bundleID <<< backtrace: #00 pc 0000000000000004 #01 pc 000000000018d41b /system/lib/libwebviewchromium.so #02 pc 0000000000194521...
View ArticleCreating a texture dynamically
@xerosugar wrote: I want to be able to pick multiple tiles from my tilesheet and “stamp” them onto a new texture which will become a sprite. I can do it once, but when I try to do it a second time the...
View ArticleAndroid Studio: Native build fails after and upgrade
@pfedor wrote: Hi all. I just foolishly upgraded Android Studio and gradle, and now I cannot build my game. The error message is: Build command failed. Error while executing process...
View ArticleGithub C++ MotionStreak batch node
@tdebock wrote: After I solved the issues of wanting to batch MotionStreak nodes with the same texture into 1 draw call, I went ahead and abstracted the code for a public GitHub repo. GitHub...
View ArticleUndefined reference to cocos2d::unzOpen() on Windows
@QuincyHe wrote: Hi! I tried to use features defined in ./external/unzip/unzip.h with Cocos2d-x V 3.17.2 but it throws this error, as if this function was not implemented… Apparently it has its...
View ArticleGame looks blur in Chrome Browser
@Yathiraj_karkera wrote: The game looks blur when I run in the android chrome browser. Posts: 1 Participants: 1 Read full topic
View ArticleButton isn't appearing (Android)
@Mamoxinch wrote: My button appears to be completely absent, or shifted in layers. I have setup a button like so (the method and header declaration isn’t relevant for this topic): Button =...
View Articlea new lua binding layer for cocos2dx base on lua gc
@codetypes wrote: Recently, i design a new lua binding layer for cocos2dx, and it controls life cycle of c++ object by lua gc. Feature: manage c++ object by lua gc, it more friendly to developer. the...
View Articlea new lua binding layer for cocos2dx base on lua gc
@codetypes wrote: (topic withdrawn by author, will be automatically deleted in 24 hours unless flagged) Posts: 1 Participants: 1 Read full topic
View ArticleBUG. When bluetooth controller connects, editbox disappear
@overcocos wrote: Hi, I found that with some game controllers, when I connect, the editbox will disappear. Here’s a video showing it....
View ArticleWay to launch keyboard without visual textbox
@ebouchard wrote: Is there a way to achieve it? I’ve seen other threads (a few years old) with no answer. I’ve looked at textfield and EditBox, but they both have a visual box on the screen associated...
View ArticleJNIHelper isn't aware of java class
@Apollo18 wrote: I’m trying to call a java function from a C++ class. Here’s what I’ve done: 1.) Created a class in Android Studio called “AdHelper” in the app/src/com/myCompany folder. It has a...
View ArticleWhy AudioEngine audioState is ERROR?
@JohnJose wrote: Hi, i am using a slider in audio. when i change the slider percent, some times it play audio, other time audioEngine returning ERROR as audioState. anyone Please help me to solve...
View ArticleHow to get widget (Button) "world" size?
@serpri wrote: Hello. How to get widget (Button) “world” size (after all scale, anchor and other transformations I’ve done to it)? Like I get widget getWorldPosition(); Thank you. Posts: 2...
View ArticleProblem About Spritesheet Animation
@Refetizm wrote: Hi everyone, I wrote that code for spritesheet animation. But it gives error about pushBack() function. Where is the problem about this code ? SpriteBatchNode* spriteBatchNode =...
View ArticleLow frame rate issue
@mhmtemnacr wrote: Hi. Im making a game using cocos2dx 3.17.2 (on android) The game is not running smoothly, fps is low. Especially on some devices. There is too much code inside schedule( … )...
View ArticlePhysics behave different in iphone and ipad air simulator
@chiragkevadiya wrote: cocos2dx 3.17.1 version (chipmunk physics and Box2d physics ) i just create 1 ball body and apply velocity Vec2(0,100); in iphone simulator when i apply velocity ball is jump up...
View ArticleHow to create a simple spin wheel using cocos2d-js?
@mehedi wrote: Hi there! I am just learning cocos2d js. I know how to move/rotate/jump a sprite. Now I want to create a spin wheel by using cocos2d js but I am confused about logic. How can I create...
View Article