From b528a401480a456b4b0b60d7e93ee32e81a6e947 Mon Sep 17 00:00:00 2001 From: Mik Watkins <63586831+Mikerniker@users.noreply.github.com> Date: Thu, 26 Dec 2024 01:01:03 +0800 Subject: [PATCH] add window bind to spacegame --- Day95/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Day95/main.py b/Day95/main.py index bba204e..0a6d3b4 100644 --- a/Day95/main.py +++ b/Day95/main.py @@ -16,6 +16,7 @@ def __init__(self, **kwargs): Clock.schedule_once(self.create_aliens) Clock.schedule_interval(self.update, 1.0 / 60.0) Window.bind(on_key_down=self.on_key_down) + Window.bind(on_key_up=self.on_key_up) def create_aliens(self): self.clear_widgets()