3 from pgzero.constants import keys
4 from .base import Scene, ChangeSceneEvent
7 class CreditsScene(Scene):
10 def draw(self, screen, viewport):
12 screen.draw.text("Credits", (300, 300))
14 def on_key_down(self, key, mod, unicode):
15 if key == keys.ESCAPE:
16 from .menu import MenuScene
17 return [ChangeSceneEvent(MenuScene())]