Battle Tank

Type: Game

Tools used: C++, Unreal Engine, Blender

GitHub: https://github.com/Shadow3197/04_BattleTank

Requirements:

  • Title screen.
  • Tank divided into three parts, turret, body and, wheels.
  • Suspension added to wheels.
  • Ai controlled enemies.
  • Winter environment.
  • An alien like structure.
  • End Screen.

Project Overview

Battle Tank is a work-in-progress tank simulator, where players will fight a hostile faction that wishes to take control of ancient weapons to rule over the world. The game will have a multiplayer mode where players can fight each other till the last tank standing.

Approach

My first step was creating a game design document in order to figure out what path to take. After that, I drew inspiration from snowy environments in real places and other games for the landscape. Next, I grabbed props from the Unreal Engine marketplace and added my own collisions to them in Blender. In order to make the control system for the tank, I divided it into three parts: the wheels, the body, and the turret. I then needed a 3rd person camera control. The main menu screen was then created, where players could choose between single and multiplayer modes. My next step was to add basic AI to the enemy tanks so they can move.  Afterward, I started on the shooting aspect of the game,  I first gave the player a crosshair, then used LineTracing to determine where the crosshair was. Then I made the projectile and used Unreal Engine’s physics features to give it weight and speed. I then coded the turret to rotate to the coordinates of the crosshair doing this would now allow the Ai and player to shoot at each other. I then focused on the movement of the tank so that it has a more realistic feel. To achieve this, I added suspension. Following that, I worked on smaller details like ammo counts, health bars, and mortar enemy types.