Okay, so I'm having some trouble with the platform behavior and a lot of objects on screen.
In the cap, there's 2 layouts. One uses a basic follow camera, the other a sprite with
the platform behavior. The Cam layout with the follow camera will handle 7, 8000 objects
like a champ, with no framerate drops at all. The Plat layout, however, is unplayable.
It only seems to lag when there's more than 2000 objects on the screen. The problem is
that the game is going to exceed that almost always. I know that the random terrain generator is not optimized in it's current state, in that it will fill the whole layout, but it seems that
regardless of how many objects there are over 2000, it will still lag just as badly.
I'm wondering how to fix this, right now I'm thinking writing my own special stripped down
platform behavior, but I'm hoping to avoid that. Or perhaps it's just my computer, I dunno.
Help is always appreciated!
The plat layout has standard platformer default controls. The cam layout uses the mousewheel
to control the speed of the follower. You can destroy blocks by holding down LMB and mousing
You can download the cap right here.