Chapter 46 expands upon the previous Data-Driven work by also making entity spawning driven by your JSON files. So now you can quickly build new monsters, items and props - and decide where they spawn without editing your Rust code.
Part 4 of the Roguelike Tutorial focuses on actually completing a game - from start to finish. Chapter 44 introduces the Design Document - in which we outline our goals.
Doors and Corners, that's where they get you. Seriously, doors are a staple of the roguelike and dungeon bashing genres. This chapter will help you place doors, make them openable, and ensure that line-of-sight and movement blocking are enforced correctly for closed doors - and not for open ones.
Doors and Corners, that's where they get you. Seriously, doors are a staple of the roguelike and dungeon bashing genres. This chapter will help you place doors, make them openable, and ensure that line-of-sight and movement blocking are enforced correctly for closed doors - and not for open ones.
This chapter focuses on building better hallways, and allowing entities to spawn inside them. Nearest neighbor, straight-line, and hallway spawning are all covered.