With the help of the level editor, we are able to create any number of levels with minimal effort. All we need to do is let the level designer visually create the levels and export the data in an usable format. Our game plays out in a single level specifically tailored to have the maximum space to move about with two color-coded bases at two distant places. I have shared the source for a demo in the
Chapter 4 folder, which has the game scene basics implemented.
In this chapter, we will cover the following topics:
pathfinderclass to find a path and making the enemy soldiers ...