I’m going to preface this by saying that work on the user interface is probably my least favorite kind of programming. It’s tedious and boring, and doesn’t feel very productive. But once it’s done, it makes a world of difference. Since the first Possession was whipped together in a week, it didn’t have that much polish, though I think it was pretty good for being made in only 7 days. I’d like Possession 2 to be much more accessible, better-looking, and playable, though, so I’ve been doing some work towards that end.
The sidebars used to just be drawn as a simple square. I whipped up a border to use instead, and also made it adjust based on how much information needs to be shown rather than just taking up the entire side of the screen. It also shows you the special abilities you can use in your current body, and you can now press the number listed to use that ability instead of having to go through the spell screen.
One thing you can see in that picture is something entirely new: A menu that shows up when you right click on an enemy or square. It lists the abilities you can use on the targeted location, which means that the game can now be played entirely with the mouse, if you want. (Actually, that’s not completely true yet, you still have to use the keyboard to go up and down stairs).
Another other thing I’ve been working on is changing the stat system of the game. In Possession 1, every creature had a “Hit Chance” and a “Dodge Chance. But what made things confusing is that the actual hit chance was the “Hit Chance” of the attacker minus the “Dodge Chance” of the defender, so a 50% hit chance could in reality be, say, a 10% hit chance if the attacker had a high dodge score. This also led to silliness like some creatures having a 120% hit chance. I’ve gotten rid of that, and just gone to a basic “hit skill” and “dodge skill” system. Since those numbers aren’t quite as intuitive as hit chances, the game now shows you the chance of hitting (or being hit by) an enemy when you target them.
Here’s what the Monsterpedia, which contains information about the monsters you’re possessed, looks like now. In the first game, it was just kind of a jumble, the creatures were just listed in there based on which ones you possessed first, but now they’re sorted by level, and the list is scrollable. It also tracks your stats with the individual creatures, showing how many times you’re possessed a creature type, how many times you’ve exploded one, as well as how many kills you’re made and turns you’ve played as a creature.
I’d like to get some feedback on all these interface changes, which is hard to do without people actually playing with them. Luckily, it actually looks like the game’s going to be in a stable enough state (though still nowhere near finished, content-wise) to release a playable dev version soon. And by soon I mean “hopefully this week.” So stay tuned for that.
So I apologize for not really having posted anything recently. There’s been some work going on, but a lot of it has been kind of behind the scenes (probably worth a post, might be of interest to other game dev people), and honestly, there hasn’t been THAT much work done, either. Right now my job situation just makes it hard to put as much time in as I’d like, especially considering I’m still running and working on Pleasantville by Night.
I do still have the energy to do some conceptual work, so once I do get the time to work I have plenty of creatures already planned out. I’ve also managed to make myself do the sprites for quite a few. Here’s a look at some of them:
That’s fifteen new creatures. Possession 1 had a total of 31 creatures, not counting the ghost. Only 24 of them were possessable. The creatures in that one image alone is more than half of what the first game had!
Here’s some more info on how much bigger Possession 2 will be than Possession 1. Possession 1 was five levels long, and each level had the same group of creatures available each time. Possession 2 will be ten levels long, and eight of those levels will randomly be one of three possible levels and creature groups. If each of the levels has an average of five creatures, that’s around 130. That’s already a hundred more than the first game had, not counting bosses or summonables. And, of course, there’s going to be a wider variety of level designs and level features, not to mention all the new creature abilities.
In about two weeks, my job hours are going to drop to sane levels, so you should be seeing more from me after that point. My priority will be to get a playable version out. It won’t be complete (or probably even winnable), but you’ll finally get a chance to play around with some of the new stuff.
Not only will Possession 2 feature greater variety in its regular levels, but there will also be several “special levels” which you will sometimes visit instead of a regular level. The special levels are themed, featuring special tiles and design, and creatures that fit the theme. More interestingly, they usually feature special tiles, features, effects or layouts.
The Tombs are the first special level I’ve made. They’re a series of rooms connected by corridors. Inside, you might be lucky(?) enough to find mummified kings sleeping amongst massive piles of treasure!
Being a ghost, you don’t really have much use for gold. But the mummies don’t know that, and if you touch their gold, they’ll come to life and attack!
There are also cultists scattered throughout the tombs, who wander until they find a mummy, then begin worshipping it. While the cultists aren’t very strong (and the mummies themselves are a bit on the weak side, too), if you’re not careful you could find yourself being chased by a mob!
There’s an upside, though. If you possess a mummy, unaligned cultists may start worshipping and following you instead!
There are other creatures in the tombs, too, such as deadly sphinxes, adventurous archeologists, as well as our old “friends” the tourists:
Happy New Year! It’s been a while since I’ve posted. Writing devlog posts just kind of fell behind over the holidays, but work has continued.
Today I’m going to talk about the levels. Possession 1 had just one level generator. It worked pretty well, and made pretty good-looking caves, but there wasn’t much variation.
I’ve added some more randomness to the cave generator, so that sometimes it makes more open cave and sometimes more enclosed ones, but I’ve also added three more level generators. They all will receive some more tweaking as work continues, but here’s what they look like so far:
The “BSP Tree“:
The standard seen in most roguelikes, this generates a bunch of rooms and links them together with corridors.
Pretty self-explanatory. Generates a maze. To make it more interesting, I remove all the dead ends (except two, where I place the entrance and exit), and add some extra passages and rooms.
The “Drunk Walker”:
It needs a little more work to ensure that more of the level is open, but this builds random, more natural-looking tunnels across the level.
There’s more new stuff in levels besides changes in their shape, though. There are going to be special levels (the first of which is almost finished and will be the subject of a later post), as well as modifications that can be made to basic levels, such as adding rivers (of water, lava, blood, slime, etc.) and chasms, or covering the level in (flammable!) grass and trees:
I’ve also written the graphics code for tiles in the levels themselves. There are seperate tiles for walls depending on what other walls they connect to, and various floor tiles to make the level look more varied. You can also see a chasm on the left. Chasms can be crossed by flying creatures, but not by others, and you can knock your enemies into chasms if you have abilities that let you push them around!
Not all levels will look the same in graphics mode, either. Special levels will have special tilesets. For example, here’s the “graveyard” tileset from the first level:
All the environment graphics are pretty ugly, I know…I just made them quickly for testing, the final versions will look better.
As I mentioned earlier, I have someone working on graphics for the game, and hopefully I’ll be seeing what he’s done sometime this weekend.
For the time being, though, I’ve made some quick little pixelly sprites on my own, to test the graphics code with (and also to make screenshots more interesting).
I’d also like to introduce the first new creature in the game: the caretaker! He’s found on the first level, and is a sort of stealth-based character.
He has some unique abilities that aren’t really like anything in the first game. First of all is Undead Repellant, which keeps undead from noticing you (though they’ll still notice you if you attack them!). The second one is Undead Bait. If you throw it at an empty square, it will make nearby undead congregate around it. But, if you throw it at another creature, it will make all nearby undead attack THEM instead!
(Unfortunately, the screenshot I just took reveals that the creature will also attack ITSELF, so that needs to be fixed).
For the last week, I’ve been taking part in the “7-Day Roguelike Competition,” which involves creating a new game in 7 days. Today’s the last day, and I’m done!
In case you (somehow) missed my earlier (incessant) posts about it, in this game you play as a ghost escaped from the Nether Regions, trying to make your way to the surface. You are incredibly frail, but have one advantage: you can possess the bodies of the monsters you encounter.
It’s been a busy 7 days, and now…I’m going outside.