From a61c8f5dafdd531a9734c35ba83ca12e95a370c3 Mon Sep 17 00:00:00 2001 From: Luna Date: Sun, 18 Feb 2018 13:47:12 -0500 Subject: [PATCH] Remove debug prints --- plans.md | 3 ++- scripts/ai.gd | 2 -- scripts/heroes/2.gd | 1 - scripts/lobby.gd | 4 +--- scripts/tp_camera.gd | 2 +- 5 files changed, 4 insertions(+), 8 deletions(-) diff --git a/plans.md b/plans.md index 429445f..f680276 100644 --- a/plans.md +++ b/plans.md @@ -7,11 +7,12 @@ Big TODOs: - Start making maps and figuring out what works / what you like - Make a real user interface - Voice chat -- ARTTTTT Smaller TODOs: - Allow non-playing server to keep running and connecting people +- Art? + - Particles - wall destruction, wallriding Bugs: diff --git a/scripts/ai.gd b/scripts/ai.gd index f8ab4d7..ad6ae10 100644 --- a/scripts/ai.gd +++ b/scripts/ai.gd @@ -6,7 +6,6 @@ var set_spawn = true func _ready(): if is_network_master(): - print("readdyyyyy") read_recording() set_spawn = true time = 0 @@ -17,7 +16,6 @@ func _physics_process(delta): if set_spawn: get_node("..").set_translation(str2var(recording.spawn)) get_node("..").switch_charge = str2var(recording.switch_charge) - print(get_node("..").get_translation()) set_spawn = false play_keys() # It's actually better to do this 2nd diff --git a/scripts/heroes/2.gd b/scripts/heroes/2.gd index 60a35ed..7f84167 100644 --- a/scripts/heroes/2.gd +++ b/scripts/heroes/2.gd @@ -14,7 +14,6 @@ func _process(delta): else: get_node("MasterOnly/Crosshair").set_text("\\/") - print(get_node("Area").get_overlapping_bodies()) var overlapping = get_node("Area").get_overlapping_bodies().size() switch_charge += delta * overlap_charge * overlapping diff --git a/scripts/lobby.gd b/scripts/lobby.gd index 869bfdd..860fbd8 100644 --- a/scripts/lobby.gd +++ b/scripts/lobby.gd @@ -45,7 +45,6 @@ func _ready(): SERVER_PLAYING = false # TODO: Uncaps :( if o.get_value("-hero"): option_sel("HeroSelect", o.get_value("-hero")) - print(get_node("HeroSelect").get_selected_id()) if o.get_value("-level"): option_sel("ServerStart/LevelSelect", o.get_value("-level")) if o.get_value("-server"): @@ -105,7 +104,7 @@ func _server_init(): player_info[1] = my_info func _player_connected(id): - print("Connect, my friend: " + str(id)) + pass func _player_disconnected(id): if get_tree().is_network_server(): @@ -138,7 +137,6 @@ remote func register_player(new_peer, info): if old_peer != new_peer: # We need to assign team later, so count current if player_info[old_peer].is_right_team: - print(right_team_count) right_team_count += 1 # You'd think this part could be met with a simple `rpc(`, but actually it can't # My best guess is this is because we haven't registered the names yet, but I'm not sure (TODO) diff --git a/scripts/tp_camera.gd b/scripts/tp_camera.gd index d64cc0e..05e52a9 100644 --- a/scripts/tp_camera.gd +++ b/scripts/tp_camera.gd @@ -115,4 +115,4 @@ func _physics_process(delta): var ds = get_world().get_direct_space_state(); if ds != null: cam_ray_result = ds.intersect_ray(pivot.get_global_transform().origin, cam_pos, collision_exception); - #print(cam_ray_result) +