SakeTami
Speiger
Speiger

patreon


Finishing up improvements

About two weeks ago I showed the progress on my rewrite and that it wasn't finished and it barely ran.

Now two weeks later the coding on the Systems are done, and a lot more efficient as before.
Thanks to the cleanups that came in I was able to save another couple hundred megabytes in the extreme cases.
Dropping down from 2.2GB to 1.7-1.8GB in ram usage. On top of that the rendering works now how it is supposed to.

Giving me a bit of relive that this scary part is now finally over. 

Next thing that got finished up as can be seen is the placement handlers.
Because the best TileSystem is worth nothing if you can not place anything.

Implementing the placement handlers was a bit tricky, since I had to implement a "FakeWorld" that will keep track of all "Attempting" Tiles to place.
On top of that since Tiles are no longer "Unique" instances and just a "Number", that made things a bit more difficult.

But after implementing that there was a funny discovery that I had.
My game is able to place down Tiles via multiple threads. As long the "Rendering Queue" is paused during the placement its also thread save.

Separate to that, there is now a extended data storage for the Tiles that can be used, Tiles can be using multiple places at once.
And overall some cleanup happend during the finalization of this rewrite.

Next thing I am going to finish is entities and pathfinding improvements.

But yeah that was it for this post. Yeah it was a short one but I wanted to have at least one more out before the year ends.

Yes for this year this was the last post.

Thank you for following my progress and I wish you guys/ladies a happy Christmas & New Year.

Speiger

Finishing up improvements

More Creators