itch.io is community of indie game creators and players

Devlogs

Volcanos and Killer Trees

Sunlorn
A downloadable game

I was in the mood for some code cleanup this week, just I chipped some pieces off of my main godzilla classes to incapsulate some new classes, namely:

StatusEffects - Manages the status effects for an agent. This is a solid 2000 lines of code by itself.

Extrinsics - Manages extrinsics gained by wearing magical equipment for bestowed by gods.

ElevationField - Stores and processes data related to tile elevation.

GridFlags - An abstract class that manages boolean flags for a two-dimensional space.

I've also been working on the high level system that determines how the game objectives are laid out. One of my goals is that the structure of the game itself is randomized on each run. So far, there are three possible layouts:

1. You must find an item to win the game and that item is at the bottom of a deep dungeon. The individual levels of the dungeon can have different themes like ice, volcanic, swamp, graveyard, mushrooms, etc.

2. The item is at the bottom of a medium-sized dungeon. However, to get the information to find that dungeon, you have to find an oracle who's living at the bottom of another medium-sized dungeon.

3. You need three to five items to win the game, and each item is at the bottom of its own small dungeon, which vary in difficulty. Instead of individual levels having random themes, each dungeon gets its own unique theme.

I also added a new major feature to the over world: volcanos! You can see an example below where I'm standing near the lava-filled caldera. Although I think they look cool, the blocky style of the volcanos contrasts with the smooth, swooping curves of the other mountains, so I might work on rounding them out more. Volcanos may generate with one or more caves along the sides, which will lead to lead to volcanic cave levels, which, as you might guess, are filled with highgly dangerous demons and fire-based monsters. The caves will usually generate to high to reach just by walking, so you'll need a potion of flight or boots of leaping or something to transform into a spider to get up there. I might create some climbing picks soon as another way to reach high places.

I also added a new kind of cursed ring: the ring of verdant aggression. While wearing this ring, the game will check at certain intervals for any plants in proximity to the wearer. If present, a tree, bush, mushroom or vine will start moving around. These will usually be hostile to the player and start attacking, but they might be peaceful if the player has a high charisma score.

Download Sunlorn
Leave a comment