And once again

This commit is contained in:
2025-02-18 13:30:48 +01:00
parent 37154955d6
commit 16b06ba642
77 changed files with 581 additions and 199 deletions

View File

@ -0,0 +1,11 @@
extends Control
func _on_blue_pressed() -> void:
helpers.get_server_node().set_player_side.rpc_id(1, PlayerData.blue)
visible = false
func _on_red_pressed() -> void:
helpers.get_server_node().set_player_side.rpc_id(1, PlayerData.red)
visible = false

View File

@ -0,0 +1,41 @@
[gd_scene load_steps=2 format=3 uid="uid://guhvtj7wqb2y"]
[ext_resource type="Script" path="res://scenes/maps/base/entry_screen/entry_screen.gd" id="1_akbgo"]
[node name="EntryScreen" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_akbgo")
[node name="Blue" type="Button" parent="."]
layout_mode = 1
anchors_preset = 6
anchor_left = 1.0
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
offset_left = -8.0
offset_top = -4.0
offset_bottom = 4.0
grow_horizontal = 0
grow_vertical = 2
text = "Blue"
[node name="Red" type="Button" parent="."]
layout_mode = 1
anchors_preset = 4
anchor_top = 0.5
anchor_bottom = 0.5
offset_top = -4.0
offset_right = 8.0
offset_bottom = 4.0
grow_vertical = 2
text = "Red
"
[connection signal="pressed" from="Blue" to="." method="_on_blue_pressed"]
[connection signal="pressed" from="Red" to="." method="_on_red_pressed"]