Posted June 20, 2024 by spinmeister1977
This week, enemies. I created an enemy script that moved toward the player, when they would collide with them they would deal damage, they move in the opposite direction for 2 seconds and then return to attack the player. All these values could be changed to create a few enemy types if needed, this worked quite well and attaching them to an object with the spawner them and the barrels provide plenty of obstacles to overcome.