Cocos2d-x v3.1 for WinPhone 8 auto change texture after resumed from background
Posted
by
Bình Nguyên
on Game Development
See other posts from Game Development
or by Bình Nguyên
Published on 2014-06-05T06:50:20Z
Indexed on
2014/06/05
9:44 UTC
Read the original article
Hit count: 310
cocos2d-x
I have some sprites in my game (for Windows Phone 8). These are my steps to reproduce the problem:
- Open game
- Play (this is an optional step)
- Press
Windows
button to send game to background - Press
Back
button to resume game
The problem is: After the game has resumed, some sprites exchange textures, some sprites go black (like there is no texture being bound).
I'm using cocos2dx version 3.1.1. Can someone help me to solve this problem?
© Game Development or respective owner