ikarth / game-boy-rom-generator

Game Boy ROM Generator
MIT License
7 stars 0 forks source link

Create library of scenes #110

Closed ikarth closed 3 years ago

ikarth commented 4 years ago

For the program synthesis, we could use a library of scenes (dungeon rooms, etc.) that can be assembled into the full generated map. These can be mazes, various locks and keys (as paired rooms?), combat arenas, NPC conversation locations, etc.

I'm thinking that the data structures in the library should consist of a function that creates a GBS scene and a list of locations in that scene that can connect with other scenes (including an indicator of which exits are connected within the scene and any potential barriers the player would need to cross). Oh, and tags for the other properties of the scene.

ikarth commented 4 years ago

To start with, the scenes can be fixed GBS scenes, with no particular generativity. We can have them be generators, but to get started with the space generator they don't need to be.

ikarth commented 3 years ago

implemented in generator.py and scene_library.py