maguillen1998 / Senior-Project-Infinity-Run

GNU General Public License v3.0
3 stars 0 forks source link

Need to Expand level generator Spelunky style #61

Closed maguillen1998 closed 10 months ago

maguillen1998 commented 1 year ago

Divide the level into 16x16 unit chunks arranged into a 4x4 grid. we will create a few variants, placing tiles into chunks for placement within the scene. each will have "openings" on top, bottom, right, or left.

because of this, we can figure out which paths are possible throughout the level and force the generator to create a path that leads to an exit at the bottom. Once the path to the exit is created, the remaining chunks can be any arrangement since it is now possible to complete the level.

Each premade chunk should still have an element of randomness to the tiles placed within. as long as each opening is accessible. perhaps each variant can have a few subvariants

these can be categorized into _ types: those that you can fall into from an upper level, those where you can jump down to a lower level, and those that you can exit through the left or right side.