SpaceClient/Scenes/Arena.tscn

66 lines
1.8 KiB
Plaintext

[gd_scene load_steps=6 format=2]
[ext_resource path="res://Scripts/Arena.gd" type="Script" id=1]
[ext_resource path="res://Scripts/Camera.gd" type="Script" id=2]
[ext_resource path="res://Models/space_arena.tscn" type="PackedScene" id=3]
[sub_resource type="DynamicFontData" id=1]
font_path = "res://fonts/NotoSansDisplay-Regular.ttf"
[sub_resource type="DynamicFont" id=2]
size = 50
font_data = SubResource( 1 )
[node name="Arena" type="Spatial"]
script = ExtResource( 1 )
[node name="Camera" type="Camera" parent="."]
transform = Transform( 1, 0, 0, 0, 0.942566, 0.334021, 0, -0.334021, 0.942566, 0, 0.462908, 1.26081 )
script = ExtResource( 2 )
[node name="space_arena" parent="." instance=ExtResource( 3 )]
[node name="WinnerPanel" type="Panel" parent="."]
visible = false
anchor_top = 0.43
anchor_right = 1.0
anchor_bottom = 0.57
__meta__ = {
"_edit_use_anchors_": false
}
[node name="WinnerLabel" type="Label" parent="WinnerPanel"]
anchor_right = 1.0
anchor_bottom = 1.0
custom_fonts/font = SubResource( 2 )
custom_colors/font_color = Color( 1, 1, 1, 1 )
text = "Victor: {NAME}"
align = 1
valign = 1
[node name="RematchButton" type="Button" parent="WinnerPanel"]
anchor_bottom = 1.0
margin_left = 10.0
margin_top = 10.0
margin_right = 140.0
margin_bottom = -10.0
text = "Rematch"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ExitButton" type="Button" parent="WinnerPanel"]
anchor_left = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -140.0
margin_top = 10.0
margin_right = -10.0
margin_bottom = -10.0
text = "Exit"
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="pressed" from="WinnerPanel/RematchButton" to="." method="_on_RematchButton_pressed"]
[connection signal="pressed" from="WinnerPanel/ExitButton" to="." method="_on_ExitButton_pressed"]