Delve into combat for your real-time strategy games by learning to set up attack mechanics. Starting with a project that has unit movement and resource gathering already implemented, you will be shown how to script units to attack and damage enemies using a state machine. By the end of the course, you will have gained advanced knowledge of creating state machines in Unity and how they can be further expanded to add action to your strategy games.
You will learn how to:
- Set up C# scripts so players can command units to attack
- Alter a state machine to have an attack state
- Control unit movement, damage caused, and more based on a state machine
- Implement a UI to show a unit’s current state and health
Unity Certified Experts
This curriculum has been designed by instructors who have been certified by Unity Technologies and CompTIA in recognition of their programming excellence.
As a Unity Authorized Learning Partner, Zenva’s courses satisfy the highest standards in terms of both quality and relevancy.