Game Development Reference
In-Depth Information
This particular example creates a WaterDrop instance and positions it in the center of the tile.
You place each water drop 10 pixels higher than the center so it doesn't bounce over the tile below it.
Look at the Level class to see how to create the various tiles and objects in each level. Figure 24-2
shows a screenshot of the objects in the first level (other than the player character, which you deal
with in the following chapters).
Figure 24-2. The game world belonging to the first level of Tick Tick
What You Have Learned
In this chapter, you have learned:
How to set up the general structure of the Tick Tick game
How to create a bouncing water drop
 
Search WWH ::




Custom Search