[gd_scene load_steps=10 format=3 uid="uid://b1ecwl06mird5"] [ext_resource type="Shader" uid="uid://bc6pkfntsjgpa" path="res://scenes/objects/shake.gdshader" id="1_f4wgc"] [ext_resource type="Texture2D" uid="uid://djm430uofdey4" path="res://assets/game/Objects/basic_grass_biom_things.png" id="1_lwbpo"] [ext_resource type="Script" uid="uid://bjyo5al8rswf6" path="res://scenes/objects/trees/tree.gd" id="2_wjqkr"] [ext_resource type="PackedScene" uid="uid://cd3awkrirej8q" path="res://scenes/components/damage_component.tscn" id="3_ivetc"] [ext_resource type="PackedScene" uid="uid://c82ghkmm1uxfp" path="res://scenes/components/hurt_component.tscn" id="4_wjqkr"] [sub_resource type="ShaderMaterial" id="ShaderMaterial_6vpey"] resource_local_to_scene = true shader = ExtResource("1_f4wgc") shader_parameter/shake_intensity = 0.0 shader_parameter/shake_speed = 20.0 [sub_resource type="AtlasTexture" id="AtlasTexture_sx6ol"] atlas = ExtResource("1_lwbpo") region = Rect2(16, 0, 32, 32) [sub_resource type="CircleShape2D" id="CircleShape2D_ivetc"] radius = 4.12311 [sub_resource type="RectangleShape2D" id="RectangleShape2D_f4wgc"] size = Vector2(8, 10) [node name="LargeTree" type="Sprite2D"] material = SubResource("ShaderMaterial_6vpey") position = Vector2(0, -14) texture = SubResource("AtlasTexture_sx6ol") script = ExtResource("2_wjqkr") [node name="StaticBody2D" type="StaticBody2D" parent="."] [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"] position = Vector2(0, 11) shape = SubResource("CircleShape2D_ivetc") [node name="HurtComponent" parent="." instance=ExtResource("4_wjqkr")] tool = 1 [node name="CollisionShape2D" type="CollisionShape2D" parent="HurtComponent"] position = Vector2(0, 10) shape = SubResource("RectangleShape2D_f4wgc") debug_color = Color(0.987551, 0, 0.311789, 0.42) [node name="DamageComponent" parent="." instance=ExtResource("3_ivetc")] max_damage = 6