More performance improvements (Patreon)
Content
Hey everyone!
A huge thank you to all my supporters. I don't have anything especially exciting to show off. I've still been on a performance improvement kick.
So as I'm sure people are aware, the way interiors work is they are located underground. This is pretty common practice. This also makes my life easier because I can keep things about the right size and it's a little easier for me to edit.
The downside to this system is with allowing multiple scenes to be loaded at once. Now that I have some NPC's in the interiors there was a noticable performance loss. This is because from some angles you can "see" both interior and exterior at once.
To handle this I now disable certain scenes when you transfer from interiors to exteriors. The advantage is I don't unload the interiors so there are still no load times if both areas are loaded.
Not exciting I know but these are the constant things you have to do to keep everything moving smoothly. Especially as there will be more stuff I want to add to both areas.
I've also managed to get item spawning working. Honestly it wraps nicely into some of my existing systems. I'll let you know when I've included it into the public build.
My current goals are to work on medical centre furnature and create a way to teleport the player to a "safe" location if you get stuck. I'll have more updates next week!