Tag Info

New answers tagged

0

Quoted from @mannewalis The reason your scene is not the running scene is because it it only gets set the next frame, or even later if there is a transition running. You could add you HUD create code in the new scene onEnter method, I believe runningScene will be set by then, but possibly not if there is a transition running, in which case ...


0

Cocos2D-x 2.x and 3.x have very easy solution for multi-resolution problem ( either iDevices or Android devices) (and I think cocos2d-iphone should have a similar mechanism (maybe with different signature). In fact you just need to set your DesignResolution and then just imagine your target device will has this resolution. If target device really has this ...


0

My answer won't be a clean solution but for a side note, and if you really need it to be fixed before attempting trying to find a clean working solution, I use the approach below. I have a lot of action-chain used in my game. I found the exact same problem as you mention about that code section you posted. I have spent so much time checking that whether ...



Top 50 recent answers are included