mirror of
https://forge.apps.education.fr/phroy/codetower.git
synced 2024-01-27 11:35:17 +01:00
Remove debug prints
This commit is contained in:
parent
af31fd44e0
commit
7c24adde46
10
ct.py
10
ct.py
@ -498,7 +498,6 @@ def endbanner_hl(cont):
|
||||
|
||||
# Fermer la page de fin
|
||||
def endbanner_close():
|
||||
print("endbanner_close")
|
||||
sound_play (sndbuff_click)
|
||||
scene.objects['Terrain']['manip_mode']=0
|
||||
scene.objects['End'].setVisible(False,True)
|
||||
@ -729,23 +728,16 @@ def mode(cont):
|
||||
|
||||
# Touche ESC
|
||||
if JUST_ACTIVATED in keyboard.inputs[bge.events.ESCKEY].queue:
|
||||
print("ESC")
|
||||
print(scene.objects['Terrain']['manip_mode'])
|
||||
# Fenêtres modales
|
||||
if scene.objects['Terrain']['manip_mode']==9:
|
||||
print("['manip_mode']==9")
|
||||
if scene.objects['Book'].visible:
|
||||
print("Book")
|
||||
doc_close()
|
||||
if scene.objects['About'].visible:
|
||||
print("About")
|
||||
about_close()
|
||||
if scene.objects['End'].visible:
|
||||
print("End")
|
||||
endbanner_close()
|
||||
return
|
||||
else: # Sortir du jeux
|
||||
print("endgame")
|
||||
terrain_stop ()
|
||||
bge.logic.endGame()
|
||||
|
||||
@ -1063,7 +1055,6 @@ def doc (cont):
|
||||
|
||||
# Fermer le livre
|
||||
def doc_close ():
|
||||
print("doc_close")
|
||||
sound_play (sndbuff_book_close)
|
||||
scene.objects['Terrain']['manip_mode']=0 # Fenêtre modale
|
||||
scene.objects['Book_page_screen'].setVisible(False,True)
|
||||
@ -1171,7 +1162,6 @@ def about_hl(cont):
|
||||
|
||||
# Fermer le about
|
||||
def about_close():
|
||||
print("about_close")
|
||||
sound_play (sndbuff_click)
|
||||
scene.objects['Terrain']['manip_mode']=0
|
||||
scene.objects['About'].setVisible(False,True)
|
||||
|
Loading…
Reference in New Issue
Block a user