1. Learning C# Programming with Unity 3D (2014)
Designed to give you enough familiarity in a programming language to be immediately productive, Learning C# Programming with Unity 3D provides the basics of programming and brings you quickly up to speed. Organized into easy-to-follow lessons, the book covers how C# is used to make a game in Unity3D. After reading this book, you will be armed with the knowledge required to feel confident in learning more. You’ll have what it takes to at least look at code without your head spinning.
Writing a massive multiplayer online role-playing game is quite hard, of course, but learning how to write a simple behavior isn’t. Like drawing, you start off with the basics such as spheres and cubes. After plenty of practice, you’ll be able to create a real work of art. This applies to writing code―you start off with basic calculations, then move on to the logic that drives a complex game. By the end of this book, you will have the skills to be a capable programmer, or at least know what is involved with how to read and write code.
Although you could go online and find videos and tutorials, there is a distinct advantage when it comes to learning things in order and in one place. Most online tutorials for C# are scattered, disordered, and incohesive. It’s difficult to find a good starting point, and even more difficult to find a continuous list of tutorials to bring you to any clear understanding of the C# programming language. This book not only gives you a strong foundation, but puts you on the path to game development.
Author(s): Alex Okita
Author(s): Patrick Felicia
Unity in Action teaches you how to write and deploy games. You’ll master the Unity toolset from the ground up, adding the skills you need to go from application coder to game developer. Based on Unity version 5.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
About the Book
This book helps readers build successful games with the Unity game development platform. You will use the powerful C# language, Unity’s intuitive workflow tools, and a state-of-the-art rendering engine to build and deploy mobile, desktop, and console games. Unity’s single codebase approach minimizes inefficient switching among development tools and concentrates your attention on making great interactive experiences.
Unity in Action teaches you how to write and deploy games. You’ll master the Unity toolset from the ground up, adding the skills you need to go from application coder to game developer. Each sample project illuminates specific Unity features and game development strategies. As you read and practice, you’ll build up a well-rounded skill set for creating graphically driven 2D and 3D game applications.
You’ll need to know how to program, in C# or a similar OO language. No previous Unity experience or game development knowledge is assumed.
- Program characters that run, jump, and interact
- Build code architectures that manage the game’s state
- Connect your games to the internet to download live data
- Deploy games to platforms including web and mobile
- Covers Unity 5
About the Author
Joe Hocking is a software engineer specializing in interactive media development. He works for Synapse Games and teaches classes in game development at Columbia College Chicago.
Table of Contents
- Getting to know Unity
- Building a demo that puts you in 3D space
- Adding enemies and projectiles to the 3D game
- Developing graphics for your game
- Building a Memory game using Unity’s new 2D functionality
- Putting a 2D GUI in a 3D game
- Creating a third-person 3D game: player movement and animation
- Adding interactive devices and items within the game
- Connecting your game to the internet
- Playing audio: sound effects and music
- Putting the parts together into a complete game
- Deploying your game to players’ devices
PART 1 FIRST STEPS
PART 2 GETTING COMFORTABLE
PART 3 STRONG FINISH
Author(s): Joe Hocking
Note: This edition is for people who plan to use Visual Studio to develop their C# Unity scripts and stand-alone programs. If you plan to use MonoDevelop, you should buy the MonoDevelop edition instead.
Welcome to the wonderful world of programming! In this book you’ll learn the basics of programming using the C# programming language. While we admit we love to code (another word for program) just about anything, developing games is one of the coolest things of all. Most of the examples in this book are related to game development using Unity. So you’ll learn how to program properly and you’ll learn how to write C# scripts in Unity.
It’s important to note that the Unity focus in this book is on the actual C# scripting you do to build Unity games. The book doesn’t cover the full gamut of how to build Unity games from scratch (though we do build a complete game in Chapter 20); instead, we use just enough “Unity stuff” to build interesting pieces of game functionality so we can concentrate on learning C#. Don’t worry, there are plenty of other books and resources for learning the rest of Unity! If you really just want to learn all the nuts and bolts of Unity, you should buy one of those books instead.
You’ll notice we said “learn how to program properly” above, not “whack together games that seem to work.” This is a book that focuses on the correct way to write game software (and software in general), so there’s lots of discussion about our motivations for the particular design and coding decisions we make throughout the book.
The book assumes that you’ve never programmed before, so all the material starts at the most basic level. That means that anyone should be able to pick up the book and work their way through it without any prior knowledge. That’s the good news.
The bad news is that programming is hard work, especially at first. If you truly want to learn how to program, you’ll need to write programs yourself and struggle through some rough spots before some topics really click for you. Just as you can’t learn how to ride a bicycle by reading about it – you have to actually do it, probably with some spills along the way – you can’t learn to program just by reading about it. If you were hoping to read a book to learn how to program without doing any programming yourself, it’s not going to happen. If you aspire to be a professional game programmer – whether as an indie game developer or in a large game company – and you’re willing to put in the work, though, this book will give you a solid foundation for starting on that path.
Author(s): A. T. Chamillard
5. Learning C# 7 By Developing Games with Unity 2017 – Third Edition: Learn C# Programming by building fun and interactive games with Unity (2017)
Develop your first interactive 2D and 3D platform game by learning the fundamentals of C#
- Learn the fundamentals of C# 7 scripting to develop GameObjects and master the basics of the new UI system in Unity 2017
- Build and develop your 2D game right from scratch and extend it to 3D while implementing the principles of object-oriented programming and coding in C# 7
- Get to grips with the fundamentals of optimizing your game using the latest features of Unity 2017
Do you want to learn C# programming by creating fun and interactive games using the latest Unity 2017 platform? If so, look no further; this is the right book for you. Get started with programming C# so you can create 2D and 3D games in Unity. We will walk you through the basics to get you started with C# 7 and its latest features. Then, explore the use of C# 7 and its latest functional programming capabilities to create amazing games with Unity 2017.
You will create your first C# script for Unity, add objects into it, and learn how to create game elements with it. Work with the latest functional programming features of C# and leverage them for great game scripting.
Throughout the book, you will learn to use the new Unity 2017 2D tool set and create an interactive 2D game with it. You will make enemies appear to challenge your player, and discover some optimization techniques for great game performance. At the end, you will learn how to transform a 2D game into 3D, and you will be able to skill up to become a pro C# programmer with Unity 2017!
What you will learn
- Create your first 2D and 3D games in Unity
- Understand the fundamentals of variables, methods, and code syntax in C#
- Use loops and collections efficiently in Unity to reduce the amount of code
- Develop a game using object-oriented programming principles
- Implement simple enemy characters into the game to learn point-to-point movement and Tree behaviors
- Avoid performance mistakes by implementing different optimization techniques
- Export 3D models and animations and import them inside a Unity project
Who This Book Is For
This book is for game developers and enthusiasts who want to get started with game development with Unity 2017. No prior experience of C# is required.
Table of Contents
- Discovering Your Hidden Scripting Skills and Getting Your Environment Ready
- Introducing the Building Blocks for Unity Scripts
- Getting into the Details of Variables
- Getting into the Details of Methods
- Lists, Arrays, and Dictionaries
- Object, a Container with Variables and Methods
- Let’s Make a Game! – From Idea to Development
- Starting Your First Game
- Writing GameManager
- The Game Level
- The User Interface
Author(s): Micael DaGraca, Greg Lukosek
6. Unity 5 from Zero to Proficiency (Foundations): A step-by-step guide to creating your first game (2016)
Creating your own game can be very intimidating at the start, and quite often, regardless of your experience with games, it is sometimes difficult to find the time and motivation to get over the first barriers and get started (e.g., lack of time or coding expertise).
Often, these barriers seem higher than they actually are. You may be a teacher trying to introduce games in the classroom, but with no previous coding or game development experience; maybe you are a hobbyist who would love to create interactive environments based on the games that you enjoy playing; maybe you are a student getting started with game development but you just don't know where to start or what resources to use; or maybe you have tried online video tutorials but found them disjointed.
You may be wondering: "How can I start to create my games if I have no experience of coding", or "this game engine is so complex that I just don't know where to get started". This is quite common, and you can easily overcome these issues with a step-by-step approach that gets you to progressively develop and use your skills.
This is the approach that I have used successfully over the past years to take students from a wide range of backgrounds from no knowledge of coding or game development to good levels of proficiency in Unity.
Of course, it takes some time and dedication; however, by following the techniques and suggestions described in this book, I can promise you that you will progress, regardless of your background, and become more comfortable with Unity. In this book, entitled From Zero to Proficiency (Foundations), which is the first book in the series (i.e., Foundations, Beginner, Intermediate and Advanced), you will become comfortable with Unity's interface and core features, by creating a project (with no coding involved) that includes both an indoor and an outdoor environment.
Master Unity Quickly with this book and FREE Video Tutorials
In this book, entitled From Zero to Proficiency (Foundations), which is the first book in the series (i.e., Foundations,Beginner,Intermediate and Advanced), you will become comfortable withUnity's interface and core features, by creating a project (with nocoding involved) that includes both an indoor and an outdoor environment.
When you download this book you get:
- An exclusive 1-hour video tutorial.
- Access to the author by email if you have any question.
- A list of the learning objectives at the start of each chapter.
- Step-by-step activities using a tried-and-tested method.
- Challenges at the end of each chapter.
- Printable cheat-sheets for common shortcuts.
- Quizzes to test your knowledge (and answers).
Become Comfortable with Unity Fast
The content of each chapter is as follows:
– Chapter 1 provides general information on game engines and explains why you should use such software, and how, by using Unity more specifically, you can create games seamlessly.
– Chapter 2 takes you through the very first steps of installing Unity and becoming familiar with the interface. It will also show you the different shortcuts necessary to navigate through scenes and projects in Unity.
– Chapter 3 gets you to create and export your first scene by combining built-in objects. You will learn how to manage objects, apply textures and colors, and transform objects to create a simple scene.
– Chapter 4 explains how you can create an indoor scene (i.e., a maze) with built-in shapes. You will also work with and manage lights in your scene to set the atmosphere and navigate through the scene with a First-Person Controller.
– Chapter 5 explains how to create a realistic island with sandy beaches, water, and palm trees using Unity's built-in assets. You will also drive a car and pilot a plane.
– Chapter 6 provides answers to frequently asked questions.
– Chapter 7 summarizes the topics covered in this book and provides tips for your next steps.
If you want to get started with Unity using a method that works: buy this book now!
Author(s): P Patrick Felicia
7. Unity Virtual Reality Projects (2015)
Explore the world of Virtual Reality by building immersive and fun VR projects using Unity 3D
About This Book
- Learn the basic principles of virtual reality applications and get to know how they differ from games and desktop apps
- Build various types of VR experiences, including diorama, first-person characters, riding on rails, 360 degree projections, and social VR
- A project-based guide that teaches you to use Unity to develop VR applications, which can be experienced with devices such as the Oculus Rift or Google Cardboard
Who This Book Is For
If you’re a non-programmer unfamiliar with 3D computer graphics, or experienced in both but new to virtual reality, and are interested in building your own VR games or applications then this book is for you. Any experience in Unity is an advantage.
What You Will Learn
- Create 3D scenes with Unity and Blender while learning about world space and scale
- Build and run VR applications for consumer headsets including Oculus Rift and Google Cardboard
- Build interactive environments with physics, gravity, animations, and lighting using the Unity engine
- Experiment with various user interface (UI) techniques that you can use in your VR applications
- Implement the first-person and third-person experiences that use only head motion gestures for input
- Create animated walkthroughs, use 360-degree media, and build multi-user social VR experiences
- Learn about the technology and psychology of VR including rendering, performance and VR motion sickness
- Gain introductory and advanced experience in Unity programming with the C# language
What is consumer “virtual reality”? Wearing a head-mounted display you view stereoscopic 3D scenes. You can look around by moving your head, and walk around using hand controls or motion sensors. You are engaged in a fully immersive experience. On the other hand, Unity is a powerful game development engine that provides a rich set of features such as visual lighting, materials, physics, audio, special effects, and animation for creating 2D and 3D games. Unity 5 has become the leading platform for building virtual reality games, applications and experiences for this new generation of consumer VR devices.
Using a practical and project-based approach, this book will educate you about the specifics of virtual reality development in Unity.
You will learn how to use Unity to develop VR applications which can be experienced with devices such as the Oculus Rift or Google Cardboard. We will then learn how to engage with virtual worlds from a third person and first person character point of view. Furthermore, you will explore the technical considerations especially important and possibly unique to VR. The projects in the book will demonstrate how to build a variety of VR experiences. You will be diving into the Unity 3D game engine via the interactive Unity Editor as well as C-Sharp programming.
By the end of the book, you will be equipped to develop rich, interactive virtual reality experiences using Unity.
So, let’s get to it!
Style and approach
This book takes a practical, project-based approach to teach specifics of virtual reality development in Unity. Using a reader-friendly approach, this book will not only provide detailed step-by-step instructions but also discuss the broader context and applications covered within.
Author(s): Jonathan Linowes
8. Unity 5 from Zero to Proficiency (Beginner): A step-by-step guide to coding your first game with Unity (Volume 2) (2015)
Maybe you are a teacher trying to introduce games in your classroom or a parent trying to help your child with coding, but with no previous coding or game development experience; maybe you are a hobbyist who would love to create interactive environments based on your favorite games; maybe you are a student getting started with game development but you just don't know where to start or what resources to use; or maybe you have tried online video tutorials but found them disjointed. You may be wondering: "How can I start to create my games if I have no experience of coding", or "this game engine is so complex that I just don't know where to get started".
This is quite common, and you can easily overcome these issues with a step-by-step approach that gets you to progressively develop and use your skills. This is the approach that I have used successfully over the past years to take students from no knowledge of coding or game development to good levels of proficiency in Unity and coding.
Of course, it takes some time and dedication; however, by following the techniques and suggestions described in this book, I can promise you that you will progress, regardless of your background, and become more comfortable with Unity and coding.
Content and structure of this book
When you purchase this book, you get:
– An easy-to-read format that uses a conversational style
– 250+ pages of step-by-step instructions using a tried-and-tested method
– Plenty of explanations and pictures (more than 80 pictures) to complement the text
– Access to the author by email if you have any question
– A 1-hour introduction video
– 8 additional video tutorials (50+ minutes in total) to help you with the most challenging topics covered in the book
– Weekly updates on new topics
– A list of the learning objectives at the start of each chapter.
– Step-by-step activities.
– Opportunities to engage in deeper learning and problem-solving skills through challenges at the end of each chapter.
– Quizzes to test your knowledge (with associated solutions).
– Printable cheat-sheets for shortcuts, and best coding practice.
The content of each chapter is as follows:
– Chapter 2 helps you to code your first script. You will learn how to code following best coding practices, debug your code, and also avoid common errors.
– Chapter 3 gets you to improve your scripting skills, enhance your game and add more interaction. You will learn to implement a scoring system, to detect collisions, and to load new levels.
– Chapter 4 explains how you can create and update a user interface for your game (e.g., displaying images and messages onscreen) using scripting.
– Chapter 5 explains how you can polish-up your game. You will add a splash-screen, a simple inventory system, sound effects, as well as a mini-map.
– Chapter 6 explains how to add Non-Player Characters (NPCs) with Artificial Intelligence (AI). You will configure each NPC and get them to either follow the player or walk along a simple path of your choice, and also detect collision with them.
– Chapter 7 provides answers to Frequently Asked Questions (FAQs) (e.g., scripting, audio, AI, or user interface)
Author(s): P Patrick Felicia, p Patrick Felicia
9. Holistic Game Development with Unity: An All-in-One Guide to Implementing Game Mechanics, Art, Design and Programming (2017)
Master game design and digital art principles simultaneously with this all-in-one guide to creating games in the cutting-edge game engine Unity 5. Bursting with images and tutorials, Penny de Byl’s Holistic Game Development with Unity will help the reader gain the multidisciplinary skills needed to succeed in the independent game industry. Holistic Game Development includes new coverage on Augmented Reality, Networking and Virtual Reality such as the Oculus Rift. Supplementary material, including instructional videos, discussion forms and art assets are provided in the companion website located at www.holistic3d.com. Learn to combine the beauty of art and the functionality of programming in de Byl’s second edition for Unity game development.
Author(s): Penny de Byl
About This Book
- Learn the advanced features of Unity 2D to change and customize games to suit your needs
- Discover tips and tricks for Unity2D's new toolset
- Understand scripting, deployment, and platform integration with an example at each step
- Get a whole life-cycle overview of game development, from advanced scripting, monetization, marketing and deployment
Who This Book Is For?
- If you have C# knowledge but now want to become truly confident in creating fully functional 2D RPG games with Unity, then this book will show you everything you need to know.
- Unity3D has long been seen as a massive 3D game-making middleware system, with lots of power and an easy-to-use editor. Now, with 2D games back in fashion, Unity has created a 2D toolset for developers with the know-how to create great games.
If you are looking for a book that will show you how to make a fully functional, customizable RPG game end to end, then this is the book for you. You will learn how to build an RPG game framework, learning lots of tips and tricks along the way, from advanced C# scripting to getting the most out of Unity's built in features such as Mecanim and curves in ways you may have not even considered.
By the end of this book, you will be able to architect, create, deploy, and integrate your game with all of your intended platforms, and have the knowledge to build and customize the Unity editor for the games you create with confidence. You will also be tooled with tricks from the trade on marketing, monetization, targeting as many platforms as possible, with a keen focus on how to best profit from your title.
Author(s): Simon Jackson
11. Unity for Absolute Beginners (2014)
Unity for Absolute Beginners walks you through the fundamentals of creating a small third-person shooter game with Unity. Using the free version of Unity to begin your game development career, you’ll learn how to import, evaluate and manage your game resources to create awesome third-person shooters. This book assumes that you have little or no experience with game development, scripting, or 3D assets, and that you’re eager to start creating games as quickly as possible, while learning Unity in a fun and interactive environment.
With Unity for Absolute Beginners you’ll become familiar with the Unity editor, key concepts and functionality. You’ll learn how to import, evaluate and manage resources. You’ll explore C# scripting in Unity, and learn how to use the Unity API. Using the provided art assets, you will learn the fundamentals of good game design and iterative refinement as you take your game from a simple prototype to a quirky, but challenging variation of the ever-popular first-person shooter. As can be expected, there will be plenty of destruction, special effects and mayhem along the way.
Unity for Absolute Beginners assumes that you have little or no experience with game development, scripting, or 3D assets, but are eager to get up-to-speed as quickly as possible while learning Unity in a fun and interactive environment.
Author(s): Sue Blackman, Jenny Wang
12. Unity Games by Tutorials Second Edition: Make 4 complete Unity games from scratch using C# (2017)
Learn How to Make Games with the Unity game engine!
Unity is a popular game engine used by both by AAA studios and indie game developers alike. This book will introduce you how to create games with Unity whether you have some game development experience or you are a complete beginner.
By the time you’re finished reading this book, you will have made 4 complete mini-games, modeled your own game assets, and even played with virtual reality! These games include a twin stick shooter, a first person shooter, a 2D platformer, and tower defense game.
Topics Covered in Unity Games by Tutorials:
- GameObjects: Learn about basic building blocks used to create your game.
- Components: Customize your GameObjects by the way of components.
- Physics: Unleash the power of the built-in physics engine.
- Animation: Learn how to bring your models to life through Unity’s animation system.
- Sound: Add depth to your games through Unity’s powerful audio tools.
- Pathfinding: Learn about the pathfinding system to give direction to your monsters.
- User Interface: Provide custom user interfaces for players to use in your game.
- Virtual Reality: Convert one of your games to be played in Virtual Reality.
- Modeling: Learn the basics of Blender and how to create and animate your creations.
- Publishing: Learn how to export your game to your computer, web, and mobile devices.
- Unity 2D: A deep walkthrough on Unity’s 2D system.
- And much more including a C# quick start guide, a Unity API overview, and saving game data!
Author(s): raywenderlich.com Team, Brian Moakley