pingjiang / rokon

Automatically exported from code.google.com/p/rokon
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

black screen when entering game with box2d second time #152

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.click "run" in eclipse to launching my game, every sprite show on the screen 
normally
2.exit my game by pressing back button
3.click my game'icon in Emulator or device to launch again.

What is the expected output?
my game is running well

What do you see instead?
black screen

What version of Rokon are you using?
latest trunk on svn

On which version of Android are you experiencing this?
1.5

Please provide any additional information below.
I add some codes in activity.dispose function, below:

currentScene.getWorld().dispose();
currentScene.removeWorld();
currentScene.clear();

even I comment these codes, my game doesn't work when launching second time, I 
think it may relate to memory issue.

Original issue reported on code.google.com by rayjun...@gmail.com on 30 Aug 2010 at 7:23

GoogleCodeExporter commented 9 years ago
I revert to old revision(maybe trunk 364 or 363,not sure), then this bug has 
gone. I can enter the game again. Hi, Richard, I haven't get any new update for 
several days. If you fix something, would you please commit to the svn. Thank 
you very much

Original comment by rayjun...@gmail.com on 30 Aug 2010 at 8:06

GoogleCodeExporter commented 9 years ago

Original comment by rtaylor205@gmail.com on 4 Sep 2010 at 3:18