Psycho Surgeon is a fast-paced 2D action game developed in Unity, challenging players with dynamic bullet combat, strategic enemy encounters and engaging battles. With dynamic gameplay battles outsmart the race against time with the immersive countdown timer
- Engage in fast-paced shooting action with responsive controls and challenging enemies
- Face off against various enemies, each with unique behaviors and attack patterns
- Add urgency to your gameplay with a countdown timer that forces you to think and act quickly
- Experience intense battles with a variety of enemies
- Movement: Use the arrow keys or WASD to move your character.
- Shoot: Press Space to shoot bullets.
- Objective: Survive and defeat enemies as you race against the countdown timer.
- Enemies: Encounter different types of enemies with unique attack patterns.
- Movement and collision detection of bullets fired by the player. Includes methods to set bullet speed and handle collisions with enemies
- Controls enemy behavior, including movement towards the player, attacking, and handling death animations
- Damage area around enemies during their attack phase, enabling and disabling damage zones based on attack timings
- Health of enemies, handles taking damage, and triggers death sequences when health reaches zero
- Controls the spawning of enemies at predefined positions with a limit on the number of active enemies at any given time
- Implements smooth camera following logic to keep the player in view, with constraints to limit camera movement within predefined bounds
- Destroys objects (e.g., bullets) that collide with it to prevent clutter and manage game resources efficiently
- Manages key gameplay elements such as enemy kill count, displaying the count on the UI, and restarting the game
- Controls player animations and handles changing the player's facing direction based on movement
- Manages player health, handles taking damage, and triggers game over sequences when health reaches zero
- Manages player shooting actions, instantiates bullets, and plays shooting sound effects
- Manages the countdown timer displayed during gameplay, updates the UI, and handles game events when the timer reaches zero
- Handles sound effects such as the player shooting
To play Psycho Surgeon, follow these steps:
- Clone the repository:
git clone https://github.com/your-username/psycho-surgeon.git - Open the project in Unity:
- Ensure you have Unity installed. The recommended version for this project is Unity 2021.3.15f1
- Open Unity Hub and click on "Add" to add the cloned project.
- Install dependencies: This project uses Unity's built-in features, so there are no additional dependencies to install.
Developed using Unity