I started this project to create a Tron Inspired 2D game. I used this as a baseline to program and design. As I started Creating this project, one of the challenges I faced was spawning the trail behind the moving player. When I first Programmed this I was Spawning a copy of the player each time it move and placing it at said location. This created some performance issues. The solution I found to this through testing was to actually have a Trail prefab that acted as the "wall". This process was simpler in terms of code and performance. I used this same technique on the second player. This project taught me the importance of using separate Prefabs in a project. This allowed for cleaner code as well as allowing for easy manipulation of the Trail effect. Specifically, in Unity The importance of Instantiating a game object.
Dated: 2023
Gameplay