The first thing on our list that we have chosen to work on is the movement. The lesson that we'll cover on this topic can be used both on enemies and on movable obstacles, so it's very useful.
There are a few ways to make enemies move and, probably like the rest of the lessons that we have learned so far, we'll eventually adapt and find our own way of creating things, so it adjusts perfectly with what we want. In this chapter, we'll take a look at three ways to make the enemies move.
This is probably the simplest approach to make a character or obstacle move, although it's still very useful and practical if we don't need a complex movement system.
In the previous chapter, we created a sprite animation for the coin where we added a different sprite for each frame of the animation and, at the end, we saw the coin spinning. Well, here we'll be using the same animation tab, where it contains a timeline, but the way we create the animation will be completely different...