whittler/scenes/wood_pile.tscn
Dan Baker 0fe23420ab All
2025-12-02 07:45:23 +00:00

44 lines
1.8 KiB
Text

[gd_scene load_steps=9 format=3 uid="uid://bubjxrs8qmr4y"]
[ext_resource type="Script" uid="uid://dw8q7mx6co84v" path="res://scenes/scripts/wood_pile_interaction.gd" id="1_akglv"]
[ext_resource type="Shader" uid="uid://dadchcj2lrp2l" path="res://shaders/glow.gdshader" id="1_djslm"]
[ext_resource type="Texture2D" uid="uid://cu6cgp6q0hl2o" path="res://assets/tiles/Decor.png" id="2_akglv"]
[ext_resource type="Script" uid="uid://nntb8jg35j6j" path="res://scenes/scripts/wood_pile.gd" id="3_ayqi8"]
[ext_resource type="Texture2D" uid="uid://w4ohc0xysdl7" path="res://assets/ui/arrowBlue_right.png" id="4_ynj3s"]
[ext_resource type="Script" uid="uid://i6lg61o0jnkp" path="res://scenes/scripts/arrow.gd" id="5_87nld"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_q7h7c"]
shader = ExtResource("1_djslm")
shader_parameter/outline_color = Color(0.94509804, 0.92156863, 0.42352942, 1)
shader_parameter/outline_width = 1.0
shader_parameter/outline_alpha = 1.0
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_akglv"]
radius = 31.0
height = 72.0
[node name="WoodPile" type="Node2D"]
script = ExtResource("1_akglv")
[node name="WoodSprite" type="Sprite2D" parent="."]
material = SubResource("ShaderMaterial_q7h7c")
texture = ExtResource("2_akglv")
region_enabled = true
region_rect = Rect2(200.15366, 74.126976, 48.803345, 22.335625)
script = ExtResource("3_ayqi8")
fade_duration = 1.0
[node name="Arrow" type="Sprite2D" parent="."]
position = Vector2(-1, -32)
rotation = 1.5707964
scale = Vector2(0.6, 0.6)
texture = ExtResource("4_ynj3s")
script = ExtResource("5_87nld")
bounce_height = 6.0
bounce_duration = 3.0
[node name="ClickArea" type="Area2D" parent="."]
[node name="ClickShape" type="CollisionShape2D" parent="ClickArea"]
position = Vector2(1, -10)
shape = SubResource("CapsuleShape2D_akglv")