delurbelako/scenes/2d_world.tscn
2025-10-16 22:05:24 +05:00

81 lines
2.3 KiB
Text

[gd_scene load_steps=8 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://bnjwg4rlcfd8k" path="res://scripts/gui/construction_buttons_generator.gd" id="3_i7yte"]
[ext_resource type="Script" uid="uid://b4nkk0ndqcto" path="res://scripts/placement_manager.gd" id="4_i7yte"]
[ext_resource type="PackedScene" uid="uid://bac552xgua68e" path="res://scenes/other_platform.tscn" id="5_mnxrb"]
[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="HBoxContainer" type="HBoxContainer" parent="GUI/Panel"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("3_i7yte")
[node name="Placer" type="Node2D" parent="."]
script = ExtResource("4_i7yte")
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
&"": SubResource("AnimationLibrary_mogn5")
}
autoplay = "main"