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

Tomorrow is Dynamax Water Doggo Day...

I hope I can catch a couple!

Reworked how NPC's find their Points of Interest and interact with them, here's the Archaeologist investigating the Ruins.

Oh gosh, I got a new subscriber on Kofi!

Thank you so much Short Stack, your support really helps me out a lot!!

I hope you have a wonderful day, please look after yourself and keep being awesome!💚

https://ko-fi.com/balmut

Last week at LVL UP EXPO, we celebrated great games made by Jolters including Baldi's Basics Plus by @BasicallyGames !

Buy it on Game Jolt: https://gamejolt.com/games/baldis-basics-plus/481026

Thanks to Razer for providing the laptops and peripherals!

Bumping March's Game Dev Progress Post because Aprils isn't ready yet!

https://gamejolt.com/p/atbalmut-goth-gobo-gamedev-progress-post-…

Thanks for all the support and interest, I really appreciate it!

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

Happy May everyone! I hope you all had an amazing April! Here's the Goblin Sticker Supporter shrine for April!

Thank you all so much for your continued support, I can't express how much it helps out. Please look after yourselves and keep being awesome!

Score! Was a total pain to catch, but I managed to get a couple Dynamax Suicune!

Last week at LVL UP EXPO, Game Jolt celebrated great games made by Jolters including The Bunny Graveyard by @ElPichon !

Learn about the game: https://gamejolt.com/games/thebunnygraveyard/651214

Thanks to Razer for providing the laptops and peripherals!

Nee card packs dropped!

Here's what I've got so far!

SO incredibly lucky to get Solgaleo this early!