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

3. Foundations

Jared Halpern1 
(1)
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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.