Messing with Godot

Another 2D procgen script with Godot Engine (second test)


Listen Later

Second day of programming an script to generate a typical room-based map in Godot Engine. Script has 525 lines today.

I still have:

  • To improve the way to detect the best direction the rooms should move (to avoid rooms escaping from screen as now!).
  • To remove rooms that are not in contact with at least 3 tiles to another hallway or room (2 is the size of the hallway + 1 for a wall).
  • To generate the stairs rooms at the start and the end of the hallway.
  • To be able to generate hallways that start and end in different directions than up to down. It's already done, but I didn't wanted to add the possible directions into the existing array because I won't have a way to check it, so I'll add it when I have a way to differentiate the start and the exit (maybe the two hallway rooms can have different colors?).
  • More things that will come later. 😃
  • ...more
    View all episodesView all episodes
    Download on the App Store

    Messing with GodotBy