Intro to Scripting (DGM 1600)
Though I had taken previous C# courses, this one in particular expanded on what I learned previously and applied it to gaming. Basic mechanics and code were learned as part of this course that will most likely be applied to nearly every future game I work on.
You will need the Unity Web Player to play the game, which is not supported in Chrome browsers.
In this class we learned:
-
How to code a beginning animation
-
Spawning/Killing Enemies
-
Triggering an animation upon an enemy death
-
Registering how many bullet you had and if you ran out the enemy would fly away
Below are the scripts that were used for this game.
Served as a mediator between other scripts
This was a secondary script to "DuckMovement" that helped the ducks move as if they were flying instead of getting stuck.
This script controlled the duck's death, such as a player induced death or just simply to destroy the Game Object when a duck dies or escapes.
Served as a mediator between other scripts