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

Resolutions Schmesolutions

When I was in high school, I had a somewhat chaotic approach to cleaning. It began when I got frustrated by a cluttered desk, and dumped everything on the floor. I put back only the things I absolutely needed, shelved a few other things, and threw away everything else. This turned into a cleaning ritual where everything was classified as "keep", "store", or "discard". The goal was to discard as much as possible while treasuring only the things I truly wanted to keep.

Over time, that habit of mine evolved into something different. It became the cornerstone of my minimalist lifestyle. I learned to judge who and what I needed to treasure, and who and what I needed to discard. But it wasn't only about surroundings - it was also about self. I always found the idea of a classical hermit living on a mountain somewhat appealing, and I made many decisions to reach a reasonable interpretation of that. The path was much rockier than anticipated.

Anyway, at the b…

Coding schmoding: Populating Levels

Apologies for not updating last week. I ran into a number of problems while trying to put items in levels. It certainly sounded simple enough, right? If there's room for something to spawn, then spawn it. Boom, done.

Of course it's more problematic than it first seemed. Long story short, last week I spent a good chunk of time trying to figure out why functions I wrote weren't spawning anything at all. I don't recall all of the problems, but it was just one thing after another. You should have seen my browser tab - it was filled with Unity reference pages.

In any case, I decided to pick it back up this week, and finally got some progress forward.

Lots of learning and coding these past couple of weeks. Been trying to randomly spawn objects in the game world. Took longer than I wanted, and it's still wonky. Making progress, though. My sanity thanks liquor and pot. Read the Devblog in bio. #gamedev #gamedesign #indiegame #indiedev #solodev #indiestudio #prototyping #bsp…

Elemental Pests: The Æther Gremlin

Dusk creatures are not the only enemies the player will encounter. As with any ship or boat, it has its own type of pests such as bugs, birds, and rats. In Eclipse Perilous, the airships of the Sky Nation of Albion is beset with pests, albeit the Elemental kind.

Here is one such pest: the Æther Gremlin.

Not every enemy is made of Dusk. This one is an Æther Gremlin. It can merge with other gremlins, eat your metallic weapons and armor, and fights as part of a swarm. I need to make this particular Gremlin 'fatter'. It seems a tad thin... Devblog in bio. #gameart #pixelart #pixel #survivalhorror #roguelike #gamedev #unity #unity3d #indiedev #indiestudio #indiegame #gamedesign #eclipseperilousA post shared by Inigo (@ceritusorbis) on Jul 30, 2018 at 6:08pm PDT

Elemental Traits
Resilient. Elementals are typically moderately resistant to all forms of damage. This includes physical, psionic, and other elemental damage types.

Swarm. Individually, each Elemental poses little threat - they…