Traveller/scenes/game.tscn

120 lines
3.4 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=7 format=3 uid="uid://bnftvkj2cido7"]
2024-04-28 13:55:19 +00:00
[ext_resource type="Script" path="res://scripts/loader/sceneLoader/GameSceneLoader.cs" id="1_mqdgt"]
[ext_resource type="Texture2D" uid="uid://cs6e0af876ss5" path="res://sprites/ui/HeartEmpty.png" id="2_n1yht"]
[ext_resource type="Script" path="res://scripts/inventory/HotBar.cs" id="2_owrhq"]
[ext_resource type="Script" path="res://scripts/HealthBarUi.cs" id="2_xrm3v"]
[ext_resource type="Script" path="res://scripts/FpsLabel.cs" id="5_dis4v"]
[ext_resource type="PackedScene" uid="uid://bb188382q7btp" path="res://scenes/gameOverMenu.tscn" id="6_yjmrv"]
2024-04-28 13:55:19 +00:00
[node name="Game" type="Node2D"]
script = ExtResource("1_mqdgt")
[node name="MapRoot" type="Node2D" parent="."]
[node name="CanvasLayer" type="CanvasLayer" parent="."]
[node name="Control" type="Control" parent="CanvasLayer"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
2024-04-28 13:55:19 +00:00
[node name="VBoxContainer" type="VBoxContainer" parent="CanvasLayer/Control"]
layout_mode = 1
anchors_preset = 12
2024-04-28 13:55:19 +00:00
anchor_top = 1.0
anchor_right = 1.0
2024-04-28 13:55:19 +00:00
anchor_bottom = 1.0
offset_left = 20.0
offset_top = -85.0
offset_right = -20.0
offset_bottom = -20.0
grow_horizontal = 2
2024-04-28 13:55:19 +00:00
grow_vertical = 0
mouse_filter = 2
2024-04-28 13:55:19 +00:00
[node name="HealthBarUi" type="HBoxContainer" parent="CanvasLayer/Control/VBoxContainer"]
layout_mode = 2
mouse_filter = 2
2024-04-28 13:55:19 +00:00
script = ExtResource("2_xrm3v")
[node name="TextureRect3" type="TextureRect" parent="CanvasLayer/Control/VBoxContainer/HealthBarUi"]
layout_mode = 2
mouse_filter = 2
2024-04-28 13:55:19 +00:00
texture = ExtResource("2_n1yht")
[node name="HotBar" type="HBoxContainer" parent="CanvasLayer/Control/VBoxContainer"]
layout_mode = 2
mouse_filter = 2
2024-04-28 13:55:19 +00:00
script = ExtResource("2_owrhq")
[node name="TextureRect3" type="TextureRect" parent="CanvasLayer/Control/VBoxContainer/HotBar"]
layout_mode = 2
mouse_filter = 2
2024-04-28 13:55:19 +00:00
texture = ExtResource("2_n1yht")
[node name="OperationTip" type="RichTextLabel" parent="CanvasLayer/Control/VBoxContainer"]
2024-04-28 13:55:19 +00:00
layout_mode = 2
mouse_filter = 2
bbcode_enabled = true
fit_content = true
2024-04-28 13:55:19 +00:00
[node name="FPSLabel" type="Label" parent="CanvasLayer/Control"]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -40.0
offset_bottom = 25.0
grow_horizontal = 0
horizontal_alignment = 2
script = ExtResource("5_dis4v")
[node name="RecreateMapButton" type="Button" parent="CanvasLayer/Control"]
layout_mode = 0
offset_right = 8.0
offset_bottom = 8.0
text = "ui_re_create_map"
[node name="SeedLabel" type="Label" parent="CanvasLayer/Control"]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -20.0
offset_right = 20.0
offset_bottom = 25.0
grow_horizontal = 2
[node name="BackpackUIContainer" type="Control" parent="CanvasLayer"]
visible = false
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
[node name="GameOverMenu" parent="CanvasLayer" instance=ExtResource("6_yjmrv")]
visible = false
2024-04-28 13:55:19 +00:00
[node name="ProjectileContainer" type="Node2D" parent="."]
[node name="DamageNumberContainer" type="Node2D" parent="."]
[node name="WeaponContainer" type="Node2D" parent="."]
[node name="PlayerContainer" type="Node2D" parent="."]
[node name="AICharacterContainer" type="Node2D" parent="."]
[node name="PacksackContainer" type="Node2D" parent="."]
[node name="CanvasModulate" type="CanvasModulate" parent="."]
color = Color(0, 0, 0, 1)