steamforged-skies/assets/scenes/main.tscn

52 lines
1.5 KiB
Plaintext
Raw Normal View History

2024-12-09 23:41:07 +00:00
[gd_scene load_steps=3 format=3 uid="uid://huq7dxk5yvjk"]
[ext_resource type="Script" path="res://assets/core/networking/NetworkManager.gd" id="1_dcack"]
2024-12-09 23:41:07 +00:00
[ext_resource type="Texture2D" uid="uid://c1y4hdhjwuu53" path="res://assets/icon.png" id="2_wjvcl"]
[node name="Main" type="Node"]
2024-12-09 23:41:07 +00:00
[node name="NetworkManager" type="Node" parent="." node_paths=PackedStringArray("ui_avatar", "ui_username")]
script = ExtResource("1_dcack")
2024-12-09 23:41:07 +00:00
ui_avatar = NodePath("../Canvas/SteamUI/VBoxContainer/Avatar")
ui_username = NodePath("../Canvas/SteamUI/VBoxContainer/Username")
[node name="Canvas" type="CanvasLayer" parent="."]
[node name="SteamUI" type="Control" parent="Canvas"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="VBoxContainer" type="VBoxContainer" parent="Canvas/SteamUI"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -64.0
offset_top = -77.5
offset_right = 64.0
offset_bottom = 77.5
grow_horizontal = 2
grow_vertical = 2
[node name="Avatar" type="TextureRect" parent="Canvas/SteamUI/VBoxContainer"]
custom_minimum_size = Vector2(128, 128)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 2
texture = ExtResource("2_wjvcl")
expand_mode = 1
[node name="Username" type="Label" parent="Canvas/SteamUI/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 0
text = "User: "