How to create a fog of war effect to give the right atmosphere for a dungeon crawler.
Tommy Leung from Ourcade writes: "If you are making a roguelike or dungeon crawler then you'll want the right atmosphere.
Being in a dark dungeon where the only light is from your torch means you should not be able to see the whole room.
It should be revealed to you as you move around.
Enemies won't be visible until they get close.
You'll need to search around and keep a mental map of where everything is.
Isn't this how a dungeon crawler should be?
In this article, we'll show you a relatively simple and efficient way to create that kind of atmosphere for a roguelike or dungeon crawler."
The first book on the creation of HTML5 cross platform games using Phaser 3 and other free software.
- By Emanuele Feronato
- 155 Pages
- 28 Source Code Examples
- Build a complete game from start to finish
- Cross Platform
- Scaling for devices