Hi all.
Pretty much I’m making a top/down shooter and the floor (background) continuously scrolls underneath you. At the moment I have 2 images loaded and it scrolls through them until the first one is off-screen, positions it back to the top of the screen and continues. This works fine and lag free. The problem I’m having is i want different background to come and go, and pretty much loading extra background into memory causes alot of lag spikes. I’ve tried pre-loading them before the game starts but the game then lags frequently, and the fps fluctuates ALOT. Anyone have any ideas on how I could tackle this?
Also, just on the side, is 40mb of texture memory alot? I’m targeting android devices if that makes a difference but I can’t find a rough guide to the texture memory I should be aiming for.
Thanks for any advice 