top of page
Virus Invader by Yihang Zhao

Developing
The game was developed in Unity 2022.3.2f1


Here is the animation setup for the player. The player contains 4 states: idle, run, hit and death. Within it, idle and run has 4 variations according to the direction.



Code that can achieve the effect of the player being blown backwards by a fan atthe bottom of the map.



The set up of enemy AI including patrol, watch player, chase player. Each movement has a different priority.



Watch player behavior. While the enemy is watching the player, the alarm slide spikes.



Player can duplicate itself by pressing the “E” button


bottom of page