A New Threat: Developing New Enemies (Part 2)(Game Dev Day 44)

Jack Leavey
Oct 6, 2021

--

Objective: Make the Rammer enemy face the player during the chase mechanic.

Currently the rammer just ominously drifts as the player

While the enemy is functionally working, I wanted to clean it up so it looked less goofy.

By adding the following code, we can define a rotation value that will force the enemies to look at the player’s current position.

The Rammer now tracks and faces the player.

Currently, that is all that is planned for this enemy type. Spawn management and the Rammer’s Speed stat may need tweaking moving forward, but as I have other enemies planned I do not want to overload the kit of any one enemy.

Next I will be implementing the Bomber, who will fly through and place Mines into the playing field.

--

--

Jack Leavey
Jack Leavey

Written by Jack Leavey

I am a software engineer with years of experience branching into game development, specifically in Unity. Follow along for guides on creating game mechanics!

No responses yet