goodnight_jellybean/godot/world.tscn

333 lines
14 KiB
Plaintext
Raw Normal View History

2023-01-01 14:54:37 -07:00
[gd_scene load_steps=40 format=2]
2022-12-17 16:06:51 -07:00
[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]
2022-12-31 01:19:40 -07:00
[ext_resource path="res://3DCursor.tscn" type="PackedScene" id=3]
2022-12-31 02:49:32 -07:00
[ext_resource path="res://assets/room/camera_positions.tscn" type="PackedScene" id=4]
[ext_resource path="res://AnimationTree.gd" type="Script" id=5]
2023-01-01 02:23:56 -07:00
[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]
2023-01-01 04:28:30 -07:00
[ext_resource path="res://assets/audio/voice_lines/LineReader.tscn" type="PackedScene" id=9]
2023-01-01 14:02:34 -07:00
[ext_resource path="res://animated_frog.tscn" type="PackedScene" id=10]
2023-01-01 14:54:37 -07:00
[ext_resource path="res://animated_squirrell.tscn" type="PackedScene" id=11]
2022-12-17 16:06:51 -07:00
[sub_resource type="Environment" id=1]
2022-12-31 01:19:40 -07:00
background_mode = 1
2022-12-17 16:06:51 -07:00
2023-01-01 04:28:30 -07:00
[sub_resource type="Animation" id=29]
resource_name = "color"
length = 0.387
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, 0.2 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 1,
"values": [ true, false ]
}
[sub_resource type="SpatialMaterial" id=30]
albedo_color = Color( 0, 0, 0, 1 )
[sub_resource type="CubeMesh" id=31]
2022-12-31 02:49:32 -07:00
[sub_resource type="AnimationNodeAnimation" id=9]
animation = "camera_attic_inner"
[sub_resource type="AnimationNodeAnimation" id=4]
animation = "camera_bookcase"
2023-01-01 02:23:56 -07:00
[sub_resource type="AnimationNodeAnimation" id=23]
animation = "camera_bookshelf_secret"
2022-12-31 02:49:32 -07:00
[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
2023-01-01 02:23:56 -07:00
[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
2022-12-31 02:49:32 -07:00
[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 )
2023-01-01 02:23:56 -07:00
states/camera_bookshelf_secret/node = SubResource( 23 )
states/camera_bookshelf_secret/position = Vector2( 246, 6 )
2022-12-31 02:49:32 -07:00
states/camera_outer_attic/node = SubResource( 10 )
2023-01-01 02:23:56 -07:00
states/camera_outer_attic/position = Vector2( 417, 324 )
2022-12-31 02:49:32 -07:00
states/camera_pos_corner/node = SubResource( 8 )
2023-01-01 02:23:56 -07:00
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 ) ]
2022-12-31 02:49:32 -07:00
start_node = "camera_pos_corner"
2023-01-01 04:28:30 -07:00
graph_offset = Vector2( -121, -28 )
2022-12-31 02:49:32 -07:00
[sub_resource type="AnimationNodeStateMachinePlayback" id=3]
2023-01-01 02:23:56 -07:00
[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 ]
}
2022-12-17 16:06:51 -07:00
[node name="Spatial" type="Spatial"]
[node name="CanvasLayer" parent="." instance=ExtResource( 1 )]
2022-12-18 18:08:25 -07:00
layer = 99
2022-12-17 16:06:51 -07:00
[node name="environment" parent="." instance=ExtResource( 2 )]
2023-01-01 04:28:30 -07:00
[node name="ClockLight" type="SpotLight" parent="."]
transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -2.44573, 8.37317, -1.81664 )
light_color = Color( 0.603922, 0.701961, 0.94902, 1 )
light_energy = 1.5
spot_range = 3.66733
spot_angle = 38.3586
2022-12-17 16:06:51 -07:00
[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 )
2022-12-31 01:19:40 -07:00
light_energy = 12.0
2022-12-17 16:06:51 -07:00
light_indirect_energy = 1.306
2022-12-31 01:19:40 -07:00
light_cull_mask = 4294443007
shadow_enabled = true
2022-12-18 18:08:25 -07:00
omni_range = 8.917
2022-12-17 16:06:51 -07:00
omni_attenuation = 2.73208
2022-12-19 11:24:25 -07:00
2023-01-01 04:28:30 -07:00
[node name="SecretLight" type="OmniLight" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00275469, 5.33571, 12.162 )
light_energy = 7.092
light_indirect_energy = 1.306
light_cull_mask = 4294443007
shadow_enabled = true
omni_range = 13.347
omni_attenuation = 1.27456
[node name="AnimationPlayer" type="AnimationPlayer" parent="SecretLight"]
autoplay = "color"
anims/color = SubResource( 29 )
[node name="MeshInstance" type="MeshInstance" parent="SecretLight/AnimationPlayer"]
transform = Transform( 3.54479, 0, 0, 0, 8.93949, 0, 0, 0, 0.75139, 0, 0, 6.36648 )
material_override = SubResource( 30 )
mesh = SubResource( 31 )
[node name="MeshInstance2" type="MeshInstance" parent="SecretLight/AnimationPlayer"]
transform = Transform( 15.4712, 0, 0, 0, 8.93949, 0, 0, 0, 0.75139, 0, 18.0633, 6.36648 )
material_override = SubResource( 30 )
mesh = SubResource( 31 )
2022-12-19 11:24:25 -07:00
[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
2022-12-31 01:19:40 -07:00
light_cull_mask = 4294443007
shadow_enabled = true
shadow_color = Color( 0.317647, 0.317647, 0.317647, 1 )
2022-12-19 11:24:25 -07:00
spot_range = 13.9301
spot_angle = 57.9366
2022-12-31 01:19:40 -07:00
[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 )
2022-12-31 02:49:32 -07:00
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 )
2023-01-01 02:23:56 -07:00
[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"
2023-01-01 04:28:30 -07:00
[node name="SecretEnter" parent="CameraMoveZones" instance=ExtResource( 6 )]
transform = Transform( 8.71637, 0, 0, 0, 13.8749, 0, 0, 0, 5.83956, 0, 0, 15.4817 )
on_enter_func = "_on_Cursor_set_camera"
call_string = "camera_bookshelf_secret"
2023-01-01 02:23:56 -07:00
[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 )
2023-01-01 04:28:30 -07:00
[node name="LineReader" parent="." instance=ExtResource( 9 )]
2023-01-01 14:02:34 -07:00
[node name="GoalZones" type="Spatial" parent="."]
[node name="the_long_book" parent="GoalZones" instance=ExtResource( 6 )]
transform = Transform( 0.693, 0, 0, 0, 0.41, 0, 0, 0, 0.496, -0.572389, 3.76068, 3.84481 )
on_interact_func = "_on_Cursor_goal"
call_array = [ "the_long", "book" ]
[node name="the_tall_book" parent="GoalZones" instance=ExtResource( 6 )]
transform = Transform( 0.64, 0, 0, 0, 0.689, 0, 0, 0, 0.488, 1.25306, 3.99747, 3.95989 )
on_interact_func = "_on_Cursor_goal"
call_array = [ "the_tall", "book" ]
[node name="the_door" parent="GoalZones" instance=ExtResource( 6 )]
transform = Transform( 1.526, 0, 0, 0, 4.514, 0, 0, 0, 2.539, -5.6107, 4.66981, 1.83416 )
on_interact_func = "_on_Cursor_goal"
call_array = [ "the_door" ]
[node name="the_clock" parent="GoalZones" instance=ExtResource( 6 )]
transform = Transform( 1.383, 0, 0, 0, 1.187, 0, 0, 0, 1.428, -4.68422, 8.48257, -1.61869 )
on_interact_func = "_on_Cursor_goal"
call_array = [ "the_clock" ]
[node name="under_the_bed" parent="GoalZones" instance=ExtResource( 6 )]
transform = Transform( 3.368, 0, 0, 0, 1.691, 0, 0, 0, 3.688, 5.40015, 0, -1.50949 )
on_interact_func = "_on_Cursor_goal"
call_array = [ "under_the_bed" ]
[node name="the_attic" parent="GoalZones" instance=ExtResource( 6 )]
transform = Transform( 12.434, 0, 0, 0, 5.175, 0, 0, 0, 8.316, -32.445, 14.1609, 0 )
on_interact_func = "_on_Cursor_goal"
call_array = [ "the_attic" ]
[node name="the_fridge" parent="GoalZones" instance=ExtResource( 6 )]
transform = Transform( 2.509, 0, 0, 0, 6.721, 0, 0, 0, 1.673, -2.65881, 0, -2.63396 )
on_interact_func = "_on_Cursor_goal"
call_array = [ "the_fridge" ]
[node name="behind_the_bookshelf" parent="GoalZones" instance=ExtResource( 6 )]
transform = Transform( 6.288, 0, 0, 0, 14.327, 0, 0, 0, 4.024, 0, 0, 16.6605 )
on_interact_func = "_on_Cursor_goal"
call_array = [ "behind_the_bookshelf" ]
[node name="AnimatedFrog" parent="." instance=ExtResource( 10 )]
transform = Transform( -0.25, 0, -2.18557e-08, 0, 0.25, 0, 2.18557e-08, 0, -0.25, -2.0531, 3.60435, 3.78789 )
[node name="AnimatedFrog2" parent="." instance=ExtResource( 10 )]
transform = Transform( -0.25, 0, -2.18557e-08, 0, 0.25, 0, 2.18557e-08, 0, -0.25, -2.0531, -3.76855, 14.7218 )
hop = true
[node name="AnimatedFrog3" parent="." instance=ExtResource( 10 )]
transform = Transform( -0.134924, 0, 0.210465, 0, 0.25, 0, -0.210465, 0, -0.134924, -24.9938, 12.6545, -2.18772 )
2023-01-01 14:54:37 -07:00
[node name="AnimatedSquirrel" parent="." instance=ExtResource( 11 )]
transform = Transform( -0.175053, 0, -0.178484, 0, 0.25, 0, 0.178484, 0, -0.175053, 2.91965, 2.82708, 1.3549 )
hop = true
[node name="AnimatedSquirrel2" parent="." instance=ExtResource( 11 )]
transform = Transform( -0.23556, 0, -0.0837355, 0, 0.25, 0, 0.0837355, 0, -0.23556, 1.2157, -3.69864, 14.5479 )
2023-01-01 14:02:34 -07:00
hop = true
2023-01-01 02:23:56 -07:00
[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"]
2022-12-31 02:49:32 -07:00
[editable path="camera_positions"]