scunningham777 / goldulf-excavation

It's goldulf back again! In GameMaker Studio!!
1 stars 0 forks source link

Create Level metadata object #44

Open scunningham777 opened 7 years ago

scunningham777 commented 7 years ago

This would include size, terrain type, generation algo, and any mandatory content, such as doors/access points, monsters, chests or other loot, etc. Essentially, this will be the specific data selected from the available data defined in the Locale object.

This should probably be generated for all Levels when the Locale is generated, so that this information can be hinted at by Townsfolk.

This metadata will then be passed to the generation algo to actually generate the Level grid.

scunningham777 commented 7 years ago

Thinking of areas/content: For now let's store this as a ds_grid on the level object. It will need to have the following columns: focusObject (such as entrance, exit, chest, etc.; not sure if this will be an object id, index of some other grid, or what), placement (wall or floor for now), and maybe sprite id (could also be goverened by the focusObject).