Create Your First Project
Start adding your projects to your portfolio. Click on "Manage Projects" to get started
Platform Fighter
Project type
Fighting Game
Date
Q4 2022
Made in
Unity
2.5D platform fighting game made in Unity. Fighting with lives, blocks, and different attacks.
Game manager - The player joins by using a specified input on either a controller or keyboard and the spawned character is locked to the used device. The game isn't startable unless two players have joined the game. When one of the player's lives reaches zero the game is ended and the other player is the victor.
Player - Using inputs for moving left to right, jumping/double jumping, quick attacking, heavy attacking, blocking, and descending from a platform. When any attacking input is pressed the game checks if the other player is inside a hitbox which is placed directly in front of the attacking player. If that is the case, and the other player isn't blocking, the other player's damage multiplier is increased and a force is applied, knocking that player away. If the player getting attacked is instead blocking, nothing happens. To be able to stand on platforms, whilst also being able to jump up from underneath, the player ignores collision with a platform whilst having a position lower than it. When the button is pressed to descend from a platform, the collision is also ignored for a short amount of time.