latebit / latebit-engine

Pixel based game engine integrated in your IDE
3 stars 0 forks source link

Keyframe drawing optimizations #75

Open shikaan opened 4 months ago

shikaan commented 4 months ago

We are currently converting the content vector for every Keyframe into what SDL can use for drawing on every tick of the game loop, and then we render them.

We can save some work by doing this conversion upon loading the frame and just render during the game loop.

Currently this hasn't proven to be a performance issue, but it's very likely to become one