Summary

In this chapter, we learned about the basic structure of a game and got introduced to the game loop and game states. We learned that the Flash Player facilitates game development by providing its own game loop hook and doing scene updates per frame. I also explained to you the game idea, which we will be trying to develop throughout this book. The idea is a tile-based, isometric, and turn-based game. We understood about the turn-based game and got in-depth understanding of the tile-based approach.

We wrote code to create a level using the tile-based approach where the level data is stored as a 2D array. We also found out the relationship between screen space and array indices. Let us use the tile-based approach we have learned in this chapter to implement the isometric view in the next chapter. We will learn how a normal 2D view relates to the interesting pseudo 3D isometric view.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.223.170.223