2 years ago

Reworked Weather to be Chunk based and things seem to be working so far (this island only has 1 Chunk though... so time will tell)

Also, connected Weather Speed to the Game Speed! NYOOOOOM!


Looking at how I'm storing Snow Data.

I'm making a SnowGrid for the map and saving each snow id in the cells so I can check the grid coordinates if there's something there already.

I'm also saving the same id in a SnowList which I can run through to decrement the Snows Life (since running through a huge grid would be slow).

Thing is though, I can't save Grids in a ds_map which is how I'm storing Chunk Data, so I might need to figure something else out, or just move the grid to the Chunk Object and not the Chunk Data. The list can go into it though.

So I'll have to store it outside of that, no big deal really just an extra thing to look after when culling and save/loading.

Thinking: I could save a Ds_map as x12y25, then when checking for existing obstacles check for a Ds_map with that name? It would be stored as:

x12y25 in SnowList in SubChunkMap

But I don't think I need that? I'm already saving the Snow Id in a list, so I can just put:

snow. id in SnowList in SubChunkMap

With or without the map I'm still going to have to run through the whole list looking for the correct entry, may as well save using an extra map.



3 comments

Loading...

Next up

From the weekend😸

Charged Sticker Appreciation Post!

Thank you all so much for the support, it really helps me out a lot!

I hope you're all doing well and staying safe! Please take care!

New pack day! Let's open a couple 20 pulls!

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

Recent shinies!

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

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

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.

because I wanted to?

#Devruary

PIKACHU NOOOOOoooOOOOo!!!!

I want that cactus card!!

The Witchspire Art Competition has come to Game Jolt!

To celebrate Witchspire's demo launch, Envar Games want to see your Witchspire fan art. Complete the #WitchspireArt quest to enter!

Learn more about the art competition: https://bit.ly/WitchspireArtCompetition

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