Write efficient C# scripts to create modular key game elements that are usable for any kind of Unity projectAbout This BookWrite customizable scripts that are easy to adjust to suit the needs of different projectsCombine your knowledge of modular scripting elements to build a complete gameBuild key game features, from player inventories to friendly and enemy artificial intelligenceWho This Book Is ForIf you are new to Unity scripting and want to learn simple and modular code and advance your knowledge to the next level, this is the book for you.
What You Will LearnInclude controls for both keyboard/mouse and the gamepadCreate three different types of expandable itemsImplement an inventory that includes a hot key systemOptimize your game's video and audio optionsIntegrate a GUI HUD with buttons, health bars, and damage reportsMake a complex AI systemSave game data in multiple stylesTrack player statistics and scoresIn DetailThe intuitive and powerful Unity game engine is one of the most widely used and best loved packages for game development. Unity scripting is an essential but challenging skill to master in order to create custom game elements. Learning modular scripting allows you to rewrite as little code as possible as you deploy your scripts to multiple projects and work easier, quicker, and more efficiently than before.
In each chapter of this book, you'll learn how to script new game elements. Beginning with making custom controls for the keyboard and mouse, as well as the Xbox 360 Controller, you'll then get to grips with more complex systems such as inventory, data saving, and artificial intelligence. As you create these elements, you'll also learn how to make your scripts simpler and easy to use. This will allow drag-and-drop deployment, which is to be used by designers and nonprogrammers. Finally, you'll combine all of your newfound skills to create your own complete game project.
OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.
Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.
Find this site helpful? Tell a friend about us.
We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.
Your purchases help us maintain our catalog and keep our servers humming without ads.
Thank you for supporting OpenCourser.