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
: Thesource
propertySoundLoader
andSound
: Theload
andplay
methods, respectivelyWindow
: Theheight
andwidth
properties, and therequest_keyboard
,remove_widget
, andadd_widget
methodsAnimation
: The properties as parameters;d
andt
parameters;start
,stop
, andbind
methods;on_start
,on_progress
, andon_complete
events; and'+'
and'&'
operatorsTouch
:ud
attributeClock
:schedule_interval
andschedule_once
methodsKeyboard
:bind
andunbind
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.