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

Summary


This chapter covered the whole construction process of an interactive and animated application. You learned how to integrate various Kivy components and you should now be able to comfortably build a 2D animated game.

Let's review all the new classes and components we used in this chapter:

  • Atlas

  • Image: The source property

  • SoundLoader and Sound: The load and play methods, respectively

  • Window: The height and width properties, and the request_keyboard, remove_widget, and add_widget methods

  • Animation: The properties as parameters; d and t parameters; start, stop, and bind methods; on_start, on_progress, and on_complete events; and '+' and '&' operators

  • Touch: ud attribute

  • Clock: schedule_interval and schedule_once methods

  • Keyboard: bind and unbind methods, on_key_down event

The information contained in this chapter presents tools and strategies you can use to develop highly interactive applications. By combining the previous chapters information with this chapter's insights into the...