all clients now receive current round
This commit is contained in:
@@ -143,7 +143,7 @@ size_flags_horizontal = 3
|
||||
layout_mode = 2
|
||||
text = "Send"
|
||||
|
||||
[node name="GameUI" type="Control" parent="HBoxContainer" node_paths=PackedStringArray("web_client", "start_game_button", "play_card_button", "bet_container", "bet_input")]
|
||||
[node name="GameUI" type="Control" parent="HBoxContainer" node_paths=PackedStringArray("web_client", "start_game_button", "play_card_button", "bet_container", "bet_input", "round_label")]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
mouse_filter = 2
|
||||
@@ -153,6 +153,7 @@ start_game_button = NodePath("StartGameButton")
|
||||
play_card_button = NodePath("PlayCardButton")
|
||||
bet_container = NodePath("BetContainer")
|
||||
bet_input = NodePath("BetContainer/BetInput")
|
||||
round_label = NodePath("RoundLabel")
|
||||
|
||||
[node name="StartGameButton" type="Button" parent="HBoxContainer/GameUI"]
|
||||
visible = false
|
||||
@@ -186,6 +187,7 @@ disabled = true
|
||||
text = "Play Card"
|
||||
|
||||
[node name="BetContainer" type="VBoxContainer" parent="HBoxContainer/GameUI"]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 2
|
||||
anchor_top = 1.0
|
||||
@@ -247,6 +249,17 @@ offset_bottom = 373.0
|
||||
grow_horizontal = 2
|
||||
text = "YOU WON!!!!!!"
|
||||
|
||||
[node name="RoundLabel" type="Label" parent="HBoxContainer/GameUI"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 1
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
offset_left = -100.0
|
||||
offset_top = 60.0
|
||||
offset_right = -60.0
|
||||
offset_bottom = 83.0
|
||||
grow_horizontal = 0
|
||||
|
||||
[node name="EnvironmentManager" type="Node3D" parent="." node_paths=PackedStringArray("web_client", "card_stack", "own_player_hand", "hand_markers_3", "hand_markers_4", "hand_markers_5", "hand_markers_6")]
|
||||
script = ExtResource("4_7jktm")
|
||||
web_client = NodePath("../WebClientTCP")
|
||||
@@ -292,7 +305,7 @@ transform = Transform3D(-0.5, 0.836516, 0.224144, 0, 0.258819, -0.965925, -0.866
|
||||
transform = Transform3D(0.7, 0, 0, 0, 0.7, 0, 0, 0, 0.7, 0, 0, 0.704226)
|
||||
|
||||
[node name="CardStack" type="Marker3D" parent="EnvironmentManager"]
|
||||
transform = Transform3D(0.957037, -0.289967, -1.26749e-08, 1.48302e-15, -4.37114e-08, 1, -0.289967, -0.957036, -4.18334e-08, -0.0775449, 0.372575, 0.973012)
|
||||
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -0.999999, -4.37114e-08, -0.0775449, 0.372575, 0.973012)
|
||||
script = ExtResource("8_j5wjh")
|
||||
playing_card_scene = ExtResource("6_eow3j")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user