Learning C# by Developing Games with Unity: Get to grips with coding in C# and build simple 3D games in Unity 2023 from the ground up
, Seventh Edition
Develop a strong foundation of programming concepts and the C# language
Become confident with Unity fundamentals and features in line with Unity 2023
Build a playable game prototype in Unity—a working first-person shooter game prototype
Description
It's the ability to write custom C# scripts for behaviors and game mechanics that really takes Unity the extra mile. That's where this book can help you as a new programmer!
Harrison Ferrone, in this seventh edition of the bestselling series will take you through the building blocks of programming and the C# language from scratch while building a fun and playable game prototype in Unity.
This book will teach you the fundamentals of OOPs, basic concepts of C#, and Unity engine with lots of code samples, exercises and tips to go beyond the book with your work.
You will write C# scripts for simple game mechanics, perform procedural programming, and add complexity to your games by introducing intelligent enemies and damage-dealing projectiles. You will explore the fundamentals of Unity game development, including game design, lighting basics, player movement, camera controls, collisions, and more with every passing chapter.
Note: The screenshots in the book display the Unity editor in full-screen mode for a comprehensive view. Users can easily reference color versions of images by downloading them from the GitHub repository or the graphics bundle linked in the book.
Who is this book for?
If you're a developer, programmer, hobbyist, or anyone who wants to get started with Unity and C# programming in a fun and engaging manner, this book is for you. You'll still be able to follow along if you don't have programming experience, but knowing the basics will help you get the most out of this book.
What you will learn
Understanding programming fundamentals by breaking them down into their basic parts
Comprehensive explanations with sample codes of object-oriented programming and how it applies to C#
Follow simple steps and examples to create and implement C# scripts in Unity
Divide your code into pluggable building blocks using interfaces, abstract classes, and class extensions
Grasp the basics of a game design document and then move on to blocking out your level geometry, adding lighting and a simple object animation
Create basic game mechanics such as player controllers and shooting projectiles using C#
Become familiar with stacks, queues, exceptions, error handling, and other core C# concepts
Learn how to handle text, XML, and JSON data to save and load your game data
This is a good book for beginners learning both C# and Unity. But I find it very annoying when the author is frequently declaring a variable in one paragraph and then changes the variable's name in the very next paragraph without any indication or explanation. This can be very confusing for first time programmers who don't realize what has happened and may cause issues with the code.Also, downloadable code is available through Github.com but the author/publisher does not provide any errata data on this book for errors/changes in the text or images.
Amazon Verified review
Ryan G.Aug 24, 2024
3
I think the book is fine as an introduction. However, past chapter 6 the author stops teaching and just straight up shows you the code. How am I supposed to learn when I'm just copying the author? He explains why he did it, but I simply don't think that's a way to teach. Have you ever learned something new by just reading how it was done. After chapter 6 he also stops doing the challenges that require you TO try things. Tons of typos too, which sometimes can be annoying. One time there was a typo in the example and I spent a good chunk of time trying to figure out why my code wasn't working and I realized it was a typo. But, he has a discord and answers any questions you have. I'd recommend you try the book but I'm not sure it's the best one out there. Worst case you waste $30 as I'm sure you'll learn something.
Amazon Verified review
Mrs. WoodsJul 31, 2024
4
I'll admit, I just started reading this book that I purchased about a week ago. However, I've noticed one really big flaw that might render a large portion of this book useless: the book recommends Visual Studio for Mac - a now defunct and undownloadable piece of software. You can always download Visual Studio Code, but it is not an IDE and the functionality of the extensions that are required to make this program work similarly to an IDE have poor support and lots (LOTS) of bugs. If you are a beginner, this may make your experience with this book frustrating. I can only hope as I continue with this book that I am able to get some tangeable knowledge and skills from it. Here's to hoping.
Amazon Verified review
BelindaJul 28, 2024
5
I loved how pretty flexible you can get with this book. Whether you're a beginner in coding or not, you can use this book as a great resource to introduce yourself to game dev for all levels of programming. I found the pop quizzes at the end of each chapter a good way to refresh your knowledge after reading each chapter. This book is also a great thing to have on the side as a reference if you're following along with other youtube tutorials. Overall, pretty solid book.
Amazon Verified review
Randy Riley - Rooster976Jul 15, 2024
4
Its a pretty solid book. The examples are ugly which I don’t like is a visual artist. Seems like he could’ve paid someone to make models instead of using primitive objects. Honestly, I wouldn’t get this book until I did the unity pathways to success, the unity free tutorials on their webpage. I think I may have returned this book. But that’s only because I’m a minimalist.
Harrison Ferrone was born in Chicago, IL. Most days, you can find him creating instructional content for LinkedIn Learning or trying to learn something new. He holds various fancy looking pieces of paper from the University of Colorado at Boulder and Columbia College Chicago, and despite being a proud alumnus, most of these are stored in a basement somewhere. After a few years as an iOS developer at small start-ups, and one Fortune 500 company, he fell into a teaching career and never looked back. Throughout all this, he's bought many books, acquired a few cats, worked abroad, and continually wondered why Neuromancer isn't on more course syllabi
Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.
If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.
Please Note: Packt eBooks are non-returnable and non-refundable.
Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:
You may make copies of your eBook for your own use onto any machine
You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website?
If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:
Register on our website using your email address and the password.
Search for the title by name or ISBN using the search option.
Select the title you want to purchase.
Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title.
Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook?
If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
To view your account details or to download a new copy of the book go to www.packtpub.com/account
Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.
You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.
What are the benefits of eBooks?
You can get the information you need immediately
You can easily take them with you on a laptop
You can download them an unlimited number of times
You can print them out
They are copy-paste enabled
They are searchable
There is no password protection
They are lower price than print
They save resources and space
What is an eBook?
Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.
When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.
For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.