Gameplay


About This Game

Over the course of about one year, I developed this third-person shooter in Unity. It follows the adventure of an AI robot, whose mission is to save humanity from a corrupted artifact deep underground. 

 

After scientists discovered a strange artifact underground, they began performing experiments. They soon discovered that they made a grave mistake, unleashing deadly creatures. The scientists created protection robots in attempt to keep the creatures at bay. This failed, when the artifact corrupted the protection robots, making them turn on the scientists. 

 

One scientist escaped to Earth's orbit, allowing him to create you, the next generation of protection robots. Help save the planet by defeating deadly creatures, navigate engaging environments, solve puzzles, and defeat the underworld queen!

 

This game engages the player with a variety of features and mechanics:

  • Gun fights
  • Climbing
  • Speed dashing
  • Puzzles
  • Secrets and collectibles
  • Player upgrades

Climbing

Using ray casting and a few animations, climbing becomes an easy-to-implement and versatile game mechanic. 

 

For the player to detect a climbable wall, they must be within the detection distance. This distance is offset from the ground by some value. To detect free hanging, a foot offset is used. If this ray cast does not detect a wall, free hanging is true.

Inverse Kinematics

This game offers a variety of weapons. To avoid using countless animations, inverse kinematics/animation rigging is used.

 

Each weapon has grip targets. When the weapon is equipped, the hands of the player are retargeted to these grips. 


Code

The code used for player climbing is provided below.