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

“I'll Try Spinning, that's a Good Trick!”

(shitty slow tablet gif)

YEAAAASSS!!!

The shown menu UI here all use the same script now. I just have to give it the scale, the amount of buttons, the width, height, x, y, an array of text values (and alphas if a button isn't accessible), and the index that tracks where ">" is.

ten years

Been stuck in the house keeping an Eye on granny after her episode earlier, but i caught one!

Shame it's not dynamax

Madeline is the main protagonist of the mountain climbing platformer, Celeste. The game has been praised for its visuals, gameplay, and introspective narrative. The game's creator Maddy Thorson confirmed that Madeline is trans in 2020.

Happy August everyone! I hope you're all doing well!

Mostly got a couple things done that I've been putting off, unfortunately I didn't get as much done as I'd hoped.

https://www.patreon.com/posts/136133803

✨️SHINY✨️

happy silksong day

Oh that's new, I'll take a picture...oh. OH!