
Split/World
Split/World is a co-op puzzle prototype that utilises a dynamic splitscreen i created which shows a different world when the players move a certain distance away from each other to allow the players to work together and solve puzzles in both worlds
Role: Designer
Project size: Solo
Engine: Unreal Engine 4
Platform: PC
Duration: January 2021 - March 2021
Summary
Split/World is a co-operative puzzle protoype made in UE4 that utilises a dynamic splitscreen mechanic I designed and created using a mix of line equations, blueprint visual scripting and the unreal material system. The design of the mechanic is so change the world that the players are in when they move a far enough distance away to trigger the splitscreen, with levels designed around the idea of solutions to the puzzles requiring use of sharing the same space and utilising the characters personal worlds. Github was used to help manage the project. The dynamic split screen uses line equations with the material system to create a dynamic split that adjusts it position relative to the players position from each other. This is to reduce confusion for the players and helps the switching from a shared screen to split screen feel more natural​
Below is the code that calculates the distances of the players from each other and uses a gradient calculator function to find the screen position at which the midpoint divide line between the players intercepts the edges of the screen and sets it in the material system
Below is the code that calculates the midpoint divide line gradient using the line equation Y=Mx+C. It then uses this equation with the given co-ordinates to calculate the co-ordinates of the line