We will keep on working on our Level 0 example we created and developed in the previous chapter, so we are going to read the following sections, we will cover the basics of collision, adding components, and moving objects. Let's go.
2D Game Kit
Collision detection
At the end of Chapter 4, Getting Started - Object Placement, we added static objects, but I guess many of us started wondering how can we make these objects interact with the player.
In order to do this, we have to start by adding collision to the object we want to interact with; whatever interactions we are looking for, the collision must always be a component of the object. As we read before, the components in charge of the collision are colliders, which...