1 year 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

I WILL figure this damn bug out >:|

Progress post for December!

Also available to read here: https://www.patreon.com/posts/117543820?pr=true

Spelunking update so far. Added new Events, updated the fade out/in, added loot lists. Still a few things to fix and improve like the UI.

For some reason image_speed is not always updating.

Our 2024 Advent Calendar has opened! Day 28: @Silentfaith is a great Creator and comic artist who also codes fan games! Accept the quest and give them a follow to get Coins and a seasonal sticker!

urgh why it gotta rain i want grass cats!

@AnubiArts is a Jolter to Watch! They post great pixel and low poly art! Follow them before the quest ends on December 31 and you'll get Coins!

>:| One day I'll figure out why this square edge happens.

I was working on showing Spelunky stuff, but turns out I didn't fix that surface bug, so back to trying to do that.

Current theory is that the surface is being destroyed and a path is being drawn instead?

Our 2024 Advent Calendar has opened! Day 19: @SnowHexArt is a great Creator who creates pixel art including animations, assets, and more! Accept the quest and give them a follow to get Coins and a seasonal sticker!

Well I manage to get a couple shinies in the car ride back from lunch so not too bad! Also, here's some TCG Pocket cards I got recently!