Adaptive Split Screen

Asset

Split screen solution for co-op style games.

Render pipeline compatibility

The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.

Unity Version

Built-in

URP

HDRP

2019.4.35f1

Compatible

Compatible

Compatible

Description

This package contains fast lightweight solution for split screen It is developed with DOTS in mind, as result it takes advantage of Unity’s latest technology stack like SIMD mathematicsJobs and Burst compiler.

It is recommended for co-op style games. Especially if world is not small and players can be far away from each other.

This is novel solution of split screen based on voronoi diagrams. One can think of it as extension of traditional dynamic split screen for up to 4 players.

Key Behaviours

  • Fairness – option for each player to have similar screen region area.
  • Centered – option for each player to be centered in their screen region.
  • Direction Indicated – each split indicates direction to other player.
  • Fusible – players screen regions can be merged once they are close enough.

The package is designed to be easily customizable and approchable from artist’s to developer’s background.

There are 4 layers of API

  1. SplitScreenEffect – the main MonoBehaviour component that applies split screen effect on camera.
  2. Modifier – custom MonoBehaviour components for modifying logic of SplitScreenEffect.
  3. SplitScreen4SplitScreen3 and SplitScreen2 – structs for generating split screen effect.
  4. VoronoiBuilderVoronoiDiagram – structs for generating voronoi diagrams from sites.

Support Discord

Tested On I BorrowTanks

Documentation linked in discord channel

Dependencies

  • Tested with Unity 2019.4
  • Package com.unity.mathematics
  • Package com.unity.collections
  • Package com.unity.burst

Note: 4 player fairness comes with the cost of space continuity. Which will be improved in the future.

Technical details

  • Documentation
  • 5 Samples
  • SplitScreen API