10 April 2022

Free Release: The Swine Pit

 More than a year in the making, it's finally here: My very first roguelike made in Twine:

The Swine Pit

Play it in your browser - it's a Twine game after all. But it's very unlike any other thing I've ever seen made with Twine. Possibly, because it was a mad folly to create a roguelike with that platform, but it's the one I can code in so that's that.

Descent into a horrible dungeon full of swine-like monstrosities posessed by the demons of hell. Experience the harrowing story of one out of seven different character classes, who all have different abilities that make their playing experience radically different. Cast spells as the apprentice or the scholar, brew potions as the alchaemist, craft your own weapons and cook food as the huntsman, or survive by your brawn alone as the squire or the tribal. Or die horribly as the sacrifice.

08 April 2022

Working on: A Rogulike. Made in Twine.

 So for the past year or so I've been (on and off, of course) working on a new roguelike. It's not my first foray into designing one: I've attempted to make them in the form of books (semi-successful: It's a good adventure-riddle but not roguelike beyond having a randomized labyrinth layout), board games (close. But better as a traditional board game co-op experience), text-adventure video games (that's more like it - but alas, I didn't do the coding) and low-resolution retro-games (not the roguest of roguelikes but also close - also a collaborative effort with my friend Niels). Now this time I've done everything myself, using the only platform I can do some coding in - Twine. Twine 1, that is.

Can one make a roguelike in Twine? With some limitations: Yes. I did it. It's pretty much finished, all I need to do is publish it on my Itch-site, which I plan on doing this weekend. Let's do a little post-mortem on the project.


Making a roguelike in Twine

Twine wasn't made for creating roguelikes, obviously. The main strength of the platform is that a layman such as myself, more interested in writing than in coding, can make a functioning piece of interactive fiction without much foreknowledge. Starting from relatively humble beginnings I learned to use more and more of the coding language features until I was able to make first a text-based survival-horror-game and then an hommage to Resident Evil. But creating my roguelike was a totall different beast. It started with a random maze, then I added parts of the combat- and inventory-system from Zombie Mansion, then I made a system for placing random monsters, loot and room features.

Technically, you do the same floor over and over again: There are only 25 'rooms', wich get different walls/passages, features, treasure-items and monsters every time you descend to the next floor. The rules for filling the rooms change when you go deeper though - as do the stats of your character when you level up. The whole thing has a high level of complexity. Here are some stats of the Twine project:

  • 160 Passages
  • 424 Variables
  • 21 Types of Monster
  • 7 Character Classes
  • 50+ Types of Item
  • 12 Spells
  • 6 Potions
  • 25 Floors total
    • 5 Curated floors with boss fights
    • 4 Floors where there is a trader to do trade with

In the editor, the whole thing looks like this:

The character classes (on the left) all actually play very differently: You have fighty characters like the Squire, who just stabs enemys with his spear. You have casters like the Apprentice, who can learn spells from scrolls to use them many times. You have utility-classes like the Scholar who will fill her journal with lore about the dungeon when you go deeper - and can later scrounge for scrolls (which kind of makes her a caster class as well). Many items have multiple uses: You can use a thighbone you find for combat or sacrifice it at a firepit for a health-boon. Potions can be drank, hurled at enemies or poured onto things. The seven classes each have a specialty:

  • Squire: Offense in combat
  • Tribal: Defense in combat
  • Apprentice: Magical spells
  • Alchaemist: Potions
  • Scholar: Lore and nerdery and some spells
  • Sacrifice: None, this is the difficult class
  • Huntsman: Crafting and cooking
The project started out as a generic dungeon in a medieval world. When I made more characters and enemies, the world started taking a more unique shape. The Swine Pit, the dungeon of the game, became a hellish hole in the ground filled with demon-posessed swine-creatures and their retainers. My fandom of Darkest Dungeon definetly shows in a lot of the descriptions.

I'm also quite proud that the majority of monsters have special moves that go beyond direct attacks: Some may beat your weapon out of your hands, some can destroy armour, some displace themselves, steal your mana or HP or regenerate or steal food from your pack. Same goes for bosses: At the very least they have special attacks and two of the boss fights can be outright avoided if you have the right tactics or items. Speaking of items: Some of them are incredibly powerful and once you master the game these are the ones you want to keep for specific situations such as boss fights. Even the final boss can be two-shotted with the right spell.

What doesn't work?

Twine is, as I said, not made for making a game like this. Besides the total lack of a visualized map (draw your own - the game does provide grid-coordinates in every room), monsters are mostly immobile. There are some exceptions: 
  • The second boss enemy moves about in a specific area, a trick that I learned making Zombie Mansion. The process is too complex and unreliable to be used at scale with regular enemies though - especially when considering that the boss level is curated and walls and passages are always the same, unlike on regular floors that are totally randomized.
  • The enemy types of Madman and Infected Madman sometimes just "run off into the darkness". I stayed vague on purpose: The game doesn't know how to respect walls in this instance and just places the creature and its HP in a random different room. Works for a creature that is insane and incoherent, but not for other enemies. It can also lower the total number of enemies on the floor because it will overwrite the monster in its target room - so I had to use this ability sparingly.
  • There are some mobile monsters on the floor of the third boss but they are rather buggy and sometimes do not move at all.
