nettoyage de print de debug oublié

This commit is contained in:
osquallo 2018-08-09 16:14:11 +02:00
parent 8235794145
commit e224dc01c4
2 changed files with 1 additions and 13 deletions

View file

@ -40,8 +40,6 @@ func change_title():
########
#### scene loading
func goto_scene_loading( path ):
print( "goto: "+str(path) )
get_node("background_loader").show()
loader = ResourceLoader.load_interactive( path )
if loader == null: # check for errors
@ -57,7 +55,6 @@ func goto_scene_loading( path ):
wait_frames = 1
func _process( time ):
print( "process" )
if loader == null:
# no need to process anymore
set_process(false)
@ -68,10 +65,7 @@ func _process( time ):
return
var t = OS.get_ticks_msec()
while OS.get_ticks_msec() < t + time_max: # use "time_max" to control how much time we block this thread
print( "poll: "+str((float(loader.get_stage()) / loader.get_stage_count())*100)+"%" )
while OS.get_ticks_msec() < t + time_max: # use "time_max" to control how much time we block this thread
# poll your loader
var err = loader.poll()
# update_progress()

View file

@ -17,7 +17,6 @@ func update_character_slots():
print("Error code when loading player config file: ", err)
var useds_slot = []
var last_slot = 0
for section in config_file.get_sections():
useds_slot.append( int(section) )
@ -57,12 +56,8 @@ func update_character_slots():
delete_button.connect( "mouse_entered", self, "_on_name_mouse_entered_pressed", [int(section)] )
print( str(useds_slot) )
if has_node( "h_box_container/character_slots/creation_button" ):
# self.remove_child( $h_box_container/character_slots/creation_button )
$h_box_container/character_slots/creation_button.free()
# if not has_node( "h_box_container/character_slots/creation_button" ):
var index = 0
while index in useds_slot:
@ -112,7 +107,6 @@ func _on_delete_pressed( slot, node_to_delete ):
func _on_name_mouse_entered_pressed( slot ):
print("azertyuiop")
preview_slot = slot
update_preview()