(v2.1.3) Coming Soon to Shattered: Sub-Floors and Digging!
[hr][/hr] Firstly, this new quest will not take place in a regular floor of the dungeon, but instead will appear in a brand new special sub-floor that will exist purely for the quest! Currently, Shattered uses a numerical value called 'depth' to keep track of where the player is in the overall dungeon. You can think of this as all of the levels existing in a 1-dimensional line, where the depth value determines how far along the line we are.
To allow for sub-floors I've added a second number called 'branch', which effectively turns the 1-d line into a 2-d grid. When you descend to the blacksmith's quest area, depth won't change, but branch will go up by 1. Returning from the quest area sets branch back to its default of 0.
This change also includes code that lets levels have multiple entrances and exists that go to different locations! A lot of the code to support this has actually been in the game since v1.4, but I've added some more code recently in v2.1 patches so that sub-floors can actually exist. Here's a little gif showing off how this all works in practice:
In that sub-floor the player will be tasked with mining though walls in search of rare ores for the blacksmith. Mining itself was actually fairly easy to implement, as Shattered's systems for managing terrain changes are already pretty robust. A few bits of new logic in a few spots and everything was working! To mine the player simply moves to a wall tile and their character will get to work, assuming that they have a pickaxe and are in the quest area, of course.
You can test these new mechanics out right now in v2.1.3! This initial implementation is a simple empty tester floor that just exists to let players try this out. There aren't any special mechanics around mining yet, and being in the tester area pauses hunger/regen effects.
[hr][/hr] These new mechanics are neat on their own, but what matters far more is how they're going to work in a completed quest! In my initial concepting for this, back around v1.3, I wanted the quest to play a bit like a minigame, where Shattered's main gameplay was set aside in favor of something that felt very different. In such a design the player would be expected to mine through a level that's mostly filled with walls, somewhat like a game of Motherload or Dome Keeper. I had trouble 'finding the fun' with this design though, which is why the quest rework ended up getting delayed so much. It kept feeling like I needed to add more complexity to make these new mechanics interesting. This made the quest design become extremely large and cumbersome. Eventually I realized that my minigame approach wasn't working. Trying to put an entire extra game within a regular run of Shattered was just far too much. I went back to the drawing board and instead tried to design the quest's mechanics to complement existing gameplay interactions, rather than replace them. This would mean that the quest would play more like regular Shattered with some extra spice added in from the mining mechanic. Here are a few examples of how that might work:
[ 2023-06-29 16:58:03 CET ] [ Original post ]
(For the best viewing experience, please read the original copy of this post on Shatteredpixel.com) Hey Dungeoneers! In this blog post I'm going to go over some of the new technical additions to Shattered in v2.1.3, and how they're going to allow for future content. In particular, I plan to use these additions in a reworked blacksmith quest in the next major update! Shattered Pixel Dungeon is also 25% off right now, as part of the Steam Summer Sale!
Sub-Floors and Mining
[hr][/hr] Firstly, this new quest will not take place in a regular floor of the dungeon, but instead will appear in a brand new special sub-floor that will exist purely for the quest! Currently, Shattered uses a numerical value called 'depth' to keep track of where the player is in the overall dungeon. You can think of this as all of the levels existing in a 1-dimensional line, where the depth value determines how far along the line we are.
To allow for sub-floors I've added a second number called 'branch', which effectively turns the 1-d line into a 2-d grid. When you descend to the blacksmith's quest area, depth won't change, but branch will go up by 1. Returning from the quest area sets branch back to its default of 0.
This change also includes code that lets levels have multiple entrances and exists that go to different locations! A lot of the code to support this has actually been in the game since v1.4, but I've added some more code recently in v2.1 patches so that sub-floors can actually exist. Here's a little gif showing off how this all works in practice:
In that sub-floor the player will be tasked with mining though walls in search of rare ores for the blacksmith. Mining itself was actually fairly easy to implement, as Shattered's systems for managing terrain changes are already pretty robust. A few bits of new logic in a few spots and everything was working! To mine the player simply moves to a wall tile and their character will get to work, assuming that they have a pickaxe and are in the quest area, of course.
You can test these new mechanics out right now in v2.1.3! This initial implementation is a simple empty tester floor that just exists to let players try this out. There aren't any special mechanics around mining yet, and being in the tester area pauses hunger/regen effects.
Making a Quest
[hr][/hr] These new mechanics are neat on their own, but what matters far more is how they're going to work in a completed quest! In my initial concepting for this, back around v1.3, I wanted the quest to play a bit like a minigame, where Shattered's main gameplay was set aside in favor of something that felt very different. In such a design the player would be expected to mine through a level that's mostly filled with walls, somewhat like a game of Motherload or Dome Keeper. I had trouble 'finding the fun' with this design though, which is why the quest rework ended up getting delayed so much. It kept feeling like I needed to add more complexity to make these new mechanics interesting. This made the quest design become extremely large and cumbersome. Eventually I realized that my minigame approach wasn't working. Trying to put an entire extra game within a regular run of Shattered was just far too much. I went back to the drawing board and instead tried to design the quest's mechanics to complement existing gameplay interactions, rather than replace them. This would mean that the quest would play more like regular Shattered with some extra spice added in from the mining mechanic. Here are a few examples of how that might work:
- A passageway blocked by traps or other hazards is a big annoyance in regular Shattered, but during the quest it would be possible to mine around them.
- A level usually has to be pretty structured and interconnected, but with mining these levels could be much more free-form, possibly including rooms that are totally isolated.
- Large enemies normally can't chase you into a hallway, but in a more free-form level the mining mechanic could be what controls which areas of the level they can access.
- If the player can see some parts of the level before they mine to them, they would be able to choose how the level becomes interconnected and traversible.
- Of course, the player's ultimate goal is going to be to mine for gold, so the way that resource is placed in a level will influence how the player wants to dig to reach it.
Shattered Pixel Dungeon
Shattered Pixel
Shattered Pixel
Early 2022
Indie RPG Singleplayer
Game News Posts 55
🎹🖱️Keyboard + Mouse
Overwhelmingly Positive
(1278 reviews)
https://shatteredpixel.com/shatteredpd/
https://store.steampowered.com/app/1769170 
Shattered Pixel Dungeon Linux [105.59 M]
Shattered Pixel Dungeon is a Roguelike Dungeon Crawler RPG with pixel art graphics. Every game is a unique challenge, with four different playable characters, randomized levels and enemies, and hundreds of items to collect and use. The game is simple to get into, but strategy is required if you want to win!
Choose Your Hero
Start the game by choosing a hero, which can be improved and customized as you quest through the dungeon!- 4 heroes: Warrior, Mage, Rogue, and Huntress. Each hero has a different playstyle.
- 8 subclasses which let successful heroes further specialize their abilities.
- 13 unique lategame abilities that grant special power at the end of a game.
- Over 100 talents, which let you incrementally power up your hero as you level up.
Explore the Dungeon Depths
Every run though the dungeon is different, with randomized layouts, enemy placement, and items!- 5 distinct dungeon regions over 26 floors, each with their own enemies and room layouts.
- Over 60 enemies, 30 traps, and 5 detailed bosses to test your skills.
- Over 100 equipment items, including powerful wands, rings, weapons, and armor.
- Over 150 regular items to find and craft, each with their own uses.
MINIMAL SETUP
- OS: TBDGraphics: OpenGL 2.0+ compatible GPU
- Graphics: OpenGL 2.0+ compatible GPU
- OS: TBD
- Processor: dual core processor
- Graphics: OpenGL 2.0+ compatible GPU
GAMEBILLET
[ 5951 ]
GAMERSGATE
[ 3198 ]
FANATICAL BUNDLES
HUMBLE BUNDLES
by buying games/dlcs from affiliate links you are supporting tuxDB