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

Woop woop!

#pridejolt

It's not as good as when the player fishes, but NPC's can now fish in Fishponds. I need to set up some more variables to get the bobber to bob and to let them be able to cast the line.

Also animate the water...maybe add shader?

That's tomorrows job.

YUS!!

I hope you're all having a great weekend!

Madeline is the main protagonist of the mountain climbing platformer, Celeste. The game has been praised for its visuals, gameplay, and introspective narrative. The game's creator Maddy Thorson confirmed that Madeline is trans in 2020.

It won't let me

titan

Wa-hooo!

Thanks to my nephew I finally got my Lucky Shiny Koffing!

SO HAP

I...I think the Fish Pond is working...

animating my forever wip

Woop!