Dungeon and world
Lighting and atmosphere
How the dungeon is lit - torches and other light sources, shadows from walls, the color of darkness by theme, dust and fireflies in the lobby.
The dungeon is plunged into dimness. There is a faint warm glow around the player, and rooms are lit by torches, candelabras, lava, glowing mushrooms or flamethrowers. Lights cast soft shadows from walls, so pillars and low walls create darker corners.
How it works
- The whole world has the same base brightness (roughly 60%) in all themes. Lights add color and brightness to it and add up with each other.
- Shadows: a wall blocks the light that is behind it. The walls themselves are lit from their own side, though, and a torch set into a wall shines into the room. The edges of shadows are soft.
- At most 64 lights shine on the screen at once - when there are too many, the ones closest to the center of the screen are shown. That is why lava glows only from every fourth tile.
- The darkness around the map has the theme's color (burgundy in Stone, blue in Ice, red in Lava...) and shows through wherever there is deep wall.
- Music: the game soundtrack plays in the dungeon, switches to boss music in the boss room and goes back after the boss is defeated. The floor's theme does not change the music.
Air in the dungeon
Every floor has something in the air based on its theme. Particles and fog stay around the camera, slowly appearing and fading away, so there are always about the same number on screen.
| Theme | Fog | Particles |
|---|---|---|
| Stone | – | fine dust, visible only in light |
| Temple | – | fine golden dust |
| Moss | green ground fog + wisps overhead | glowing spores rise upward |
| Sewer | teal ground fog | – |
| Spider | – | fine dust |
| Ice | – | snow falls at a slant |
| Lava | – | a spark occasionally flies off a lava puddle and flickers |
- Fog is only on damp floors (Moss, Sewer). Ground fog is below the characters and is lit by torches. Wisps overhead (Moss) are above everything and drift faster than the floor when the camera moves, which gives a sense of depth.
- Sparks and spores glow on their own, while dust and snow are visible only where light falls. Sparks rise only from lava puddles in view (at most a few per second), and elsewhere on a Lava floor there are none.
Atmosphere of the lobby and menu
- Dust: about 14 fine translucent motes slowly float in view, each lasting 6-12 s.
- Fireflies: 4 fireflies circling the portal (in the lobby) or the altar (in the menu) and around the middle of the map. They wander along smooth curves, blink yellow-green and run away from the player when the player gets close.
- The look is the same every time.
Stats
Range is approximate, in tiles.
| Source | Color | Range | Strength | Note |
|---|---|---|---|---|
| Player | warm orange | ~2.5 | weak | always shines around the player |
| Torch | warm yellow | ~1 | medium | 10% of torches are extinguished |
| Candelabra (altar) | red | small | strong | goes out after the sacrifice |
| Glowing mushrooms (Moss) | green | ~1 | weak | |
| Flamethrower | red | ~1 | flickers | lights up with the rhythm of the flame |
| Lava | orange | ~1.25 | medium | every fourth tile glows |
| Magma (Hellhound) | orange | ~1 | grows and fades | gets stronger while heating, weaker while cooling |
| Portal (lobby) | purple, or the challenge color | ~1 | very strong | |
| Firefly (lobby, menu) | yellow-green | ~1.5 | blinks |
Other lights - explosions, lightning, bullets, the golem, summoned creatures - belong to weapons and enemies, see Guns and Enemies.
Tips and connections
- Decor - most static lights are torches and mushrooms.
- Surfaces and liquids - lava puddles light up their surroundings.
- Floors and themes - the color of darkness by theme.
- When paused, the image blurs and darkens; on a hit and at low health the edges of the screen change color - see Player.
Known inconsistencies
- All themes have the same base brightness - Spider and Lava are not darker and Ice is not lighter, even though that would suit the atmosphere.
Ideas for expansion
- A custom brightness and tint for each theme (darker Spider and Lava, a lighter bluish Ice).
- A "lantern" artefact or talent that enlarges the light around the player.
- A soundscape by theme (dripping water, crackling lava).