[gd_scene load_steps=8 format=2] [ext_resource path="res://assets/squirrel_model.tscn" type="PackedScene" id=1] [ext_resource path="res://assets/creature_animation.tscn" type="PackedScene" id=2] [ext_resource path="res://animated_creature.gd" type="Script" id=3] [ext_resource path="res://CursorInteractArea.tscn" type="PackedScene" id=4] [ext_resource path="res://assets/audio/squirrel.ogg" type="AudioStream" id=5] [ext_resource path="res://Sound.gd" type="Script" id=6] [sub_resource type="BoxShape" id=1] [node name="AnimatedSquirrel" type="Spatial"] script = ExtResource( 3 ) [node name="creature" parent="." instance=ExtResource( 2 )] [node name="squirrel_model" parent="creature/animated" index="0" instance=ExtResource( 1 )] transform = Transform( 0.492546, 0, 0.0860131, 0, 0.5, 0, -0.0860131, 0, 0.492546, -0.242217, -0.0997212, -1.38703 ) [node name="StaticBody" type="StaticBody" parent="."] [node name="CollisionShape" type="CollisionShape" parent="StaticBody"] transform = Transform( 2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 1.39319, 0.163039 ) shape = SubResource( 1 ) [node name="GoalInteractArea" parent="." instance=ExtResource( 4 )] transform = Transform( 4, 0, 0, 0, 3.046, 0, 0, 0, 4, 0, 1.29309, 0 ) on_interact_func = "_on_Cursor_goal" call_array = [ "squirrel" ] [node name="Sound" type="AudioStreamPlayer" parent="."] stream = ExtResource( 5 ) script = ExtResource( 6 ) [connection signal="interact" from="GoalInteractArea" to="Sound" method="play_sound"] [editable path="creature"]