#GameDev Support me with biscuits ;)

Last Progress Post (July):
https://www.patreon.com/posts/85745632

http://ko-fi.com/balmut

http://balmut.itch.io

DevAccount: @thrallgames

Thrall of Time⌛️


AHhhhhhh! Another month over!? I have no idea where it went :( I hope you're all doing great! (Cross posted from Patreon; https://www.patreon.com/posts/74059613 )

Perhaps in spite of my mouse still being broken I got LOADS coded this month! (My new mouse cable has arrived but the feet haven't so there's no point taking it apart yet)

Calander

Changed the total number of Months from 13 to 12, added Seasons which last 3 Months. Seasons have weighted Weather so more Snow in the last one (Winter?), more Rain in the second one! (Spring?). Trying to come up with some other Weather events that wont be too disruptive. It was really foggy a few days ago so now I wanna try and code that X'D

Saving/Loading

This is the big one, what I spent most of this month working on;

I've set up a Save/Load system! I'll slowly give all the different major objects their own part but currently I've got Trees/Grass/Rocks/some system stuff all being recreated correctly in a loaded world!

So in this gif I start a game, save (note the debug come up), quit to title (lacking a title XD), then start a new game; it's a different map! Then I quit again and load the saved world! <3 <3 <3

Got the first batch of Buildings stored! Buildings that Craft Items and those that Convert them all set!

And also Benches and their tops work! This was an extra bit of challenge, since instead of just replacing a Bench with say the Distiller, I update it with a SubType, so I've added a check and a loop to the load code. If it creates a building with a SubType it will do a second go of the Creation code and it gets upgraded to a Distiller!

There's still more to do with the Save system, I've been taking it slow to ensure that I don't mess anything up. Saving the customisation of Buildings that are made out of multiple parts like Houses is gonna be a challenge. I have an idea of how to do it, it's just getting it to work will be a pain.

Also saving the ownership data, say for a Goblin and it's Home/Work, or a Pet and it's Nest. I can't save the object ID between games so I'll have to use the object type and it's coordinates.

LAST MINUTE ADDITION!

Got Buildings Saving their Carpets/Rugs, should be able to store the Wall/Floor colours and Building Part placements (like Beds) the same way! But I am tired, and hungry, so maybe for next months update? :S

Bugs

LOADS of little fixes here and there, such as;

Fixed a bug were Item shadow's were clipping underneath flooring and snow.

Snow and Flooring now use the -bbox_top so they have a lower depth priority, and I added an offset to Item's depth (forgot I had to add it to the bounce code!)

Fixed a bug where Dry Grass wouldn't be recreated when Loading a game.

Fixed a bug where Dry Grass wouldn't spawn on Beaches.

Fixed a bug where loading a game would make fully grown trees sprout a new one each time you loaded.

Fixed Tall Grass not spawning in Swamp Biomes.

Updated the Culling System to properly cull Buildings that are made out of multiple parts, previously it just didn't cull them. Now when the main part gets culled all the other parts get culled into a part list that later gets checked when the master is unculled. Getting this to work with the Save/Load system though is gonna be a PAIN!

Fixed a bug where Houses would move when you saved and loaded :S

Visuals

Set up Flooring to give you a slight visible y offset, so it's like you're actually standing on something higher!

Makes it more distinctive to Paving!

OOoo! This is better!

Swapped the offset on Paving for one on Flooring, and adjusted the Depth on JUST Flooring, so now you can stand behind the raised floor! :D

Got Snow set up for working on Roofing, noticed some issues with my Roofing autotiling, so I think I need to remake that from scrap. :(

OK! Scrapped that Roofing because the thinner sections were giving me a massive headache trying to autotile. Made a much simpler one which was about all I could draw without tearing my hear out or the mouse out of the computer.

and it also works with snow!

Might need to adjust the height a bit more, so trees and the statue don't clip through?

Adjusted the offset for drawing roofing, and changed the Create/Destroy selector to more accurately show that you are over roofing, looks better to me.

I also extended the height of the extra bit of Roof drawn on lowest so it connects with Walls, I might change that and instead put it as part of the Wall itself so it's like the wall is taller?

Lighting

I keep messing with them, I think this is better? Did some rework with how darkness works and layered up all lights so there's three levels of brightness from each source.

All in all not a bad months work!! XDXDXD

(apparently the feet should be here by the 4th?)

Thanks as always to my supporters and to you all reading this.

I hope you all had a great month, keep being awesome everyone!! <3 <3 <3


You must log in to comment.