Android in-game pause screen

Posted by Max on Game Development See other posts from Game Development or by Max
Published on 2012-10-01T12:00:12Z Indexed on 2012/10/01 15:54 UTC
Read the original article Hit count: 475

Filed under:
|

Right now Im calling a new activity with an xml-view when I pause my game, but Since I do this I need to use context in my real-time code, and this is causing a memory leak. Is there any preffered way to pause the game? By pause I mean if game is over, if I die, or if I press pause-button. Would a custom dialog work just aswell? this would mean I wont have to leave my main-activity while im in-game.

© Game Development or respective owner

Related posts about android

Related posts about game-design