August 25, 2019, 10:03:43 PM

Author Topic: Horizontal Hall and top and bottom Rooms Generator  (Read 770 times)

Offline Pakz

  • Full Member
  • ***
  • Posts: 157
    • My homepage
Horizontal Hall and top and bottom Rooms Generator
« on: January 29, 2018, 05:37:30 AM »



I saw a interesting screenshot on twitter and figured I could turn that into some code. On the screenshot was a game map where there was one horizontal coridor with rooms connected above and below it. I spend the night recreating this. Most of it though was spend on the graphics.

I used the bitwise system for the walls tiles and created random plotted pixels > grow method for the background floor tile.

I also spend a while figuring how I would start to create a map generator for that Fire Power remake game I started a while ago.

Here the Emscripten page :
https://cromdesi.home.xs4all.nl/emscripten/hallsbitwise/Untitled1.html

Here the Monkey2 code on Github:
https://github.com/Pakz001/Monkey2examples/blob/master/Example%20-%20Generator%20-%20Hall%20Of%20Rooms.monkey2