Troglodyte In Underbelly: Seamless Transitions

Seamless Transitions

Jordan Ireland


In the recent week of development, a pivotal task involved establishing a level load system. The challenge was to ensure the seamless transition between levels without destroying the camera, player, and UI elements. Additionally, managing scenarios where another player object existed in the scene required careful handling to prevent conflicts. The problem at hand had the potential to disrupt the continuity of the game, causing issues such as unexpected resets of the first-person controller's position post-scene load. If unaddressed, these issues would significantly impact the player experience, introducing jarring transitions and undesired resets.





The issue stemmed from the default behavior of destroying and recreating elements during a scene load, causing unintended consequences. To resolve this, I implemented a persistent object management system, preventing the destruction of essential components like the camera, player, and UI during level transitions. Additionally, I addressed the conflict with multiple player objects by introducing a mechanism to delete any pre-existing player objects in the scene. To tackle the first-person controller position reset problem, I devised a method to preserve and restore its position accurately during and after scene loads. This solution ensures a smooth and uninterrupted gameplay experience as players move between levels, maintaining the integrity of key elements and eliminating unwanted resets or conflicts.




Comments

Popular posts from this blog

Troglodyte In Underbelly: Git Issues