Twine is also not the best for testing your software. I did make a test-character who can jump to the next level at will and has all possible items in his inventory but even then it's a chore to test, say the final boss fight on floor 25 multiple times. That means that the later stages tend to have more issues with them. As I wanted the boss fights to be special, it was difficult to do QA there.

You can't go back up to a floor you've finished. This is because the floors are randomized during transition. Story-wise I made it so that you actually jump down into the darkness every time and there is no way to climb back up. That takes away some of the tactical options a roguelike might have, such as going back to a trader. But it can't be helped.

There is no way to save the game. I am aware that other versions of Twine have features for that but to be honest, I can't be bothered to learn another programming language after putting all that work into regular vanilla Twine 1. I'm still angry with the makers of Twine 2 going "well, we made it and most of the codes work like programming language X so whatever go figure it out" when the target audience for Twinery is people who specifically cannot code. I got my start with a blog post by Anna Enthropy and learned from there but please, people, don't assume that you make this tool for other coders.

I have another Twine game in the works - a sequel to Zombie Mansion. As the platform is what I've become proficient with, I will likely keep using it as a creative outlet. Also, I'll keep making (more professionally coded) games with Niels. We do totally need an artist though - our pixel art doesn't cut it in the long run.

11 February 2022

Free Release: Dungeon Urchins

 So, i made another game, print-and-play this time. It looks like this:


