5. The Basics of Movement and Player Control

When developing a game, it is often best to start with simple building blocks from which you can build greater functionality and complexity. You must consider what is at the root of your game’s experience. We’re developing a 2D platformer, so our root is clearly movement. Bearing that in mind, we will begin constructing the basics of movement and building on them as we continue through later chapters. If you can make movement feel good in a test level (often referred to as a “white box level”), you’re on the right path!

This chapter will also introduce the MonoDevelop-Unity IDE and discuss some of its error-handling tools and how to make use of them to debug your code.

Get Learning 2D Game Development with Unity®: A Hands-On Guide to Game Creation 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.