Skip to content

ToDos Math Dungeon

Torsten Wiederkehr edited this page Sep 15, 2026 · 737 revisions

Requirements

Business

  • Red brick tile has an graphic error, check in wall of nether fortress
  • Blaze cool down strategy: shoot quickly 4x, then pause
  • Add block for nether fortress, which look similar to the one we already have
  • Allay should be company and add 1 armor to player
  • Add button "Starte neues generisches Spiel"
  • Create world with one dungeon
    • How and where to place the entrance?
    • How to place enemies and items?

Technical

To-Dos

  • Remove magic numbers from Branch.split: (see comment: splits will be between 30% and 70%)
  • Extract if condition in separate method: size.y >= size.x # if it is taller than it is wide
  • ProcGenWorld has TileMapLayer(s)
  • init TileMapLayer with grass (statically or programatically)
  • DungeonGenerator class creates dungeon and returns arrays of floor, walls, entrance field. Encapsle them in Dungeon class.
  • Create dungeon entrance field is by creating a line from outside the dungeon to the center of the first room
  • ProcGenWorld places dungeons based on arrays returned from DungeonGenerator with offset
  • Create path from players starting position to different dungeon entrance fields
  • Add enderman, ender pearl and treasure in last room of dungeon
  • Use unit tests (best would be tdd) to generate dungeon

Know-How

Ideas

Clone this wiki locally