Tutoriel 3 : carte.exit() ajouté

This commit is contained in:
Philippe Roy 2023-05-10 15:15:03 +02:00
parent 0daabb6766
commit 62bd592acd
3 changed files with 3 additions and 4 deletions

View File

@ -106,7 +106,6 @@ def clavier(cont):
# obj = scene.objects['Plateau'] # obj = scene.objects['Plateau']
keyboard = bge.logic.keyboard keyboard = bge.logic.keyboard
resolution = 0.01 resolution = 0.01
global carte
# Touche ESC -> Quitter # Touche ESC -> Quitter
if keyboard.inputs[bge.events.ESCKEY].status[0] == ACTIVATE: if keyboard.inputs[bge.events.ESCKEY].status[0] == ACTIVATE: