itch.io is community of indie game creators and players

Devlogs

Optimizations, and removed WebGL :P

Worldbuilder 1
A downloadable game for Windows and Linux

This week i've been rewriting a bunch of code & reducing calculations to make it work better.
Render distances of terrain & props have been increased, and also quite an improvement in lag spikes for loading in all the stuff!

Things i've changed include:

  • code changes to reduce updates and calculations that don't actually add anything
  • distance limit on moving water, outside this range it's not updated. the way i'm doing water updates is horrible for cpu 😅
  • GPU instancing & static batching, this saves a lot of time rendering all the props

This was the first time i used instancing and batching, the video 'Unity Performance Tips: Draw Calls' by Lofi Dev was quite helpful.

I've also removed the WebGL version as it started having really bad performance with this last version, and installing it works better anyway.

There will be at least 1 more update to add proper UI and game settings, but after that i think it's complete!

That's about it, cya!

Files

  • Worldbuilder1_Windows.zip 20 MB
    Dec 18, 2022
  • Worldbuilder1_Linux.zip 22 MB
    Dec 18, 2022
Download Worldbuilder 1
Leave a comment