原来的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