I'm developing a vertical scroller with "2d-voxel"-like world generation. My problem is that when the screen scrolls the game slows to 30ish fps.
These voxels are 32x32 virtual pixels and i load three chunks of 16 rows with 27 elements per row simultaneusly on screen. I store them in a table.
I have tried moving them indipendently by iterating through the array AND moving them by moving their displaygroup ( this however calls further problem with collision detection and such).
Both solution seem to cause the same amount of latency.
Is there any more efficent way of rendering a 1500ish objects grid?