Skip to content

Commit

Permalink
Started work on end game stats
Browse files Browse the repository at this point in the history
  • Loading branch information
aidan-j-rhoden committed Jan 1, 2023
1 parent cbf2704 commit 00fb262
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion scenes/lobby.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@ size_flags_horizontal = 2
size_flags_vertical = 2

[node name="info_pop" type="AcceptDialog" parent="."]
visible = true
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
Expand Down Expand Up @@ -251,6 +250,13 @@ R: Reload weapon
Right click: Hold/Toggle aim
Left click: Fire"

[node name="game_stats" type="AcceptDialog" parent="."]
margin_left = 587.108
margin_top = 324.858
margin_right = 708.108
margin_bottom = 382.858
window_title = "Game Stats"

[connection signal="pressed" from="connect/v_box_container/h_box_container2/host" to="." method="_on_host_pressed"]
[connection signal="pressed" from="connect/v_box_container/h_box_container4/join" to="." method="_on_join_pressed"]
[connection signal="text_changed" from="settings/v_box_container/round_time" to="." method="_on_round_time_text_changed"]
Expand Down
1 change: 1 addition & 0 deletions scripts/lobby.gd
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ func _on_game_ended():
get_node("connect").show()
get_node("players").hide()
get_node("connect/v_box_container/h_box_container2/host").disabled = false
$game_stats.visible = true


func _on_game_error(errtxt):
Expand Down

0 comments on commit 00fb262

Please sign in to comment.