10 months 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

OH OF COURSE I see this Quest after just doing a huge number of likes >:| FINE! I'll like even MORE posts! That'll show em'!

Adding Cat/Mouse ears to portraits was the greatest idea I've ever had.

LOOK AT HOW CUTE THEY ARE.

If I ever find the time I'll animate them..

Smol

@TofuPixel is a Jolter to Watch and a pixel artist from England who works on indie games. She likes horror, nature, and funny animals! Follow @TofuPixel before the quest ends on April 15 and you'll get Coins!

Make a post celebrating a Creator with the tag #WorldCreativityDay ?

Hmm, how about @Victoree !

She is an incredibly talented artist, a pillar of the GameJolt community and a genuinely nice person who's kindness knows no bounds.

Send her some love!

Kikkerstein had a great day 1 at LVL UP EXPO!

If you’re in Vegas, come see us on day 2!

Yay! I took way too long to make these, especially with knowing how long it usually takes Game Jolt to approve Premium stickers.

But they're here now!

I hope they can bring some joy to people.

I'll do more if people want them.

Some recent Pokemon acquisitions!

Happy #WIPWednesday! Are you working on a game? Making some art? Practicing a song? Something else? Tell us in the comments!