i have an issue on resuming, when my app resumes then my labels appears to have a black background if there was any label just at the time of pausing the game. Can anyone please help how to resolve this issue ?
Thanks!!
Related
I am learning after effects. I have got one template for after effect and trying to render it. all thing is working fine but just issue in audio output. I have selected audio output also in render but I am not getting audio, as well in preview ram. what I am missing ?
Thanks
Audio is simply muted. Check speaker icon, must help
Check your mute button or click RAM preview. Wait for video to render and click RAM preview button several times. I think it will solve the problem. I got this problem too but I clicked the RAM preview button and waited for it to render. And boom it worked.
The following image shows the problem.
When I launch my app from background after a while, I found some CCsprites on the CCScene turns to black.
I have no idea about the reason(I guess it related to memory?).
Any suggestion?
PS. All the code is running on the main thread, so there should be no thread issues
After upgraded to ios7, I found the Cocos2d application run slowly (or frame skipped) after checking the notification center.
Reproduce the problem:
Launch a cocos2d game, better with some fast moving sprites
Swipe down from the top of the screen to drop down the notifaction center, then swipe it up.
Now the game becomes like frame skipped. (slow). But after a while, or after some operation within the game, the frame speed recovers.
I tested on iphone5.
Anyone see the same problem? Any idea how it happens?
EDIT:
Since this problem only happens in rare case, I d like to close it.
I have made my application in cocos2d, and has added advertising iad and admob, but to upgrade to ios6, when I click on the ad, then returning to the application and amending view is vertical, completely distorting the game, putting the wrong image.
What's going on? What have they done with ios6 to stop working so much? 'And finally as you can fix that?
Me also had same problem in iOS6, cocos2D game with admob. Finally we fixed this issue by using new admob sdk from admob site.
Hereis new iOS6 admob sdk.
I am developing an iOS game using Cocos2D. I would like to show a popup, something like UIAlertView, but completely custom. What is the best way to achieve this?
Thanks a lot!
Benza
I would suggest to use a layer for this and to pause the scene. Here are a couple forum posts from the Cocos2d site that go over this a bit:
http://www.cocos2d-iphone.org/forum/topic/6511
http://www.cocos2d-iphone.org/forum/topic/1954
Unfortunately pausing the scene means you will also pause whatever you have in your popup.
Maybe it's not your case, but I quite often have scrolling lists in my popups. If I pause the scene it will not work.
I've added a method to CCNode which goes through all children and stops their activity rather than pausing the scene.
If you open the popup as a child of your scene then first you deactivate all children of the scene and then open the popup. This means that you can still do whatever you want in your popup and everything else is paused or does not respond to touch [like menus].