Possession 2: Progress Updates


Well, it’s been a month since the last post, but the past month has been pretty busy life-wise, first I was out of town, then had people coming in from out of town to stay with me, then out of town again. So that’s my excuse.

Anyway, one major piece of news is that the tombs are officially finished, which basically means that I told myself I wasn’t allowed to work on them anymore. The tombs tileset has all the graphics done, all its creatures are done, and it has a unique boss. This shot shows him, and a new creature from the tombs that hasn’t been shown before, the pyramidologist.

Tombs boss, and Pyramidologist creature.

Tombs boss, and Pyramidologist creature.

All of the special levels up until now have just used the regular map gen code, with some special rules applied on top. For the newest special level, the Adventurer’s Tavern, I wrote a brand new map generator.

The #s are beds, they just don't have graphics yet.

The #s are beds, they just don’t have graphics yet.

I’m sure people have done something like this before, but here’s a description of how it works, in case it inspires anyone to use something like it.

First, you split the level into a grid of equal-sized squares. Since right now my levels are 50×50 tiles, I’m splitting it into a 5×5 grid of squares each 10×10 tiles.

emptygrid

 

Then, it picks a random side, and makes all the rooms on that side “barrooms”, that will contain the exit. Then, it picks a random room one up from the other side, that’ll be a “storeroom” and contain the entrance.

Really, it puts a couple more storerooms in there for good measure, too, but whatever.

Really, it puts a couple more storerooms in there for good measure, too, but whatever.

Then it puts hallways in all the empty rooms, and puts bedrooms in the empty space, resulting in a final result that looks like this (in ASCII mode to show more of the level):

tavernascii

Naturally, I had to write a name generator for the tavern, too.

I won’t go into full details on all the creatures in the tavern (partially because none of them are fully coded yet) but I will leave this guy here:

rogue Screen shot 2014-07-11 at 1.22.25 PM

 

Some other creatures I’ve implemented are:

bloodmage

The blood mage, who I think would make a pretty interesting class in a “normal” roguelike or RPG. He has some powerful spells that let him decrease how much damage he takes and deal a lot of damage to the enemy, but to cast them, he has to sacrifice his own health points.

koboldprotestor

Kobold protestors, who are weak and scrawny, but throw molotov cocktails, and can blame a nearby creature for their troubles, causing other nearby kobold protestors to attack them.

taylor_1

 

Unicorns that shoot rainbow death lasers at sasquatches and big game hunters.

 

 

 

 

 

Leave a comment

Your email address will not be published. Required fields are marked *