Book Image

Kivy - Interactive Applications and Games in Python

By : Roberto Ulloa
Book Image

Kivy - Interactive Applications and Games in Python

By: Roberto Ulloa

Overview of this book

Table of Contents (13 chapters)
Kivy – Interactive Applications and Games in Python Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 5. Invaders Revenge – an Interactive Multi-touch 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 different Kivy elements and teaches strategies to control multiple events happening at the same time. The examples are all integrated in a completely new project, a version of the classic Space Invaders game (Copyright ©1978 Taito Corporation, http://en.wikipedia.org/wiki/Space_Invaders). The following is a list of the main components that we will work on in this chapter:

  • Atlas: A Kivy package that allows us to load images efficiently

  • Sound: Classes that allow 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

  • Multi-touch: A strategy that allows us to control different actions according to touches

  • ...