summaryrefslogtreecommitdiff
path: root/Scenes/Entities/Objects/Vines.tscn
blob: 1fecc495efd2a75d101ecd9e62078d790247049b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
[gd_scene load_steps=9 format=3 uid="uid://ceoy1eb10tq0a"]

[ext_resource type="Script" path="res://Scenes/Entities/Objects/Vines.gd" id="1_ymtv0"]
[ext_resource type="Texture2D" uid="uid://bxl3lqlm22eem" path="res://Assets/Stages/core_outdoor.png" id="2_8tl8f"]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_5f74o"]
resource_local_to_scene = true
size = Vector2(14, 14)

[sub_resource type="AtlasTexture" id="AtlasTexture_skslo"]
atlas = ExtResource("2_8tl8f")
region = Rect2(384, 528, 16, 16)

[sub_resource type="AtlasTexture" id="AtlasTexture_u5r5b"]
atlas = ExtResource("2_8tl8f")
region = Rect2(384, 528, 32, 16)

[sub_resource type="AtlasTexture" id="AtlasTexture_5h70f"]
atlas = ExtResource("2_8tl8f")
region = Rect2(384, 528, 48, 16)

[sub_resource type="AtlasTexture" id="AtlasTexture_osbyn"]
atlas = ExtResource("2_8tl8f")
region = Rect2(384, 528, 64, 16)

[sub_resource type="SpriteFrames" id="SpriteFrames_xn7q5"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_skslo")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_u5r5b")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_5h70f")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_osbyn")
}],
"loop": false,
"name": &"default",
"speed": 8.0
}]

[node name="Vines" type="StaticBody2D"]
z_index = -1
collision_layer = 72
collision_mask = 0
script = ExtResource("1_ymtv0")

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_5f74o")

[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
texture_filter = 1
position = Vector2(-8, -8)
sprite_frames = SubResource("SpriteFrames_xn7q5")
centered = false

[node name="Timer" type="Timer" parent="."]
wait_time = 5.0
one_shot = true