原来的AndEngine中需要自己停止绘制Scene,现在OGEngine有新方法,只要一步即可实现,重写BaseGameActivity的这两个方法即可 @Override public synchronized void onResumeGame() { super.onResumeGame(); this.getEngine().start(); //TODO resume Audio } @Override public synchronized void onPauseGame() { super.onPauseGame(); this.getEngine().stop(); //TODO pause Audio } |
http://www.eoeandroid.com/forum-863-1.html
OGEngine之暂停、恢复游戏,布布扣,bubuko.com
原文:http://9165326.blog.51cto.com/9155326/1439376