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

Got around to adding some blending between the Beach and Desert now i should probably populate the Beach with some things to make it a bit nicer to look at!

Will do tile variants like I have for Grassland, but I'd like objects to interact with too.

I now have Magic!

kinda.

Huzzah! I now have AoE attacks!

I've swapped to having Magic Staffs instead of having to hold a second button to use Magic.

I'll see what else I can come up with but this fixes the keyboard ghosting issue for now.

Happy #WIPWednesday!

Are you working on a game?

Making some art?

Practicing a song?

Something else?

Tell us in the comments!

OMGOSH Someone just subbed to me on #Kofi!

Thank you so much for your T2 membership Jana, I sincerely appreciate your support!

It will really help me out a lot!

Happy #WIPWednesday! Are you working on a game? Making some art? Practicing a song? Something else? Tell us in the comments!

I THINK that's all fixed and working? Gained loads of FPS back.

I thought I'd need to remove another nested for loop, but since Ground Surface is only done once I don't.

Only issue is I've lost the dust cloud when adding Paving.

GOT IT!

Ground draws right for world, and UI. Now to get back to improving frame rate*.

*current is with WAY too many chrome tabs open.

@ilta is a Jolter to Watch! She's your local elven blacksmith! She creates pixel art, swords, chainmail, and more! Follow her before the quest ends on February 4 and you'll get Coins!

Ok! Footprint particles are all working again! Prioritises snow over the ground types. I should add a decay timer in case you stand still too long