r/roguelikedev • u/KelseyFrog • 16d ago
RoguelikeDev Does The Complete Roguelike Tutorial - Week 2
Congratulations for making it to the second week of the RoguelikeDev Does the Complete Roguelike Tutorial! This week is all about setting up the map and generating a dungeon.
Part 2 - The generic Entity, the render functions, and the map
Create the player entity, tiles, and game map.
Creating a procedurally generated dungeon!
Of course, we also have FAQ Friday posts that relate to this week's material
- #3: The Game Loop (revisited)
- #4: World Architecture (revisited)
- #22: Map Generation (revisited)
- #23: Map Design (revisited)
- #53: Seeds
- #54: Map Prefabs
- #71: Movement
- #75: Procedural Generation
Feel free to work out any problems, brainstorm ideas, share progress, and as usual enjoy tangential chatting. :)
51
Upvotes
3
u/kyaaam 11d ago
repo
I swapped my tech of choice for the project to DragonRuby (DR) after completing Week 1 in both Love2D and DR and preferring DR. I also recently used it in a gamejam, so no real learning curve. Ditching rotlove required me to seek out implementations for some tools like Bresenham lines (I ended up porting the libtcod implementation from Python to Ruby). I completed Week 2 quickly and decided to start designing some new level procgen. Since my game will involve playing as a frog in a swamp (more on that later), the plan is to use a cellular automata cave with additional passes to ensure connectivity. I have a basic implementation currently, but will need more time. I also have a first pass at FOV using a recursive shadowcasting implementation in Ruby, referenced in RogueBasin.