Tuesday, 8 July 2014

Basic Enemy Script (week #2)

This week we were asked to design an enemy with 3 behaviours; enter, shoot and escape. Due to being ill I was not able to participate in this task in class but I was able to create an enemy AI suitable to the brief for our first assignment. For this assignment we are asked to create a 2D video game in Unity which must apply to a brief, this brief contains many points that our game should contain, the main ones being Dynamic Object spawning, level extents, escalating difficulty and audio. Through research I learned how to create a follow script for an enemy so that it is constantly rotating toward the player and moving in that direction. This script was also edited for a turret style enemy which does not move but rotates toward the player and instantiates bullets over a set time using a cooldown. With these I aim to create a simple top down shooter which features waves of enemies which spawn faster the longer the player survives.

No comments:

Post a Comment