Adaptive Split Screen

Updated
2024-04-18
Free
Tools
Version
1.3.0
File size
10.8 MB
Views
256
Registration required
Description

Split screen solution for co-op style games.

 

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 mathematics, Jobs 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. SplitScreen4, SplitScreen3 and SplitScreen2 - structs for generating split screen effect.
  4. VoronoiBuilder, VoronoiDiagram - structs for generating voronoi diagrams from sites.

 

Dependencies

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

 

Technical details

  • Documentation
  • 5 Samples
  • SplitScreen API

Comments
Comments is not yet
Add Comment
Please register
You may also like