- project.godot with autoload configuration - Reception room with placeholder visuals - Draggable Character with DragDropComponent - Interactive flower object with bounce animation - GameState, SaveManager, AudioManager, InputManager autoloads - HUD with back button and music toggle Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
29 lines
906 B
Plaintext
29 lines
906 B
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://cozypaw_iobj"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/objects/interactive_object.gd" id="1_iobj"]
|
|
[ext_resource type="Script" path="res://scripts/systems/drag_drop_component.gd" id="2_drag"]
|
|
|
|
[node name="InteractiveObject" type="Node2D"]
|
|
script = ExtResource("1_iobj")
|
|
object_id = "flower_01"
|
|
|
|
[node name="Visual" type="Node2D" parent="."]
|
|
|
|
[node name="Stem" type="ColorRect" parent="Visual"]
|
|
color = Color(0.2, 0.7, 0.2, 1)
|
|
size = Vector2(8, 40)
|
|
position = Vector2(-4, -40)
|
|
|
|
[node name="Bloom" type="ColorRect" parent="Visual"]
|
|
color = Color(1.0, 0.4, 0.6, 1)
|
|
size = Vector2(32, 32)
|
|
position = Vector2(-16, -72)
|
|
|
|
[node name="DragDropComponent" type="Node" parent="."]
|
|
script = ExtResource("2_drag")
|
|
|
|
[node name="CollisionArea" type="Area2D" parent="."]
|
|
input_pickable = true
|
|
|
|
[node name="CollisionShape" type="CollisionShape2D" parent="CollisionArea"]
|