2 years ago

So I've set the Underground (different to caves) to be generated by code now instead of being built in the room editor.

I really don't want to have to make a second array twice the size to add objects to the room, I have some ideas though.


-I could just make an array that lists the object types and their x/y values instead.

-I could put then in that original array and add something to the placement code to offset them based on their relative position (left side of room, shift to left side of the tile, top shift to top side of tile etc)

-I could just put them dead centre of the tile? That's not how buildings work on the Island, but meh!

-I could make new sprites that are tile sized?

Hmm

Oh, and that array? It gets destroyed after use by setting;

underground = -1;

So it's not stored in memory forever. Not a huge performance boost, but there's really no reason to keep it.



11 comments

Loading...

Next up

because I wanted to?

#Devruary

PIKACHU NOOOOOoooOOOOo!!!!

I want that cactus card!!

Finally! Been waiting for this for months!

With this catching other things should be MUCH easier!

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

TCGP Has the Gold packs back and I need like 150+ of them so I did 12 pulls, got some good ones!

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.

Finally! It has taken me 17 days to get this from the Wonder Pick, I would have gotten it sooner but I pressed the wrong place not realising my phone screen wasnt locked (I always press the same location every day)

Finished the set too! (Except shinies)

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

The Knightling launches on August 28! Wishlist it now so you don't miss out: https://bit.ly/KnightlingSteam

To celebrate the game's impending release, we've added The Knightling Pack and The Knightling Community Pack back to the Shop!

Happy New Year everyone!!

Geez, 2026!!

Bit of a short one this month. I took things easy over the holidays, partially because of the time of year but also the heating broke and granny had a few bad days so she needed more focus.