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

Add Split Screen Capabilities and Multiple Cameras #4

Open
dwjclark11 opened this issue May 26, 2024 · 1 comment
Open

Add Split Screen Capabilities and Multiple Cameras #4

dwjclark11 opened this issue May 26, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request Severity:Low

Comments

@dwjclark11
Copy link
Owner

I have been inspired by another project that I am currently working on. So there is a nice feature that I would like to add to our engine. Currently we do not support local multi player or split screen and we also don't support having more than one main camera and registry. The goal of this feature is to change that.

Feature - Add Split Screen Capabilities

  • Add the ability to split the screen from 1 viewport up to a maximum of 4.

    • This would entail the following:
      • Use the NDC coordinates of the screen to split up multiple Frame buffers.
      • The frame buffers will need to have their own VAO and VBOs based on the split dimensions of the screen.
      • Each would also need it's own camera.
      • We would also need to adjust the FollowCamera lua bindings to take in a camera rather than assume there is a main camera.
      • The scene would need to be rendered to all active Framebuffers.
  • Add the ability to have multiple cameras.

    • Currently we assume there is only one Main camera. Need to add the ability to have more cameras in a scene.
  • Add the ability to have multiple Registries.

    • Currently we only have one registry; however, we need to create a MainRegistry class that will hold all of the classes that we only need one of.
    • Those would need to include:
      • SoundFXPlayer
      • MusicPlayer
      • Renderer
      • AssetManager
@dwjclark11
Copy link
Owner Author

Changed severity to low. There are more important things that need to be handled atm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Severity:Low
Projects
None yet
Development

No branches or pull requests

1 participant