--- a/space_rescue.py +++ b/space_rescue.py @@ -20,7 +20,7 @@ class OneKeyGame: def __init__(self): # Pyxelを初期化する - pyxel.init(160, 120, title=GAME_TITLE) + pyxel.init(160, 120, title=GAME_TITLE, quit_key=pyxel.KEY_NONE) # リソースファイルを読み込む pyxel.load("space_rescue.pyxres")