Sci-Fi Shooter Gameplay
The Sci-Fi Shooter is a simple third person shooter built in Unreal Engine 4. Players begin in a Sci-Fi base and must navigate the mazelike architecture while eliminating all enemy combatants. Assets provided by Unreal’s Free Library & GameDev.tv
Features
Full Project Code Available on GitHub. Clicking each code snippet will link to that specific code block in the github repository.
Animation Controller
Using Unreal’s Animation State Machines, Blend Spaces, and Animation Overlays, the Sci-Fi Shooter boasts a realistic and robust Animation Controller for it’s main character.
Artificial Intelligence Controller
The enemies in the game are controlled with Unreal Engine’s AI Behavior Tree, utilizing Services, Sequences and Tasks. The behavior is essentially for the enemy to do nothing until the player comes into the enemies line of sight, at which point the Enemy chases the player until it comes within range and starts shooting. If the player leaves the Enemy’s line of sight the Enemy will go to the player’s last known location. If it still can’t find the player, the Enemy returns to it’s starting location.
Particle Effects
The Sci-Fi Shooter boasts excellent dynamic particle effects in a couple situation. There is a muzzle flash attached to the skeleton mesh of the gun, to ensure it works seamlessly with the animation controller described above. There is also a particle effect on a bullet’s collision with wall objects and other characters. In both cases the Particle Effect is spawned via the Gameplay Statics Library in the C++ Code that describes the behavior of the gun and player character.