Combat System

Nov 20, 2022 min read

Project Overview

Genre: Action
Platform: PC (Unity)
Technologies Used: Unity, C#, Animator, AI, Physics, State Machine
Duration: 2 months

Description

Combat System is a robust combat framework designed for third-person RPG games. It features a dynamic combat system, allowing players to engage in fluid melee combat with a variety of abilities such as dodging, countering, and performing finishing moves. The combat system is supported by enemy AI, ensuring that battles feel challenging and responsive. Additionally, the system uses animation events to synchronize character movements with combat actions, making the experience seamless and immersive.

Key Features

  • Player Combat Mechanics: Melee attacks, dodges, counters, and finishers, providing a full range of combat options.
  • Enemy AI: AI-controlled enemies with basic behavior patterns like attacking, dodging, and countering.
  • State Machine: A state machine structure to manage different combat states (idle, attacking, dodging, etc.) for both the player and enemies.
  • Animation Events: Used to trigger specific actions at the right moments in combat, such as attack hits or special move activations.
  • Combat Dodging and Countering: Players can dodge incoming attacks and perform counters when timed correctly for a more strategic combat experience.
  • Finishers: A finishing move mechanic that triggers when certain conditions are met, providing satisfying gameplay moments.

What I Learned

  • Gained experience in designing a combat system that combines character abilities and enemy AI to create dynamic encounters.
  • Learned to implement state machines to manage complex behaviors like transitions between different combat states (attacking, defending, dodging).
  • Worked with animation events to synchronize gameplay actions with visual feedback, improving player immersion and control.
  • Developed an understanding of AI behaviors and how to create challenging yet balanced enemy mechanics in an RPG setting.