Label: system font vs TTF
@MikhailSh wrote: What is better to use for Label: label->setSystemFontName("fontName"); or label->setTTFConfig(ttfConfig); If i understood correctly,in first case: - cocos2d-x will generate...
View ArticleMessage ERROR_CODE_INTERNAL_ERROR while loading AdMob ad
@cookybreeed wrote: I'm trying to load AdMob ad sdkbox::PluginAdMob::cache("home") , but as a result only get ERROR_CODE_INTERNAL_ERROR. Prompt, in what could be the problem ? I use this code: In...
View ArticleWhen will PageView be added?
@eydamson wrote: Hi i need to add a page view from our game..when will be it available to Cocoscreator? Posts: 1 Participants: 1 Read full topic
View ArticleJS var declaration without editor visibility
@Alekhine wrote: Hi, I'm looking for the best practice to declare variabels that shouldn't be visible in editor.I'm aware of the 'visible' property in vars declared inside properties scope of...
View ArticleNot able to get the correct size of node created by spine2d
@satyaKT wrote: Hello there,I am trying to get the size of node which is created from spine,but i am getting my width and height as 0.Here is my code Size s =...
View ArticleAndroid.mk file confusion
@jdboss wrote: i have to edit android.mk file.but i don't know which file i have to edit.please clear my doubts as soon as possible.thanks in advance Posts: 2 Participants: 2 Read full topic
View ArticleHow to download zip file from url and save it on writable directory with...
@shaktiraj wrote: Hi,i would like to download a zip file from server and store it on writable directory,i'm using cocos2d-x v3.11.my zip file size is about 70 MB..Please help me.Any suggestions are...
View ArticleSDKBOX install/update issue?
@energyy wrote: Hello, could you please check installation packages for sdkbox. 1) We were tying to paste python command on fresh Mac and it didn't worked some kind eroror in one of scripts. 2) SDKBOX...
View Article[Cocos2d-x 3.12] Crash on Android when game starts
@drakon99 wrote: Hi guys I'm experimenting a very weird behavior of Cocos2d-x on Android: I have an Italian Galaxy S4 and it seems that cocos2d-x (3.12 but very likely also previous versions) works or...
View ArticleChanging view mode to fullscreen or windowed in Mac OS X
@Petro wrote: Hi there,How to implement changing of view size among windowed or fullscreen mode in Mac OS platform. Changing should be made in running game. Posts: 1 Participants: 1 Read full topic
View ArticleChange text style in the middle of a cc.Label
@Howrad wrote: Is it possible to change the text style in the middle of a cc.Label? Font size, typeface, bold, italic, color? I think the answer is no, which is kind of a shame, as it would be a very...
View ArticleAnimating cc.ProgressBar component
@skquark wrote: I'm using the built in ProgressBar component, not ProgressTimer, and I'm able to set percent with no problem, but need it to smoothly animate the percentage change, not just jump...
View ArticleLots of problems on Win32 build
@dogwalker wrote: I'm trying to get my game to run when downloaded from Steam. Please correct me if I'm wrong, but I think I have to build the game as 32-bit, because I read a few posts that indicate...
View ArticleDesign resolution across iPhone and iPad
@shipit wrote: I started with 480x320 design resolution. I have one size for assets that I scale based on Director::getVisibleSize() ie I don't use contentScaleFactor. So far so good, the game looks...
View ArticleWhy is curl still linked on Android in v3.12?
@pandemosth wrote: Continuing the discussion from OpenSSL problem again: jarsj: @zhangxm @ricardo I am bit confused. I was under the impression that 3.9 (or 3.8) removed dependency on CURL for android...
View ArticleHow to handle Touch Propagation on MenuItem ( still doesn't work)
@Meir_yanovich wrote: Searching in the forum i saw some old posts dealing with the same problem , unfortunately it doesn't help much. Pisces000221: I am glad to help, but I don’t know much about js....
View ArticleControl Switch Error
@pulido_gene wrote: Hi, Im trying to create a Control Switch but when i build and run I encounter this error. I've also included "extensions/cocos-ext.h" in the header file.. What did i miss? Posts: 1...
View ArticleHow to import project in android
@jdboss wrote: hello,i need to import my project in android.it's working fine in iosnow it's not working in androidwhile i am compiling it . it ommits Error running command, return code: 2.i can't get...
View ArticleInclusion of file in android.mk
@jdboss wrote: how to include .cpp file in android.mk i have issue in singletone class Posts: 1 Participants: 1 Read full topic
View ArticleSDKBox Play Plugin crashes
@diepduong wrote: Hello all, I used "sdkbox::PluginSdkboxPlay::signin();" in Xcode project, The app crashes with error:SDKBox-mobile was compiled with optimization - stepping may behave oddly;...
View Article