Chapter 5. Invaders Revenge – An Interactive Multitouch Game
This chapter introduces a collection of components and strategies to make animated and dynamic applications. Most of them are particularly useful for game development. This chapter is full of examples of how to combine the components and teaches strategies to control many events happening at the same time. The examples are all integrated in a completely new project, a version of the classic Space Invaders game. The following is a list of the main components that we will be working on within this chapter:
Atlas: A Kivy package that allows us to loads images efficiently
Sound: Classes that allows sound management
Animations: Transitions, time control, events, and operations that can be applied to animate widgets.
Clock: A class that allows us to schedule events
Multitouch: A strategy that allows us to control different actions according to touches
Keyboard: The Kivy strategy of capturing keyboard events
The first section presents...