delurbelako/scenes/2d_world.tscn
2025-10-11 12:58:36 +05:00

110 lines
3.2 KiB
Text

[gd_scene load_steps=10 format=3 uid="uid://u7thalwj5742"]
[ext_resource type="PackedScene" uid="uid://b7du4vul4bmpq" path="res://scenes/player_platform.tscn" id="1_4ia00"]
[ext_resource type="Script" uid="uid://db37xmo8ygwhg" path="res://scripts/gui/construction_button.gd" id="2_27lod"]
[ext_resource type="Resource" uid="uid://dj524jjal1f0n" path="res://generic/constructibles/conveyor.tres" id="3_2crwe"]
[ext_resource type="Script" uid="uid://b4nkk0ndqcto" path="res://scripts/construction_placer.gd" id="4_i7yte"]
[ext_resource type="PackedScene" uid="uid://bac552xgua68e" path="res://scenes/other_platform.tscn" id="5_mnxrb"]
[ext_resource type="Resource" uid="uid://yn1iesx30nfu" path="res://generic/constructibles/dbg_assembler.tres" id="5_ymyc2"]
[sub_resource type="Animation" id="Animation_bq5r8"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("OtherPlatform:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(309, 15)]
}
[sub_resource type="Animation" id="Animation_ymyc2"]
resource_name = "main"
length = 10.0
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("OtherPlatform:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 5),
"transitions": PackedFloat32Array(-2, -2),
"update": 0,
"values": [Vector2(309, 15), Vector2(309, 131)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_mogn5"]
_data = {
&"RESET": SubResource("Animation_bq5r8"),
&"main": SubResource("Animation_ymyc2")
}
[node name="2D World" type="Node2D"]
[node name="PlayerPlatform" parent="." instance=ExtResource("1_4ia00")]
position = Vector2(17, 17)
[node name="OtherPlatform" parent="." instance=ExtResource("5_mnxrb")]
position = Vector2(309, 15)
[node name="GUI" type="CanvasLayer" parent="."]
[node name="Panel" type="Panel" parent="GUI"]
anchors_preset = -1
anchor_top = 0.757
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -0.01600647
grow_horizontal = 2
grow_vertical = 0
[node name="ConveyorButton" type="Button" parent="GUI/Panel"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.008
anchor_top = 0.086
anchor_right = 0.1
anchor_bottom = 0.88600004
offset_left = -0.096000195
offset_top = -0.01999998
offset_right = -0.20000076
offset_bottom = -0.020004272
size_flags_horizontal = 3
theme_type_variation = &"CRT"
icon_alignment = 1
expand_icon = true
script = ExtResource("2_27lod")
constructible = ExtResource("3_2crwe")
[node name="AssemblerButton" type="Button" parent="GUI/Panel"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.008
anchor_top = 0.086
anchor_right = 0.1
anchor_bottom = 0.88600004
offset_left = 50.904
offset_top = -0.01999998
offset_right = 50.8
offset_bottom = -0.020004272
size_flags_horizontal = 3
theme_type_variation = &"CRT"
icon_alignment = 1
expand_icon = true
script = ExtResource("2_27lod")
constructible = ExtResource("5_ymyc2")
[node name="Placer" type="Node2D" parent="."]
script = ExtResource("4_i7yte")
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
&"": SubResource("AnimationLibrary_mogn5")
}
autoplay = "main"