PyGame Zero is a widely-used, widely-deployed interactive graphics library. It supports interactive, animated 2D graphics with minimum "boilerplate" (necessary, typically redundant, and sometimes voluminous) code, positioned especially for learning to write games (including migration tutorials from Scratch), but also of more general use.
This code extends PyGame Zero to support multitouch and (hopefully) a growing variety of sensors, embedded displays (e.g., LEDs and epaper), and actuators (e.g., stepper and servo motors) used in a variety of XR ("extended reality") -- e.g., VR, AR, and tangible, embedded, and embodied interaction (TEI) -- interactions. Because multitouch (probably the support of greatest popular interest) is not typically considered as XR, but XR-related interactions are of greatest interest to the developers, we initially select Xi as an appended descriptor, and pgzx as a common prefix.
PyGame Zero
dates to at least July 2015. It also has been installed
by default on
Raspberry Pi since September 2015.
It is built upon
PyGame, among
other libraries.
In the PyGame 2.0 October 2020 release (and likely beginning in
1.9.2), when compiled with SDL2,
the
FINGERDOWN
, FINGERUP
, FINGERMOTION
, and MULTIGESTURE
events introduced
PyGame support for multitouch interaction.
Among other things, this code extends PyGame Zero to integrate
these events.
PyGame Zero's sister Wasabi 2D game engine also integrates multitouch support, along with coroutines, particle and post-processing, and other features.
Some elements within supported by NSF CNS-MRI 1828611.