Savoring Sword Behind-the-Scenes: Scene Overview
Added 2024-02-23 20:32:38 +0000 UTCWith a lack of visual content to show (since I will be focused on coding these next few days) I thought I would make another 'behind-the-scenes' post! If you haven't read the first one, you can click here to see it.
I will try my best to explain and show what the game looks like outside of the dungeon and where everything is placed!

This first image shows how the walls are moved downwards to create hallways. Each tile on the grid has a cube that will act as a wall. In my previous 'behind-the-scenes' I explained how the dungeon generator marks hallways with numbers, and when it looks at which tiles should be a hallway, it moves that cube below the dungeon floor.
The same things goes for cracked walls! Breaking them simply moves the block below the floor.
When the dungeon resets, it moves all of the cubes back into the dungeon and repeats itself.

All of the items, monsters, and interactables are stored way below the dungeon where Starla can't reach or see them. When a new dungeon generates, it chooses which items to use, how many of each, and where to put them. Then it grabs the items from the pile and places them into the dungeon!
All of the remaining items are left in the pile until the next dungeon is generated.

This last picture shows the placement of everything. To the left we see the dungeon, and to the right we see the minigame where Starla slides down the mountain. Depending on whether she is exploring the dungeon or sliding down the mountain, she will be placed at either spot.
Below the dungeon you can see the pile of items that were left behind.
Hope you enjoyed this little sneak-peek into Savoring Sword! I am continuously working hard to get the next update finished so you can enjoy it!