For my Double Project I have begun creating the basic game dynamics. This has given me a playable version of the game (somewhat representative of the final product) that I can now build upon and implement more advanced mechanics.

So far I have created;
Player script – This allows me to control my player model and roam about the scene/level I have created using WASD.

Enemy script – This allows my enemy models to move around the map and follow any objects with the player script attached. Once close enough, the enemy will try and attack the player by lunging at them.

Spawner script – This can be attached to a null object and will spawn my enemies into the scene. I can determine the number of enemies, how many waves there will be and the time between each wave.

Gun/projectile script – These scripts can be applied to my Gun and bullet models respectively. It will allow me to fire bullets from my gun via mouse click. These bullets will have a tag, so the enemy knows it has been hit and can take damage.

Particle death script – This can be applied to any objects with the enemy script attached. When the object is destroyed a particle death will appear, giving the illusion of blood exploding out.

Death screen UI – This screen will appear when the player dies. There is a button on the UI labelled ‘again?’ that allows players to quickly restart the game.