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

Happy Trans Day of Visibility!

Please remember, you are valid and you matter .

Please look after yourselves and stay safe out there. Keep being awesome!

PSA: Please do not use small suns to cook potatoes in a campfire.

Totally forgot to post this, thanks so much for the support last month! I really appreciate you all!

(ugh laptop was struggling to record this )

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

Last 10 pull to use up my free points

Instead of doing #FanArtFriday, enter to win Opera GX’s #FirstStandArtContest!

This is your chance to win $5,000 USD! 💸

Art is your weapon. Garen is your champion.

Enter here: https://bit.ly/FirstStand

(We've included Garen variants for inspo!)

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)

Oh actually, one more 10 pull because the daily check in gave me enough to do it!😅

Play @pm-studios ' Bandit Trap Open Beta!

Grab your rocket chairs, vacuums, and toilet tornadoes! Report one more time for our final beta! Live through March 23rd 6 am CET.

Complete quests based on the game!

Play the beta: https://bit.ly/BanditTrapBeta

New card pack day!