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

Urm waht?

So when you guys called yourselves GameFREAK...

Too spooky!

Ok, @gamejolt somethings definitely up with quests looking at the 4/7 that means I was right and my quests didn't reset yesterday.

Previous post: https://gamejolt.com/p/has-atgamejolt-gj-jolt-changed-when-your-…

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

HMM! Well I think I've made it better? Framerate seems more stable on this poor laptop?

Not bad for built in graphics.

We're about halfway through #Joltober, and here is some of the great art we've seen so far!

Artists are tagged in the article. Be sure to like their original posts!

Explore the tags to see even more great art!

That sucks. I spent ages reworking the draw world code to make it better and it made everything slower

Guess drawing and storing the whole land, then only drawing part of it to the screen, is better than generating only part and drawing it constantly.

YUS!

too late for the prompt but for #Demon i drew Charlie!

Still like 200 cards i need so i did another 10 pull and got nothing fancy that I didnt already have