Adaptive Split Screen
This package contains a fast and lightweight solution for split screen. It is developed with DOTS in mind; as a result, it takes advantage of Unity’s latest technology stack, such as SIMD Mathematics and the Burst Compiler.
This is a novel split screen solution based on Voronoi diagrams. One can think of it as an extension of traditional dynamic split screen for up to 4 players.
Key Features:
- Fairness – an option for each player to have a similar screen region area.
- Centered – an option for each player to be centered in their screen region.
- Direction Indicated – each split indicates the direction to the other player.
- Fusible – players’ screen regions can be merged once they are close enough.
Note
Currently, 4-site balancing comes with the cost of continuity. Check the limitations section for more details.
For more information, see this GDC talk:
Juicing Your Cameras With Math – GDC 2016
Dependencies
- Tested with Unity 2021.3
- Package com.unity.mathematics
- Package com.unity.collections
- Package com.unity.burst
Support
If you have questions, encounter bugs, or would like to request features, join the Discord.