Dungeon Urchins pits the players as a group of street-children against a traditional dungeon. These kids are, of course, not your soft upper-class pampered babies but hardened survivalists and fast friends who know to depend on one another. It was made quick-and-dirty for a game jam over on itch.io and I wanted to make something about characters who'd normally be in the background of a fantasy setting. My son helped me playtest and the game gets his approval – he even helped me with the logo. Anyhow, go download it – it's pay-what-you-like (thus effectively free – I've had games with that price up for seven years now and no one ever paid me a cent. But I don't mind: I don't have the nerves to set up a payment system for payouts anyways).

DUNGEON URCHINS

06 December 2021

Crafting: Mini Kingkong 2

When I got my new smartphone (a cheap outdoor device by some unknown Chinese maker – I was adamant on having something that fits in my pocket and can be paid for with money rather than organ donations so my selection was slim), the packaging inspired me to make another board game: The box is small, black and has the device name printed on it in golden letters: Kingkong Mini 2. Awesome name for a board game that fits in a coat pocket and has you fighting the giant ape, I think.

 

Said Smart Phone Packaging really lends itself to a board game.

01 November 2021

Evangelion as gaming inspiration

A few weeks ago I re-watched Neon Genesis Evangelion. It came to me that this would be awesome material for a deep roleplaying game: Every player being a board-member of a society tasked with defending mankind against an unknowable and almost godlike foe. Everyone having their own secret agenda. Dealing with the stupid shenanigans of your immature pilots who keep fucking up and making things worse whenever not in the cockpit.

So I started making that game for myself. It's going to be a journalling experience for solo players when it's done – I simply do not have the free time or mental capacity left to make a campaign like that as a pen&paper-RPG for my friends. Thus far I've been testing the combat system and the balancing of the Evas Titans that NERV the Kaijuu Boueigun (Kaiju Defense Force – KDF) fields. Kaiju and Titans alike have an ATP PMS-Field, the Projection Manifestation Simulacrum, which makes things of that size work by de facto magic. The Titans may not be fuelled by anyone's mother's souls (a concept that even my seven-year-old derided as stupid when I explainde Evangelion to him), but they are actually the twin of the pilot (but changed). This is a handy concept because it also explains why the Kaijuu Boueigun sends 14-year-olds to war – that's how long the technology has been around and that's how long it takes for a Titan to reach maturity.

Unlike in Evangelion, conventional weapons can be of some help in my game. Thus, whenever the Titans are damaged or insufficiently armed, the JSDF can be asked to provide support in the form of tanks, air strikes, attack helicopters or tactical nuclear weaponry. These use favour-points though and should thus be fielded very sparingly. Also: These things are weak. A group of 12 tanks has 1 HP, some minor chance of surviving a hit and deal 1 damage. Most Angels Kaiju will soak like 5 damage per round of combat or be completely immune to conventional weaponry.

I've so far played through six encounters with angels Kaiju. Combat seems to work (but I will keep going with that campaign in order to test more Kaiju as I make them up). I'm also working on the social system that is going to be much of the game: The pilots causing trouble, having difficult relationships with one another and then traitorous adults in your ranks like military liaisons pushing for more conventional warfare, industrialists wanting robots instead of Titans and of course the crazy dude who just wants to liquefy all of mankind.

It's actually great fun to journal this sort of thing. Might acutally finish this one and put it up on Itch. Definetly doing to do some play-reports here.

28 January 2021

The Epic Adventures of Paul the Nice Thief, part 1

 During our quarantine, I started a role playing campaign with my older son, who turned six this summer. I hesitate to call it “pen and paper” because as my player can’t read yet, there is hardly any pen&papering involved. After the first session I did write down the basic facts for his character though, so I guess it qualifies. The system is almost purely narrative-based. As we started playing while walking in circles in our backyard, pushing the stroller with our sleeping toddler, there are not dice involved.

The character is just a scant few points of data: Name, class, health points, experience points, skills (three to begin with) and equipment. I guided my son through the character creation process by asking him if he wanted to be a warrior, a thief, an archer or a wizard. Of course, he chose to be a thief (his favorite in Heroica as well as Pixel Dungeon). I gave him 4 HP for that, as well as the starting skills sneaking, climbing and reading tracks. Then he got to choose a weapon and a starting item of power. He chose a set of three throwing knives and a disguising cape that could render you invisible while immobile and holding your breath.

I decided to start my son’s adventuring career with a classic premise: The dungeon run. A wizard named Xerax has a tomb that is rumored to be guarded by traps and foul creatures. It is located a day’s march from a nearby village and Paul, our thief, has heard of it. Next up: Paul’s first adventure. I will write it up straight-faced – my son playing a grown-up (as he thinks what that would be like) leads to some Vincent-Adultman-situations which are great fun for me. And perhaps for you as well, my fives of readers.

02 December 2020

I have created a monster

 

I’ve recently introduced my son, 6, to roleplaying. While we were in quarantine, walking tight circles in our small garden, trampling what was left of the grass into the ground, we talked. And I said something along the lines of “Let’s play a game. I tell the story, you tell me what the main character does. It’s what I do with my friends when we talk on the computer. Let’s start by creating your character.”

My son was doubtful for about two minutes, then he was hooked. He’s been demanding more and more adventures every day, more than I can feasibly make up between working, keeping up with the family, and two children. But that’s another story. This one is about my son becoming something terrifying: A would-be Skaven-player of Warhammer Fantasy.

How did that happen? Well, the other weekend he asked me what my favorite monster was in the now almost daily roleplaying sessions. “Ratling,” I said, “that’s why they are in almost every game I develop or lead.” My son wasn’t convinced and told me he liked skeletons. I said I prefer zombies because I kind of see how they could feasibly function (one of the drags about being an adult: Weaker suspension of disbelief). We agreed to disagree.

Then the kid asked me if I had invented ratlings myself. I told him no, they’ve been around in some form or the other. Skaven from Warhammer for example. I followed up with a short, child-friendly description of what a tabletop-strategy game is. Then I whipped out the phone, googled some images of Skaven armies. “Did you play them?” “No, they were too expensive for me. I had evil elves.” “Can we play this game with my toys? Legos?” “Sure, why do you think there are still mechs left over in the Legos that you inherited from me?” The conversation drifted elsewhere.

Then, while getting ready for bed later, he talked to my wife. She came to me “He’s been talking about saving all his money to buy an army to defeat you with rats?” the mother of my children asked me, knowing full well that this was about some form of nerdery by her men that her normie-brain couldn’t possibly understand. “Fuck,” I thought, this wasn’t going where I had hoped. I gave a her a quick-rundown of what tabletop-strategy games are, then of my youth with hundreds of Marks wasted on the stuff. “I will defeat you with the army you never had, Papa!” my son called from upstairs. “No!” I fathered back, “You are not going to get into Warhammer before you’re at least 13 or 14!” Then to my wife who was standing closer to me: “It’s definetly note made for kids.” “But he wants to save up for it.” “And he can and if he does, he’ll have enough money for a Skaven army by the time he is 14.”

The story doesn’t end there.

The next day, he was in preschool. Quarantine had ended in the meantime. When he came back, he had two Eurocents in his pocket that he didn’t have when he left: He had told his peers about his plan to defeat his father with a ratling army. And one boy had actually pitched a coin he had on him into this quest. My son had started crowd-funding his way to a Warhammer-army.

I never wanted for him to get into what my former roommate and friend Justin calls “plastic crack”. I have created a monster. Should I curate stories of my younger years more? I don’t know but it feels like I succeeded as a nerd and failed as a father. Not good. Oh well. I don’t even know if I still have my dark elves. If so, they must have been gathering dust somewhere at my dad’s place for almost two decades. I’ll have to clean them up. Well. I guess I have eight years to get them into fighting shape.