Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Sub scene system proposal #101

Open
bub-bl opened this issue Dec 4, 2023 · 3 comments
Open

[Feature] Sub scene system proposal #101

bub-bl opened this issue Dec 4, 2023 · 3 comments

Comments

@bub-bl
Copy link
Contributor

bub-bl commented Dec 4, 2023

Objective

Implement a "sub-scene" system, inspired by the prefab system of s&box. This system may also include a "bucket" concept to manage player visibility between different buckets.

Bucket:

  • Integration of a "bucket" system for each "sub-scene."
  • Assignment of a specific "bucket" to each player upon entering a "sub-scene."
  • Each "sub-scene" must have its own "buckets."

Bucket Description:

A bucket is a kind of instance that separates players within the same server. Multiple buckets can be created in a server, and each player can join a different bucket at any time. Players in bucket A cannot see or interact with players in bucket B, and vice versa.

Sub-scene:

  • Implementation of a "sub-scene" system to divide the environment into distinct subsets.
  • Each "sub-scene" must be autonomous and independent of others.
  • Each "sub-scene" can have its own bucket.

Details

I need to create this system for my gamemode. If you find the idea interesting, I could submit a pull request once the system is completed.

@CarsonKompon
Copy link
Contributor

CarsonKompon commented Dec 4, 2023

I think "sub-scene" might be a bit confusing, I think it's best if something like this was handled like unity where you can just have multiple scenes loaded at once (with one being the DontDestroyOnLoad)
MultiSceneEditingHierarchy

@DrakeFruit
Copy link

I honestly had no idea unity was actually capable of multiple scenes at once.

@bub-bl
Copy link
Contributor Author

bub-bl commented Dec 4, 2023

I think "sub-scene" might be a bit confusing, I think it's best if something like this was handled like unity where you can just have multiple scenes loaded at once (with one being the DontDestroyOnLoad)
MultiSceneEditingHierarchy

This is globaly what i suggest
A sub scene is like a scene, but presented as prefab like. You can load/unload it at any time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants