1 year ago

Thought I had everything set up so I could just easily add new Building Types..nah so many fiddly bits needed changing. So I redid it all!


Recoded anything that was hard coded to look for building ID's to be much more robust, should be much easier now to add new Buildings.

Instead of having to go through all the code and add the new building ID to the if statement, I've added a script isBuilding, when I add a new Building Type I just need to add the typeID to that and all the checks will get updated!

Also added scr_GetBuildingSize, which will grab the size of the array used for that building type and use it for the default size values, so as long as there's a default shape all the code will have the correct values!

Also, new Building. The Dormitory!

Gives the Goblins somewhere to sleep if they don't have a House, but has no other benefits.



8 comments

Loading...

Next up

There we go! Features now effect which floor layout parts are used! This was already the case for floors with only one feature, but since I added the multipart Ruins all parts were the same (aka all with water around them).

Busy working on stuff, here's some previous gifs!

Charged Sticker Appreciation Post for September! Thank you all so much for your support, it means the world to me!

Oh wow, we got a 3 way tie for first place!

I hope you all are doing well and have an amazing GObtober!

Doki Doki Literature Club is celebrating Monika's birthday and the 8th anniversary of DDLC with exclusive stickers, avatar frames and backgrounds on Game Jolt! 

Head over to the shop to collect yours 👉 https://gamejolt.com/#shop

#gjbroadcast

Adding particles to Grass and Tree interactions.

[shitty slow tablet gif]

Dive into the cozy post-apocalyptic open world of Critter Cove!

Gentleman Rat Studios (@GR-Rob ) describe it as “a little bit Animal Crossing, a little bit Stardew Valley. Maybe even a little bit Windwaker, too."

Wishlist the game: https://bit.ly/CritterCove

The Halloween charges are back!!

Mae Borowski is the main character of Night in the Woods! It's an adventure game that tells the story of her return to her hometown of Possum Springs. She was confirmed as canonically pan in a social media post by the game's creator Scott Benson.

Re-worked the wall code for Caves and Ruins so I can have both tilesets at once, and made it so walls can't generate over the Teleporter/Stairs. Now I just need to figure out how best to stop areas getting blocked off (since you can only mine ore walls)