[gd_scene load_steps=34 format=2] [ext_resource path="res://assets/effects/dithering/CanvasLayer.tscn" type="PackedScene" id=1] [ext_resource path="res://assets/room/environment.tscn" type="PackedScene" id=2] [ext_resource path="res://3DCursor.tscn" type="PackedScene" id=3] [ext_resource path="res://assets/room/camera_positions.tscn" type="PackedScene" id=4] [ext_resource path="res://AnimationTree.gd" type="Script" id=5] [ext_resource path="res://CursorInteractArea.tscn" type="PackedScene" id=6] [ext_resource path="res://assets/audio/AmbientSound.tscn" type="PackedScene" id=7] [ext_resource path="res://AtticAmberLight.gd" type="Script" id=8] [sub_resource type="Environment" id=1] background_mode = 1 [sub_resource type="AnimationNodeAnimation" id=9] animation = "camera_attic_inner" [sub_resource type="AnimationNodeAnimation" id=4] animation = "camera_bookcase" [sub_resource type="AnimationNodeAnimation" id=23] animation = "camera_bookshelf_secret" [sub_resource type="AnimationNodeAnimation" id=10] animation = "camera_outer_attic" [sub_resource type="AnimationNodeAnimation" id=8] animation = "camera_pos_corner" [sub_resource type="AnimationNodeStateMachineTransition" id=11] xfade_time = 3.0 [sub_resource type="AnimationNodeStateMachineTransition" id=12] xfade_time = 3.0 [sub_resource type="AnimationNodeStateMachineTransition" id=13] xfade_time = 3.0 [sub_resource type="AnimationNodeStateMachineTransition" id=14] xfade_time = 3.0 [sub_resource type="AnimationNodeStateMachineTransition" id=15] xfade_time = 3.0 [sub_resource type="AnimationNodeStateMachineTransition" id=16] xfade_time = 3.0 [sub_resource type="AnimationNodeStateMachineTransition" id=17] xfade_time = 3.0 [sub_resource type="AnimationNodeStateMachineTransition" id=18] xfade_time = 3.0 [sub_resource type="AnimationNodeStateMachineTransition" id=19] xfade_time = 3.0 [sub_resource type="AnimationNodeStateMachineTransition" id=20] xfade_time = 3.0 [sub_resource type="AnimationNodeStateMachineTransition" id=21] xfade_time = 3.0 [sub_resource type="AnimationNodeStateMachineTransition" id=22] xfade_time = 3.0 [sub_resource type="AnimationNodeStateMachineTransition" id=24] xfade_time = 3.0 [sub_resource type="AnimationNodeStateMachineTransition" id=25] xfade_time = 3.0 [sub_resource type="AnimationNodeStateMachineTransition" id=26] xfade_time = 3.0 [sub_resource type="AnimationNodeStateMachineTransition" id=27] xfade_time = 3.0 [sub_resource type="AnimationNodeStateMachine" id=2] states/camera_attic_inner/node = SubResource( 9 ) states/camera_attic_inner/position = Vector2( 788, 309 ) states/camera_bookcase/node = SubResource( 4 ) states/camera_bookcase/position = Vector2( 706, 78 ) states/camera_bookshelf_secret/node = SubResource( 23 ) states/camera_bookshelf_secret/position = Vector2( 246, 6 ) states/camera_outer_attic/node = SubResource( 10 ) states/camera_outer_attic/position = Vector2( 417, 324 ) states/camera_pos_corner/node = SubResource( 8 ) states/camera_pos_corner/position = Vector2( 230, 169 ) transitions = [ "camera_pos_corner", "camera_bookcase", SubResource( 11 ), "camera_outer_attic", "camera_pos_corner", SubResource( 12 ), "camera_outer_attic", "camera_bookcase", SubResource( 13 ), "camera_outer_attic", "camera_attic_inner", SubResource( 14 ), "camera_pos_corner", "camera_outer_attic", SubResource( 15 ), "camera_pos_corner", "camera_attic_inner", SubResource( 16 ), "camera_bookcase", "camera_pos_corner", SubResource( 17 ), "camera_bookcase", "camera_attic_inner", SubResource( 18 ), "camera_bookcase", "camera_outer_attic", SubResource( 19 ), "camera_attic_inner", "camera_bookcase", SubResource( 20 ), "camera_attic_inner", "camera_outer_attic", SubResource( 21 ), "camera_attic_inner", "camera_pos_corner", SubResource( 22 ), "camera_pos_corner", "camera_bookshelf_secret", SubResource( 24 ), "camera_bookshelf_secret", "camera_pos_corner", SubResource( 25 ), "camera_bookshelf_secret", "camera_bookcase", SubResource( 26 ), "camera_bookcase", "camera_bookshelf_secret", SubResource( 27 ) ] start_node = "camera_pos_corner" graph_offset = Vector2( -64, 18 ) [sub_resource type="AnimationNodeStateMachinePlayback" id=3] [sub_resource type="Animation" id=28] resource_name = "light_flicker" length = 1.263 loop = true tracks/0/type = "value" tracks/0/path = NodePath(".:visible") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true tracks/0/keys = { "times": PoolRealArray( 0.1, 0.3, 0.5, 1.5, 1.6, 2.3, 2.5, 3.7, 3.9, 4.6, 5, 5.2, 7.8, 8.2, 11.7 ), "transitions": PoolRealArray( 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ), "update": 1, "values": [ true, false, true, false, true, true, true, false, true, false, false, true, false, true, true ] } [node name="Spatial" type="Spatial"] [node name="CanvasLayer" parent="." instance=ExtResource( 1 )] layer = 99 [node name="environment" parent="." instance=ExtResource( 2 )] [node name="WorldEnvironment" type="WorldEnvironment" parent="."] environment = SubResource( 1 ) [node name="OmniLight" type="OmniLight" parent="."] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00275469, 5.3306, -0.00586939 ) light_energy = 12.0 light_indirect_energy = 1.306 light_cull_mask = 4294443007 shadow_enabled = true omni_range = 8.917 omni_attenuation = 2.73208 [node name="SpotLight" type="SpotLight" parent="."] transform = Transform( -0.999987, 5.82069e-11, 0.00514878, 0.00507827, 0.164927, 0.986293, -0.000849173, 0.986306, -0.164925, 0, 4.25661, -0.823411 ) light_color = Color( 0.623529, 0.247059, 0.756863, 1 ) light_energy = 30.0 light_specular = 0.594 light_cull_mask = 4294443007 shadow_enabled = true shadow_color = Color( 0.317647, 0.317647, 0.317647, 1 ) spot_range = 13.9301 spot_angle = 57.9366 [node name="3DCursor" parent="." instance=ExtResource( 3 )] transform = Transform( 0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 7.05282, 0 ) KB_ACTIONS_PER_SECOND = 6.0 [node name="camera_positions" parent="." instance=ExtResource( 4 )] [node name="AnimationTree" type="AnimationTree" parent="."] tree_root = SubResource( 2 ) anim_player = NodePath("../camera_positions/AnimationPlayer") active = true process_mode = 2 parameters/playback = SubResource( 3 ) script = ExtResource( 5 ) [node name="CameraMoveZones" type="Spatial" parent="."] [node name="BookshelfEnter" parent="CameraMoveZones" instance=ExtResource( 6 )] transform = Transform( 1.88241, 0, 0, 0, 1.41215, 0, 0, 0, 1.8099, 0, 4.13633, 3.52765 ) on_enter_func = "_on_Cursor_set_camera" call_string = "camera_bookcase" [node name="BookshelfLeave" parent="CameraMoveZones/BookshelfEnter" instance=ExtResource( 6 )] transform = Transform( 1.31595, 0, 0, 0, 1.36796, 0, 0, 0, 1.32271, 0, 0, 0 ) on_leave_func = "_on_Cursor_set_camera" call_string = "camera_pos_corner" [node name="OuterAtticEnter" parent="CameraMoveZones" instance=ExtResource( 6 )] transform = Transform( 1, 0, 0, 0, 1.46013, 0, 0, 0, 1.2653, -2.46345, 9.85499, -3.18314 ) on_enter_func = "_on_Cursor_set_camera" call_string = "camera_outer_attic" [node name="OuterAtticLeave" parent="CameraMoveZones/OuterAtticEnter" instance=ExtResource( 6 )] transform = Transform( 19.4492, 0, 0, 0, 4.36306, 0, 0, 0, 5.15836, -15.3042, 3.71776, 0 ) on_leave_func = "_on_Cursor_set_camera" call_string = "camera_pos_corner" [node name="UpperAtticEnter" parent="CameraMoveZones" instance=ExtResource( 6 )] transform = Transform( 6.28323, 0, 0, 0, 4.7198, 0, 0, 0, 7.91118, -23.9917, 13.7811, 0 ) on_enter_func = "_on_Cursor_set_camera" call_string = "camera_attic_inner" [node name="UpperAtticLeave" parent="CameraMoveZones" instance=ExtResource( 6 )] transform = Transform( 10.8129, 0, 0, 0, 4.7198, 0, 0, 0, 7.91118, -26.7224, 13.7811, 0 ) on_leave_func = "_on_Cursor_set_camera" call_string = "camera_outer_attic" [node name="AmbientSound" parent="." instance=ExtResource( 7 )] [node name="Attic" type="Spatial" parent="."] [node name="AtticAmberLight" type="OmniLight" parent="Attic"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -23.8074, 13.5384, -0.81872 ) light_color = Color( 0.796078, 0.627451, 0.25098, 1 ) light_energy = 6.0 light_indirect_energy = 1.306 light_cull_mask = 4294443007 shadow_enabled = true omni_range = 4.0 omni_attenuation = 2.73208 script = ExtResource( 8 ) [node name="AnimationPlayer" type="AnimationPlayer" parent="Attic/AtticAmberLight"] anims/light_flicker = SubResource( 28 ) [connection signal="motion_status" from="AnimationTree" to="3DCursor" method="_on_AnimationTree_motion_status"] [connection signal="motion_status" from="AnimationTree" to="AmbientSound" method="_on_AnimationTree_motion_status"] [connection signal="motion_status" from="AnimationTree" to="Attic/AtticAmberLight" method="_on_AnimationTree_motion_status"] [editable path="camera_positions"]