Build real-time strategy (RTS) games using Unity with practical techniques, best coding practices, and popular design patterns
Key FeaturesLearn how to implement game architecture and gameplay featuresExplore unit actions, resource management, physics simulations, and audiovisual enhancements to boost player engagementDiscover RTS mechanics such as implementing melee/ranged battles, unit spawning, dynamic maps, pathfinding, and morePurchase of the print or Kindle book includes a free PDF eBookBook DescriptionBuilding a successful real-time strategy game is challenging, because of both the complex mechanics and the need to strike a balance between different elements, ensuring that players enjoy creating and executing strategies against the game's AI.
Creating an RTS Game in Unity 2023 will teach you how to install and set up the Unity game engine, create a new 3D project, and build a level editor to make it easier to modify and add maps to a game. The RTS game will start to take shape while you learn to implement different core systems such as melee and ranged battles, unit spawners, camera controls, dynamic mapping generation, basic enemy AI, and the pathfinder algorithm. You'll also get to grips with implementing command units to perform actions, crafting and producing resources, basic physics and collision detection, and building an RTS game from scratch using C# and the latest features of the Unity game engine.
By the end of this book, you’ll be able to make professional and high-quality end-to-end RTS games using the best practices and techniques from the gaming industry.
What you will learnIncorporate the most used design patterns, algorithms, and techniques into your gameEmploy the best coding practices used in the games industryExplore the basics of AI and physics to create high-quality gamesBuild dynamic and configurable maps to enhance the player experienceSolve complex problems using the industry standards for Unity and C#Create the mechanics present in classic RTS games using a modern approachGain a deep understanding of how to create professional games using UnityWho this book is forIf you are a beginner game developer who wants to learn the skills to develop a professional RTS game, a programmer looking at career options in the industry who needs to develop a portfolio, or even an indie game developer seeking inspiration for your own games, this book is for you. Professional game developers, programmers with experience in C#, as well as game designers and artists looking for a practical guide to bring their game ideas to life will also find plenty of useful information in this book.
Table of ContentsIntroducing Real-Time Strategy GamesSetting Up Unity and the Dragoncraft ProjectGetting Started with Our Level DesignCreating the User Interface and HUDSpawning an Army of UnitsCommanding an Army of UnitsAttacking and Defending UnitsImplementing the PathfinderAdding EnemiesCreating an AI to Attack the PlayerAdding Enemies to the MapBalancing the Game's DifficultyProducing and Gathering ResourcesCrafting Buildings and Defense TowersTracking Progression and ObjectivesExporting and E
Not for beginners. It drops you straight in with some really complex stuff. Also takes a loooong time before anything is actually working, you're just creating scripts, scriptable objects, setting up events, etc for hours.
And it doesn't tell you why you're doing what you're doing, so a lot of the time all you really learn is to create the exact script that it says, and you wouldn't be able to take anything from it unless you already have the knowledge.
Near the beginning, the author tells you about the project you'll be creating together, which sounds exciting, but then the book ends when you're only about halfway in and have most of the systems working, like he just gave up. Really disappointing.
For an experienced programmer who wants some ideas for ways to develop an RTS, this might be good. For beginners or novices, find something else.