© Jared Halpern 2019
Jared HalpernDeveloping 2D Games with Unity https://doi.org/10.1007/978-1-4842-3772-4_3

3. Foundations

Jared Halpern1 
New York, NY, USA

Now that we’re familiar with the Unity Editor, it’s time to starting making our game. This chapter will walk you through how to construct the objects and write the code that will comprise our game. We’ll talk about software design patterns used in Unity, along with some higher-level principles in Computer Science and how they’re relevant to making games. You’ll also learn how to control the player on-screen and play the player animations.

Game Objects: Our Container Entities

Games in Unity consist of Scenes, and everything in a Scene is called a GameObject. You’ll encounter Scripts, Colliders, ...

Get Developing 2D Games with Unity : Independent Game Programming with C# now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.