Save scene after pause\resume

Problems with Canvas, OpenGL, etc...

Save scene after pause\resume

Postby dilix » Thu Jan 26, 2012 2:43 pm

Hello,

i've found that after resuming the game all the engine is reloaded and application is reinitialized.
I want to save engine state and in "onResume" resume the game proccess.

I've tried to save all the engine (mEngine) and then after resume the game in "onLoadEngine" return saved engine. I think it is a bad solution and it doesn't work :)

What is the best solution for Pause\Resume the game (after power key pressed for example) in andEngine ?
dilix
Freshman
Freshman
 
Posts: 3
Joined: Thu Sep 29, 2011 7:57 am

Top

Return to Android 2D/3D Graphics - OpenGL Problems

Who is online

Users browsing this forum: No registered users and 3 guests