Dynamic Tiles Rendering


Two new things:

With the ability to fly and collide with obstacles, I tried to create a test level.

So, first - I improved the tile drawer to draw the level faster and more conveniently.

Secondly, after drawing about a hundred tiles and starting the game… Voila! The game's FPS dropped to extremely low numbers. 😱

I had to find a solution for faster rendering. Although, honestly, I tried to avoid this problem for as long as possible 😄

I thought that implementing dynamic rendering would be sufficient to display only the objects visible to the player, and started working on it.

And after some contemplation and attempts, there is a small result :) It turned out that implementing it was overall much easier than I thought.

I'm really happy about it 🙂

Leave a comment

Log in with itch.io to leave a comment.