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

Get Kivy – Interactive Applications and Games in Python - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.