The prototype of the game with advanced combat logic is designed in the style of a 3D platformer with RPG elements. In the process of developing this game, a flexible control system, custom physics, and a combat system were created, which includes:
- Hook grip;
- Ranged and melee attack system;
- Enhanced attack;
- Rock-Paper-Scissors system.
AI enemy logic and online duels between the two games were also created.
Features:
- Non-standard system of movement - this system was developed taking into account the rules of the game allowing you to move along the 4 axes, similar to a chessboard while ensuring a clear fixation of each game model for a particular cell;
- Control system - a system that allows you to adapt control for Android, iOS, WebGL;
- Custom physics:
- Adjustable gravity level;
- Collision system - a custom collision system that allows you to customize the aspect of the interaction of game objects with each other, adding the desired level of contact and repulsion force;
- Hook capture system - a system that allows you to interact with such game objects (enemies, walls, or projectiles) and be attracted to those objects.
- The Rock-Paper-Scissors system is a system in which the player can counterattack an enemy's attack with his own attack. For example: When one player throws a hook, the second player can attack this hook and it will go back to the first player and deal damage to him;
- AI logic Consists of several stages:
- Expectation;
- Movement;
- Attack;
- Maneuver.
- Custom shader - the shader is written to implement the ability to display players when they are out of view. Allows you to display the player model with a certain radius while hiding the environment models.
Technology stack:
- Photon Fusion is a new high-performance state synchronization networking library for Unity1. With a single API, it supports many network architectures such as dedicated server, client-hosted, and shared/distributed authority2. Photon Fusion allows you to create online multiplayer games with Unity and Fusion, using features such as match timer, player chat bubble, player damage, syncing player visuals, etc3. Photon Fusion also provides built-in network behaviors, tick-based callbacks, input, remote procedure calls, data compression, client-side prediction and lag compensation14. Photon Fusion is designed to integrate naturally into the common Unity workflow and to offer advanced and robust netcode solutions for your games;
- State machine pattern - is used to write a custom AI model for enemy behavior, taking into account the non-standard movement system;
- The Universal Rendering Pipeline is a scalable, multi-platform rendering pipeline built on top of the Scriptable Render Pipeline (SRP) platform. With its scalability, customizability, and rich feature set, URP offers you creative freedom in any type of project, from stylized visuals to physical rendering;
- TextMeshPro - an asset for displaying text, differs from the standard asset for text with improved performance and new features;
- Joystick Pack - an asset for implementing alternative control using a visual joystick.