WolfireGames / overgrowth

Open Source codebase of the game Overgrowth by Wolfire Games LLC
Apache License 2.0
2.48k stars 255 forks source link

Suggestion: Layer system for editor #105

Open Fason7 opened 1 year ago

Fason7 commented 1 year ago

Currently the only way to manage the mess of objects, lights, decals, hotspots, players and other such things in a complex map is to disable certain categories. This is helpful but often doesn't feel like enough. Having a layering system - especially one that can be used dynamically while playing the game via script calls/level messages - would not only eliminate a lot of headaches but also provide a host of new options for map creators.

Ideally creators would be able to: Check/uncheck different layers (preferentially multiple layers at once) and create objects that are associated with those layers Reassign objects to new/different layers after creation Hide/show layers Use level messages/script calls to enable or disable these layers mid game

Layers could have colors associated with them. Objects that are not part of the current selection of active layers could have a slight color overlay in the editor representing the first layer they are a part of so creators can quickly identify what layer they need to enable to work on that object.

Timbles commented 1 year ago

The ability to toggle whether any given layer can be selected in the editor would be extremely helpful for cluttered scenes.