How to use animations created from Cocos Studio in JS
@StudioAMK wrote: Dear All, I've created some animations using Animation Timeline in Cocos Studio. Then, I used it in another node. With these settings: But, when I ran the game, the animation did not...
View ArticleAssetsManager and AssetsManagerEx both crash on Android
@davidejones88 wrote: Hi! I'm using cocos2dx 3.12 with Android SDK 23.0.2, and everytime I use the assets manager or assets manager ex, the game crashes. This is the log (from AssetsManager) signal 11...
View ArticleWebview doesn't hide
@mihir77 wrote: Hi, I have a pageview, in which there is a layout and in that i have a webview. I have a button and when i click on a button in a scene, i want to hide the pageview but when i run this...
View ArticleParticleSystem loop with duration != -1
@kyoshyro86 wrote: I want loop my particle with duration = 3. that mean after particle play complete with 3 second. it'll play again (or is there way custom End Event of partilce). How can i do?...
View ArticleProgressTimer bug
@fryderyk88 wrote: Hi all! I think i've just found a bug when using ProgressTimer. Everything works fine until I want to run a fade action on it. There is no opacity change at all. After some...
View ArticleAutomatic layout positioning of children
@ropo wrote: I have 2 items as children in a layout. Is it possible to automaticaly align them in the center so they will always be positioned like that (relative). Right now I can only specify it in...
View ArticleLoading cocos creator project into visual studio
@ropo wrote: Is it possible to load a cocos creator fire file into my cocos2dx 3 visual studio project? I'd like to use cocos creator for UI only. Posts: 2 Participants: 2 Read full topic
View Article[Bug] Wrong TTF fonts
@persy wrote: When you have several labels that use different ttf fonts loaded from assets files, they sometimes use wrong fonts. I actually dug a little deeper so I could patch it for myself, so...
View ArticleFacebook onAPI callback if error
@joappdev wrote: Hi I have a question about onAPI callback of Facebook utility.Is there a timeout or error callback?Or it might fail without any callback? thanks a lot Jo Posts: 1 Participants: 1 Read...
View ArticleCc.AnimationClip - createWithSpriteFrames Question?
@luke2125 wrote: Hi, I'm trying to optimize my code, and would like to create animationclips using an array of spriteframes declared in the Properties, like below: properties: { theupowerlaser:{...
View ArticleBad project import from cocos studio
@mistic wrote: Hello guys, I have a cocos2d-x js game that i need to update at the moment, and the game was made with cocos studio. I have installed the last version of cocos creator and I have try to...
View ArticleDispatching CustomEvent is invalid native object?
@eydamson wrote: Hi i am trying to dispatch custom event but the debugger says it is an invalid native object..what could be wrong in my code? var event = new cc.Event.EventCustom(eventName,true);...
View ArticleAny updated tutorial on how to call C++ Function from JS?
@pekebyte wrote: Hi, I was following the manual instructions on this page http://www.cocos2d-x.org/wiki/How_to_bind_C++_to_Javascript But the first error I got was that the "ScriptingCore.h" wasn't...
View ArticleIntegrate Smartfox to cocos2d-js
@caldelta wrote: Hello, I am going to integrate smartfox to cocos2d-js, but i face some issues need to make clear. Currently, i have successful intergate smartfox to cocos2d-x ( using smartfox c++...
View ArticleHow do I convert back a SAM file to SWF or PNGs?
@kittykittykitty wrote: Hi, I was wondering if I have a SAM file can it be converted back to a SWF or PNG? I found on google Raymond's thread from 2012 where he spoke about creating a tool called...
View ArticleLoad plist on a Value Map
@godrek wrote: __Dictionary is deprecated... what is the new way to load plist files? Posts: 2 Participants: 2 Read full topic
View ArticleCocos2d-x 3.11.1 Very strange Android bug
@energyy wrote: Hello, We recently launched game based on 3.11.1 an got lot of crashes on Android 5.0 -> game immediately crashed and pointed to cocos2d-x core functions. What is strange that this...
View ArticleAndroidStudio & cocos 3.12
@Shpital wrote: Android Studio compiles the cpp_test but it does not work. 08-04 14:02:18.920 17635-17635/org.cocos2dx.cpp_tests E/AndroidRuntime: FATAL EXCEPTION: main Process:...
View ArticleLambda function for setLastFrameCallFunc Not working on android
@padmnabh wrote: Hi,It's strange that setLastFrameCallFunc is working fine for me on iOS with capture by value my class variable but it's giving some garbage value on Android compile. I am not sure...
View ArticleHow to completely stop and remove a running instance of cocos2d-js game
@putLimeInCoconut wrote: hello,i am displaying a cocos2d-js game within a modal-page.when closing the modal i call cc.audioEngine.end(); cc.director.popToSceneStackLevel(0);...
View Article