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 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 ...

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