This Unity-based project, Stickman, was initially created in 2021 for a Fiverr client who sought an engaging online multiplayer game. Stickman is a two-player game where each player controls a stickman character competing to reach the center of the screen first. This technical overview delves into the critical aspects and components of the project.
The game is developed using the Unity game engine, providing a robust platform for crafting interactive 3D experiences. It was primarily designed and tested with Unity version 2021.3.4f1.
Please note: Plugin folders such as PUN are not included in the repository. Download PUN2 from the Unity Asset Store and integrate it into the project.
- Character Animation: Stickman characters execute a simple jumping animation when they move. These animations are key to conveying player actions.
- Objective: Players strive to get their stickman to the center of the screen before their opponent, making gameplay competitive and engaging.
To support real-time online multiplayer functionality, the project effectively utilizes the Photon Unity Networking 2 (PUN2) framework. PUN2 facilitates seamless connections between players, ensuring they can interact and compete in real-time.
- Usernames: Players can set their usernames, which are displayed during online matches.
- Matchmaking: The game offers options to search for random opponents, create custom rooms for friends, or join personalized rooms for multiplayer action.
A Unity project has many files in addition to scripts that are usually not managed by the developer. If you are only interested in seeing my work, namely the C# scripts I wrote, go directly to the assets folder and open the C# files.
Unfortunately, the project was not developed with the intention of publication, so the file names, variables, and functions are in Italian, and no scripts are commented or written to facilitate reading by others.
Keep in mind that I programmed this video game when I was 15 years old, so you can imagine that the code is not perfect or optimized to the best, but it still works perfectly, and you can study it to understand how Unity and PUN 2 work.