summaryrefslogtreecommitdiff
path: root/Scenes/Entities/Objects/Tree.tscn
blob: fdffec1d04692f9deb6c4e9e380ea898df7a786c (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
[gd_scene load_steps=6 format=3 uid="uid://c2mescm8l71w6"]

[ext_resource type="Script" path="res://Scenes/Entities/Objects/Tree.gd" id="1_8ww5x"]
[ext_resource type="Texture2D" uid="uid://bxl3lqlm22eem" path="res://Assets/Stages/core_outdoor.png" id="1_td4yb"]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_iw7db"]
size = Vector2(12, 17)

[sub_resource type="SegmentShape2D" id="SegmentShape2D_kp5bv"]
a = Vector2(0, -18)
b = Vector2(0, 1)

[sub_resource type="SegmentShape2D" id="SegmentShape2D_yfa0c"]
a = Vector2(0, -18)
b = Vector2(0, 1)

[node name="Tree" type="StaticBody2D"]
texture_filter = 1
collision_layer = 8
collision_mask = 32
script = ExtResource("1_8ww5x")

[node name="SpriteStanding" type="Node2D" parent="."]

[node name="Sprite2D" type="Sprite2D" parent="SpriteStanding"]
z_index = -1
texture = ExtResource("1_td4yb")
region_enabled = true
region_rect = Rect2(384, 464, 16, 16)

[node name="Sprite2D2" type="Sprite2D" parent="SpriteStanding"]
position = Vector2(0, -16)
texture = ExtResource("1_td4yb")
region_enabled = true
region_rect = Rect2(384, 448, 16, 16)

[node name="SpriteFallen" type="Node2D" parent="."]
visible = false

[node name="Sprite2D" type="Sprite2D" parent="SpriteFallen"]
z_index = -1
position = Vector2(0, -8)
texture = ExtResource("1_td4yb")
region_enabled = true
region_rect = Rect2(384, 448, 16, 32)

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(0, -1.5)
shape = SubResource("RectangleShape2D_iw7db")

[node name="Edges" type="StaticBody2D" parent="."]
process_mode = 4
collision_layer = 8
collision_mask = 0

[node name="CollisionShape2D" type="CollisionShape2D" parent="Edges"]
position = Vector2(10, -3)
shape = SubResource("SegmentShape2D_kp5bv")

[node name="CollisionShape2D2" type="CollisionShape2D" parent="Edges"]
position = Vector2(-10, -3)
shape = SubResource("SegmentShape2D_yfa0c")