Skip to content

Aayush-Gangwar/Living-Dead-Fps_3d_shooting-game

Repository files navigation

Living Dead

Game link : https://aayush21.itch.io/living-dead

A Unity based First Person Shooter game with Normal and Zombie modes built with Unity terrain using raycasting for shooting and the core mechanics you'd expect in an FPS with available item pick-ups. Enemies use AI navigation and precise pathfinding to chase down the player.

Implemented my algorithms for AI pathfinding, navigation, raycasting, and other mechanics. Online free assets were mostly used excluding some which've been self-designed customly.

The game is PC (can also be customizable and exported for other platforms). Open this project with Unity and choose build target in build settings to export runnable and play.

Note

Developed with Unity 2020.3.24f1.

Gameplay

Gameplay

Game Logic and Functionality

  • Hunt down all the enemies in the terrain by finding them to win before timer ends.
  • The Enemies patrols at waypoints until it detects the player as a target.
  • If the Player enters the enemies perspective, the enemies starts to chasing the player.
  • The Enemy starts shooting when it close enough to attack while chasing.
  • Enemies health will recharge after heeling time ..if left unattacked.
  • Headshot or Eyeshot will give extra damage to enemies.
  • Ammo pickups for guns and medikit pickup for the players health are available at certain places in the map.
  • Two guns are available, Pistol, AK-47 (have different attack range) and grenades with some pre-loaded bullets. To change between guns, use the scroller of your mouse.

Game Features

  • User Interface-for all features/modes.

  • Game interface

    • Player's HP on the bottom right corner

    • The Timer on the top mid, which shows time left in over of game.

    • Weapon sprites is always shown on the bottom left corner which shows the ammo and grenade counts.

    • A white shooting sight is always in the front of player weapon aim.

    • A Mini map is always top right corner of screen showing status of enemies position around player.

    • Kills are below of Mini map

  • Enemy models

    • There are three types of player models:

      • Zombies
      • Fly Robots
      • Soldiers

  • Animations:

    • Walk towards four different directions
    • Run towards four different directions
    • Jump without affecting upper part body (achieved by unity3d body mask)
    • Shoot without affecting lower part body (achieved by unity3d body mask)
    • Dying and Headshot
  • Gun models:

  • Particle effects:

    • Blood effect
    • Player hurt
    • Enemy finish (red smoke)
    • Explosions
    • Bullet effect

  • Audio:

    • All the game features have seperates audio like guns,explosions,player hurt,enemy hurt,player die,enemy die,robot flying audio,enemy attack ,play and pause audio etc.

Controls

Action Desktop PC
Move Forward W
Move Left A
Move Backward S
Move Right D
Jump space
Run Left Shift(hold)
Shoot Mouse Left Button
Aim Mouse Right Button
Previous Weapon Q or Mouse Wheel Up
Next Weapon Q or Mouse Wheel Down
Reload R (when near ammo box)
Health Recharge Capslock (near medikit)
Throw Grenade G

Installation