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

HMM! Well I think I've made it better? Framerate seems more stable on this poor laptop?

Not bad for built in graphics.

Ok, @gamejolt somethings definitely up with quests looking at the 4/7 that means I was right and my quests didn't reset yesterday.

Previous post: https://gamejolt.com/p/has-atgamejolt-gj-jolt-changed-when-your-…

Too spooky!

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

Well i'm def getting somewhere, now to make the lava glow less grid aligned

Sorry i've not been around much my tablet finally gave out and thats limited me

We're about halfway through #Joltober, and here is some of the great art we've seen so far!

Artists are tagged in the article. Be sure to like their original posts!

Explore the tags to see even more great art!

That sucks. I spent ages reworking the draw world code to make it better and it made everything slower

Guess drawing and storing the whole land, then only drawing part of it to the screen, is better than generating only part and drawing it constantly.

YUS!

Dive into the cozy post-apocalyptic open world of Critter Cove!

Gentleman Rat Studios (@GR-Rob ) describe it as “a little bit Animal Crossing, a little bit Stardew Valley. Maybe even a little bit Windwaker, too."

Wishlist the game: https://bit.ly/CritterCove

3 new card packs! 1 pull of each!