Destructibles to Control the Flow of Battle

One of the flaws in Soulcaster I & II was the lack of information the player got in terms of what the next phase of the battle would be. Enemies would simply spawn out of the woodwork, without warning, and you’d have to deal with them immediately. If you’ve got the skills, this isn’t the end of the world, but on your first run through the game, it’s likely you’ll get overwhelmed, have to burn a scroll and a potion, and run around kiting the enemies while trying to set up a formation. It makes it less about tractical positioning and more about fleeing for survival.

In an effort to move the needle a bit from “action” to “strategy”, I developed a system to hint at the evolution of the battle. It involves multi-stage breakable walls and floors, which change the layout of the room as the battle progresses.

boxes

Room Tester – First Look

The latest addition to the Soulcaster 3 editor is the Room Tester. This takes a set of parameters (the room recipe) and generates a room to fit the criteria. So long as you specify the same seed, the room is always generated in the same layout given any recipe.

Here’s what the pattern editor looks like:

Recipe parameters on the left, room preview on the right
Layers and tile properties on the left, editing area on the right

This is the collection of four room split patterns. When a door is marked as a split entrance, it matches one of these with the door to prevent access to it. The + symbol represents the anchor position, where it needs to align with the door in the room. The pattern area is within the colored rectangle. The tiles marked with diagonal lines are required tiles, meaning they have to be included in the room for the pattern to be valid.

Level Analysis: Soulcaster 1

A procedural level builder needs to be able to make fun levels.

It took me a while to get the hang of what is fun to do in the Soulcaster world–when making the first Soulcaster, I probably made about 30 bad levels before I found my footing and made some good ones. In this article I will take a closer look at some of these (the good ones), to see how they are constructed, what experience they offer, and how they might be broken down to be generated procedurally.

One advantage to the pattern-based room generator currently in SC3 is that, worst case, I can just build a large collection of intact levels with some basic parameters, then stitch them together randomly to build the game world. This at least offers the craftsmanship of prefab levels, but kept fresh for each replay. I’m not setting out to make an algorithm that could generate these levels from scratch–that would take way too long. Instead, I’m looking for ways these levels could be broken down into basic elements that could be swapped out, flipped, rotated, inverted, and otherwise manipulated.

Some levels will be only slightly dynamic, while others will have lots of parameters and will be vastly different every time. I think we’ll need a good balance of both of these types to make a solid experience.

Let’s start with the simplest level, the Cellar.

cellarThis is a great example of a room that’s best left intact. It has a few waves of enemies that appear from the barrels, controlled by a combination of floor switches and natural progression by killing foes. Maybe later down the line I could find a way to add dynamic parameters, but that can be put off until alpha or later.

Summon Equipment Menu – First Prototype

Today I worked on the equipment menu for the summons. Behold.

This will look nicer someday
This will look nicer someday
  • Each summon has a weapon, alt weapon, and charm slot
  • Weapons/alt weapons are specific to the summon (bow/arrow for Shaedu, bomb/fuel for Bloodfire, spear/shield for Aeox)
  • Charms are generic and slottable to any summon
  • Charms will be the basis for the “blessings” system, where you use an item to do something special to one of the summons. One example: a charm that turns the summon to stone, to reroute foes or create a blockade (Could it be called the Tiny Hammer?)
  • All equippable gear has the opportunity to alter the summon’s base stats and weapon stats, as well as hook into many combat events such as taking damage, damaging another creature, before attacking, or even just an immediate effect (such as a shield).

Planned features for equipment:

  • Usable charms and active items will have a charge count and recharge rate
  • Recharging will probably be based on kills during battle, but could be based on other stuff
  • Gear can be leveled up to boost general stats and unlock new effects at high levels. Leveled up charms would have more charges.
  • Multiple charm slots available (probably an upgrade)
  • Ability to infuse a charm permanently to a summon–upgade effects become permanent, frees up the charm slot–probably expensive or rare opportunity

My goal with the equipment menu is to allow for some strategy in between battles. You can’t change equipment once the fight starts, so you have to plan ahead a bit, and pick the best stuff considering the area you’re in.

Now to make some more items.