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
Courses by Unity Certified Experts
Our course instructors aren’t just fun to learn from – they’re also serious gamers, qualified coders, and have been formally certified by Unity Technologies and CompTIA for their excellent programming and teaching skills. That way, you can be confident that you’re developing strong, modern skills that will set you up for success as a game developer.
As a Unity Authorized Learning Partner, our courses are confirmed as being of the highest quality, and as being relevant in today’s industry.
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.
With an online platform optimized for all modern devices, you can even learn on the go!
✅ 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.