As chosen by the Update Poll, the Creepy Crawlers Update is up! Featuring two new, very unique humanoid races, wrapping up this part of development for now (we got 12 races total! And you can still vote for more later). Look forward to some extra Halloween surprises too, in this very thematic v0.69 update!
Changelog
New playable and NPC races:
NAGA! Poisonful humanoid cobras, delivering pain with an extra bite every attack, with long, fat tails to swipe enemies with!
INSECTOID! A drone-like member of a hivemind, easily replaceable by an endless supply of peers, boasting all other insect characteristics, and even capable of evolving based on its stats!
New Item: Poison! Coming straight from the new Nagas, this extra strong poison can be bottled and used for many nefarious deeds!
To commemorate Halloween, Something else was added!
Several fixes and optimization as fan-contributions by Addison @addison.h, praise he!
Implemented Distance fading for Lights/shadows
Terrain mesh generation
Fog of war
Landmark position caching
Changed terrain collision to height maps. That matches your chunk format better and is also about 20x faster to calculate physics each frame
Process groups per chunk. I found that a ton of time each frame was spent in the engine just sorting node process trees. That's because every node in the world was in a single tree and adding/removing nodes causes the entire thing to be resorted. Entities loading in and out causes that to happen pretty much constantly. Now there are many separate trees and so the sorting cost is nearly negligible
Lots and lots of entities only call process with they actually have something to do. Dynamic dispatch on GD Script _process adds up when thousands of entities are polling each frame
I applied that same technique to a lot different things. Gather spots, object ailments, house foundations, maybe some other things
Status effects previously each had their own timer. Tons of timers ticking each frame charged the same dynamic dispatch cost as the previously mentioned _process polling. Now there is a status effect manager that ticks a single timer
I cached some lighting checks and screen size checks
Replaced some other polling patterns with events
Minimap doesn't check the entire world anymore. Just the local area
Roads only recheck after you've moved some instead of every frame
Fixed some race conditions when quitting or entering a house/dungeon
I increased the physics collision distance from the 20m I had set the last time I sent you a patch. It's up to 40m now since the other improvements offset the physics cost by a huge amount
I added shadow distance fade on all light sources. That helps tremendously in places like cities
Not only do these changes improve the average frame time, they also have a big impact on the worst frames. My worst frames went from like 19ms to 6ms. I'm seeing over 400 FPS in some locations now
Adjusted the contrast of the texture of Reptilian skin/scales
Adjusted the texts describing the Perks and traits of Arachnids
Adjusted the Venom of Arachnids so it only Paralyses (at twice the potency!), for better distiction from Nagas' Poison
Heavily optimized the text of Book Items, so they're no longer so heavy to save/load
Increased the pitch of Reptilians' voices, so their old one is used for Nagas
Minor adjustments to the race description and journal texts of Satyrs (saying they smell)
Updated the Wizards in the Towers' Levitation Rings so they work better as actual magic Rings in general
Fixed incorrect count of Tusk Items given when scavenging Tusk Piles
Fixed incorrect pitch for levelling up sounds for female characters
Fixed some misc issues in the Title Screen
Want to vote on what will come next? Join us on Discord (18+ years old only)!
Some of the content introduced in updates won't show up in your game world, or at least won't be readily available, if it was generated before the update. They should not corrupt world files, but if they do, please report it!
Thank you for your suggestions and bug reports! Please let me know what you think of this update and if you ran into any issues.