[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")