kaplay icon indicating copy to clipboard operation
kaplay copied to clipboard

feat: add level baking for improving performance

Open mflerackers opened this issue 1 year ago • 0 comments

Tile maps get slow quickly as their size increases. A solution would be to use a combination of baked levels and normal levels. A baked level does not contain individual objects. It draws its tiles in the most efficient way (which would probably be drawUVQuad currently, though a cached mesh would be better) and merges collision areas as much as it can to minimize the time to process collisions.

mflerackers avatar May 23 '24 01:05 mflerackers