Skip to main content

Instantiating Doors ~ A Tragedie

Most other roguelike developers prefer to path hallways between the rooms, and then instantiate walls around every floor tile. This makes creating a pathway through the dungeon a rather simple affair. In my case, however, I didn't want to have the traditional hallway type between the rooms. Rather, I want the overall design to mimic a boat - large rooms that are interconnected through passageways that run parallel.

Because of this design choice, instantiating doors has been a major pain. This is mostly because I don't know all of the tools available to me quite yet, and figuring out which one to use where takes some research. Then, of course, using it properly means iterating the code until it works. The slew of problems that had to be ironed out included the doors and walls not aligning, walls not instantiating at all, doors instantiating in room corners, wall tiles being replaced by door tiles, and so on.

You can sort of see how I refined door creation through the album below.

You can also see just how messy it was in the beginning.

And the problem still isn't quite solved - if you look closely, you'll see that doors are instantiating on top of walls. Doesn't really make the door all that useful, does it?

Comments

Popular posts from this blog

A Bit Overdue

Shit.

Sorry about that. I really meant to post last weekend, but, you know, things.

I've been contemplating which of the three I want to start writing out first, because no way would I be able to write them all simultaneously. Which would actually be amazing in terms of laying down themes on a parallel basis. It sounds fun...

But also insane.

I'm not up to the challenge. Not yet anyway.

Anyway, I figured I'd start with the middle one - O.N.I. No, it's not about my name; that's just happy coincidence. It refers to the Oni - devils from Japanese folklore. I've been envisioning that company as having made a proverbial deal with the devil to be able to travel across dimensions. Which of course we'll get to later. For now, I want to chat about the opening.

From a technical standpoint, I'm thinking of opening each of them in a similar way and trying to give an incredibly crucial first choice that also foreshadows the fate of the whole journey. Which hasn'…

Happy Belated New Year Yadda Yadda Yadda

The holidays have come and gone, finally. Was super busy just getting things in order, so I wasn't able to do much for Fractal. But I was thinking about its structure, and I put some of the bones  for the intro down. Also, I discovered Inform 7 halfway through December, so I had to check that out for a bit.

ONI Intro. Alright, so I got a bit of time to work on this. Just a couple hours, so there isn't a lot. And there's probably a ton of typos and errors and whatnot. Foreshadowing on every page, so keep an eye out for stuff changing in the big picture perspective. Definitely message me if you find errors so I can correct 'em. Thanks in advance!

Note to self: pencil in an hour a day for Fractal on the calendar.

But yeah, I wanted to keep this intro much more personal, and a lot less active than Dawn of Aquilas' intro. I don't want the pacing to be constrained by a physically intense opening, and would rather build to it. And besides, opening with the heart is a b…

First post?

Alright. So just got this thing set up, figured I'd type some stuff in here to make it not quite so empty. I haven't had a blog in a while, and I used to spend a couple of hours building each post: figuring out its theme and topics, structuring it, doing a whole mess of editing, and so on and so forth. It was time-consuming to say in the least, and it got tiring quite quickly.

This go-around I think I'll just throw spaghetti at the wall, not caring if anything sticks. Not that I don't enjoy making good posts, just that I'd rather concentrate on actually writing IF stories rather than "proper" blog content.

So expect a crapton of grammatical errors and typos.

Aaaaanyway... So this IF series actually was born because of my defunct actual-play podcast called Penumbra Extinction. I was writing three IF novels to supplement Penumbra, with each one providing some backstory to each of the three main dimensions my players were going to visit.

You can even read my…