Von Lazy Devs

5 Gedanken zu „Making a Roguelike #34 – Stairs – Pico-8 Hero“
  1. A couple of variations I did…
    (1) I run STARTEND() before FILLENDS() so the stairs are often placed in deadend hallways (which I think is a good place for them). Then I made FILLENDS() exclude stair tiles. [EDIT: Now I see you did this in the next episode!]

    (2) When carving doors & shortcuts I place a new "open doorway" tile instead of an empty floor tile. So I don't need to add any code to keep track of the doors (unless we're going to need it later!) and I just search the map and put in closed doors.

  2. Before I started doing your tutorial, procedural generation, pathfinding, FOV and AI was like magic of the high arcana for me. Something that other people did, but I couldn't grasp it if my life depended on it. All explanations I ever found were like, 'well, first you divide the level, then you create rooms, and then connect them, and voila, a dungeon', without explaining the HOW. HOW do I create rooms? HOW do I connect them? HOW to code it? And now, you just showed me a way of doing, well, stuff like that, which seems understandable and logical, and actually does a pretty good job. Now I feel I can do it again myself for my own project. You, sir, have a special gift, explaining hard stuff, and coding it like a human being, not a pure-function-tail-recursion-closure maniac. Thank you.

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert