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.
YOUR COURSES, YOUR WAY
Learn with project-based courses that are designed to be flexible – access them 24/7, fit them around your schedule, and choose the learning materials that suit you best.
You can even download your course videos and watch them offline using the Zenva app, available on iOS and Android.
✅ Watch video lessons
✅ Read text summaries
✅ Explore interactive lessons
✅ Practice with source code
✅ Build real projects
✅ Earn completion certificates
ACHIEVE REAL RESULTS
Our community of 1,000,000+ learners and developers have used the skills learned with us to publish their own games and websites, land their dream jobs, and even start their own businesses – and you have the potential to do the same!
Check out what our learners think below:
I love the lectures, concise course objectives, and how they not only teach you enough to get started, but prepare you for the advanced stuff later down the road.
With Zenva, I started learning a more accurate way to approach problems and develop solutions. It’s full of interesting topics that I love to learn in conjunction with my work.
I chose Zenva because of the large selection of topics and the fact that I can choose what courses I want to take whenever I want to take them. That level of freedom is unique to Zenva.
The Unity courses at Zenva helped me achieve a level of comfort with game development that I didn’t think was possible. They give you the confidence to expand your skills, and were so easy to understand.
LEARN FROM WORLD-CLASS INSTRUCTORS
Our course instructors participate in elite developer programs and have been recognized for their demonstrated excellence in development and teaching.
That way, you can be confident that you’re learning the most up-to-date content from industry experts.