O'Reilly logo

Starling Game Development Essentials by Juwal Bose

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

In this chapter, we learned to implement our game level using the approaches learned earlier. We got to know about some custom classes, which help us implement our soldiers in a much better way. Basic AI decision making and path following was explored. I introduced you to the excellent Pathfinder class, which helped us to use the A * algorithm to find paths between points. I explained to you some of the depth sorting issues and their solutions, which we have implemented in this game.

We also learned about time-based animations and their advantages. I have explained to you the various game states and their corresponding functionalities as well as explained the purpose of our touch listener. I could only cover as much in this chapter while ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required