3 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

Updating water, added some stuff to make things more visually pleasing. I think I need the tint back or maybe to try different blending. Kinda want to try a displacement map again instead of the directional movement? Need to find that again. (laptop gif)

OMGOSH, don't sleep on this quest!!!

Shame you can't go over 7 charges

A friend took granny out for the day so I was able to take part in today's Pokemon Wild Event.

Fricken caught a Galarian bird finally! Articuno in a Safari ball for guaranteed catch!

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

Ooo pretty!

Added more underwater stuff. They aren't too visible. Some of them look a little weird though, I dunno maybe I need to mix the up instead of having single ones.

Happy November everyone! I hope you all had a wonderful October! Mostly optimisation and reworks this month.

https://www.patreon.com/posts/141102397

Mae Borowski is the main character of Night in the Woods! It's an adventure game that tells the story of her return to her hometown of Possum Springs. She was confirmed as canonically pan in a social media post by the game's creator Scott Benson.

Favourite #TeamShooter? I Would never! It's illegal to shoot people, never mind a whole team!!