[gd_scene load_steps=10 format=3 uid="uid://l1macsaei2qb"] [ext_resource type="Texture2D" uid="uid://djm430uofdey4" path="res://assets/game/Objects/basic_grass_biom_things.png" id="1_a8qts"] [ext_resource type="Shader" uid="uid://bc6pkfntsjgpa" path="res://scenes/objects/shake.gdshader" id="1_w057i"] [ext_resource type="Script" uid="uid://bjyo5al8rswf6" path="res://scenes/objects/trees/tree.gd" id="2_g5iuu"] [ext_resource type="PackedScene" uid="uid://c82ghkmm1uxfp" path="res://scenes/components/hurt_component.tscn" id="2_xyb6m"] [ext_resource type="PackedScene" uid="uid://cd3awkrirej8q" path="res://scenes/components/damage_component.tscn" id="3_au4vd"] [sub_resource type="ShaderMaterial" id="ShaderMaterial_skbjc"] resource_local_to_scene = true shader = ExtResource("1_w057i") shader_parameter/shake_intensity = 0.0 shader_parameter/shake_speed = 20.0 [sub_resource type="AtlasTexture" id="AtlasTexture_xyb6m"] atlas = ExtResource("1_a8qts") region = Rect2(0, 0, 16, 32) [sub_resource type="CircleShape2D" id="CircleShape2D_au4vd"] radius = 4.0 [sub_resource type="RectangleShape2D" id="RectangleShape2D_au4vd"] size = Vector2(8, 9) [node name="SmallTree" type="Sprite2D"] material = SubResource("ShaderMaterial_skbjc") position = Vector2(0, -10) texture = SubResource("AtlasTexture_xyb6m") script = ExtResource("2_g5iuu") [node name="StaticBody2D" type="StaticBody2D" parent="."] [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"] position = Vector2(0, 8) shape = SubResource("CircleShape2D_au4vd") [node name="HurtComponent" parent="." instance=ExtResource("2_xyb6m")] tool = 1 [node name="HurtComponentCollisionShape2D" type="CollisionShape2D" parent="HurtComponent"] position = Vector2(0, 7.5) shape = SubResource("RectangleShape2D_au4vd") debug_color = Color(0.86184, 0.231398, 0.689692, 0.42) [node name="DamageComponent" parent="." instance=ExtResource("3_au4vd")] max_damage = 3