Exploring Game Concepts
This week, with our designers unavailable, I collaborated closely with the second programmer to brainstorm possible directions for our group project. We wanted to create a unique cooperative experience, so we explored the idea of combining 2D and 3D gameplay. Our concept involves two players: one controls a character in a 2D world, while the other navigates a 3D environment. The core mechanic centers on collaboration-players must work together across dimensions to solve puzzles and progress.
My Contribution: Player Spawner System
To support this concept, I began developing the foundational code for our player spawning system. Drawing from the Photon Fusion 2 documentation, I implemented a script that dynamically assigns players to either the 2D or 3D character based on their join order. This ensures that the first player to join becomes the 2D character, while the next becomes the 3D character. I also expanded the code to support multiple spawn positions, allowing for flexible level design in the future.
PlayerSpawner script:Expanding Player Movement
After setting up the player spawner, I wanted to understand how Fusion 2 handles networked movement. I followed the official documentation to create a basic character controller, then expanded it to support both 2D and 3D perspectives. The camera’s behavior is determined by the player’s role: if the player is in 2D mode, the camera switches to a top-down view; if in 3D, the camera follows behind the player in third-person.
Top-Down Camera Implementation
To achieve the desired top-down effect for the 2D player, I created a custom camera script. I manually adjusted the camera’s position and rotation in the Unity editor, then translated those settings into code so the camera would always follow the player from above.
Player Color and Networked Interactivity
Finally, to test networked interactions, I implemented a simple color-changing system for the player character. Following the Fusion 2 documentation, I created a script that allows the player to change their color by pressing the “E” key. This not only demonstrated networked variable synchronization but also laid the groundwork for future interactable objects.
Design Thinking
Although my primary role is programming, these early technical decisions are deeply intertwined with the game’s design. The player spawner system ensures that each player has a unique perspective and role, directly supporting our cooperative gameplay vision. The dual-perspective camera system not only enhances immersion but also clearly differentiates player experiences, which is central to our design concept. Implementing networked color changes gave me valuable insight into how Fusion 2 handles state synchronization, which will be essential as we introduce more complex interactions.
By keeping the code modular and adaptable, I am ensuring that our systems can evolve as the design matures and as new gameplay mechanics are introduced. This iterative approach allows us to quickly prototype, test, and refine ideas, which is especially important given the collaborative and experimental nature of our project.
Reflection and Next Steps
This week’s work established the technical foundation for our unique dual-perspective cooperative gameplay. The player spawner, movement, camera, and networked interaction systems are all in place and ready for further iteration. Moving forward, I plan to:
- Refine the movement scripts for both player types to improve responsiveness and feel.
- Expand the camera systems for smoother transitions and better player feedback.
- Begin developing the first cooperative mechanics that require players to interact across dimensions.
- Work closely with the designers (when available) to ensure our technical solutions align with the evolving game vision.
I will continue to document my contributions and design decisions in upcoming posts, providing code snippets, screenshots, and reflections on the development process.
References
- Photon Engine. (2025). Fusion 2 Introduction. Retrieved May 2, 2025, from https://doc.photonengine.com/fusion/current/fusion-intro
- Unity Technologies. (2025). Unity Engine. Retrieved May 2, 2025, from https://unity.com/products/unity-engine
- Unity Technologies. (2024). Starter Assets – FirstPerson. Unity Asset Store. Retrieved May 2, 2025, from https://assetstore.unity.com/packages/essentials/starter-assets-firstperson-updates-in-new-charactercontroller-pa-196525
- ShareX. (2025). Free and Open Source Screenshot Tool for Windows. Retrieved May 2, 2025, from https://getsharex.com
- Imgur. (2025). Online Image Sharing and Hosting Service. Retrieved May 2, 2025, from https://imgur.com
Stay tuned for more updates as we bring this innovative cooperative concept to life!





