2 years ago

Fixed my Array Order Load bug!


I realise that if I change the order of the entries in the Building array (as they appear in the Build Menu) it breaks the Save Loading of the buildings.

This is because my Load code "Re-builds" the building as if the player made it, so when the game Saves it stores the place you'd be in the building array then the Load uses that to get the correct data, so if I rearrange between a save and a load it wont find the correct building.

SO! I'm now storing the building type (name) and feeding that into a ds_map to return a value, that value is a Macro e.g "FURNACE" = 3; which I use when populating the building array. Now instead of rearranging the array manually I just change the Macro number for the relevant value and that does it automatically!

Didn't work the first time though...forgot something XD



0 comments

Loading...

Next up

October is my birth month, but it's also Gobtober!

So please draw Goblins and show me! I haven't seen a prompt list for this year,so here's 2022's for some ideas!

You can post them in the Thrall of Time Games Goblin Fan Art community! (or just tag me)

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

Got birthed

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!!

They got new cards in Pokemon TCGP, Let's do a 10 pull!

Joltober is coming.

Get your art ready!

Here are what the daily prompts will be.

Woo!