July 2024
Beginner to intermediate
320 pages
8h 13m
English
This chapter covers
So far, our game only has one type of enemy, which always moves the same way. This does not present much of a challenge to the gamer and does not make the game very interesting.
In this chapter, we are going to look at how we define different types of enemies in our game code. Then we will look at how we will keep track of more information about each enemy. This will allow us to make the enemies move in different directions and patterns and to introduce some animation.
To make our game more interesting, let’s add some more enemy types ...
Read now
Unlock full access