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

Some card pulls since there's a new pack out!

[1 of 3]

From the weekend😸

Recent shinies!

Not great ones tbh, mostly slightly different shades to the originals.

They really need to overhaul the shiny system from the start.

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

AAAAAAAAAAAAaaaaaaaaaaaaaaaaaaaaaaahhhhhhhh! I got the cute cactus card I wanted!

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.

Ok, lighting test set up, kind like this setting? Blend mode bm_src_alpha bm_dest_alpha

wow thats a crunchy gif!

Lol, wish I could force the game to generate things like this, but it's not really possible with the perlin noise generation.

The Knightling launches on August 28! Wishlist it now so you don't miss out: https://bit.ly/KnightlingSteam

To celebrate the game's impending release, we've added The Knightling Pack and The Knightling Community Pack back to the Shop!

OMG the reason that the lighting was inconsistent is because there's bug in my Weather system that means it always draws a cloud shadow over the Island (but not the Caves or the Underground)