O'Reilly logo

Kivy: Interactive Applications in Python by Roberto Ulloa

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Shooter – multitouch control

Kivy supports multitouch interactions. This feature has been there since the very beginning but we didn't pay attention to it until now. We did use the multitouch Kivy features with Scatter in the previous chapter, however, we didn't clarify that the whole screen and GUI components are already multitouch, and Kivy handles the events accordingly.

Note

Kivy handles multitouch actions internally. This means that all the Kivy widgets and components support multitouch behavior; we don't have to worry about them. Kivy solves all the possible conflicts of ambiguous situations that are common in multitouch control, for example, touch two buttons at the same time.

However, it is up to us to control particular implementations. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required