Libgdx preferences cause lag

116 Views Asked by At

so I started using preferences to save my objects positions (about 800 ints).

When I press new game in my app it's ok, runs smoothly but after few times going back to menu, then load back to game, it starts to lag, or starts to work too fast.

What could be the causes of these app actions? Do I need to dispose a screen when i switch to another? Or something just gets stuck on looping when loading preferences?

0

There are 0 best solutions below