diff --git a/src/base-environments/transition/misc/subway_map.tscn b/src/base-environments/transition/misc/subway_map.tscn index f0fe629..29a9068 100644 --- a/src/base-environments/transition/misc/subway_map.tscn +++ b/src/base-environments/transition/misc/subway_map.tscn @@ -14,9 +14,9 @@ extends Node2D match station: Scenes.id.ADULT_DND: %AnimationPlayer.play(\"hirschfeld\") - Scenes.id.ADULD_VOLUNTARY: + Scenes.id.ADULT_VOLUNTARY: %AnimationPlayer.play(\"parity\") - Scenes.id.ADULD_CHRISTMAS: + Scenes.id.ADULT_CHRISTMAS: %AnimationPlayer.play(\"saint-exupery\") Scenes.id.ADULT_EATING: %AnimationPlayer.play(\"refectory\") diff --git a/src/base-environments/transition/stations/burnout_station.tscn b/src/base-environments/transition/stations/burnout_station.tscn index b7f1fd8..6987c3f 100644 --- a/src/base-environments/transition/stations/burnout_station.tscn +++ b/src/base-environments/transition/stations/burnout_station.tscn @@ -12,8 +12,10 @@ [sub_resource type="GDScript" id="GDScript_x3aag"] script/source = "extends Node3D +signal leave_room + func _ready() -> void: - %PlayerDetect.body_entered.connect(func(_body): get_tree().quit()) + %PlayerDetect.body_entered.connect(func(body): if body is Player: leave_room.emit()) " diff --git a/src/base-environments/transition/transition.tscn b/src/base-environments/transition/transition.tscn index 2ddced0..8cd08c3 100644 --- a/src/base-environments/transition/transition.tscn +++ b/src/base-environments/transition/transition.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=63 format=3 uid="uid://fgp3s28h7msy"] +[gd_scene load_steps=74 format=3 uid="uid://fgp3s28h7msy"] [ext_resource type="Script" uid="uid://snugj1gnggjj" path="res://base-environments/transition/subway_sequence.gd" id="1_qkqxa"] [ext_resource type="PackedScene" uid="uid://4j1tlhfm3p40" path="res://base-environments/transition/subway_train.tscn" id="2_qkqxa"] @@ -958,6 +958,48 @@ viewport_path = NodePath("Displays/Train_Display_R") [sub_resource type="ViewportTexture" id="ViewportTexture_csq32"] viewport_path = NodePath("Displays/Train_Display_L") +[sub_resource type="Animation" id="Animation_symoa"] +resource_name = "init" + +[sub_resource type="Animation" id="Animation_820wi"] +resource_name = "volunteer_exit" + +[sub_resource type="Animation" id="Animation_e75no"] +resource_name = "dnd_to_volunteer" + +[sub_resource type="Animation" id="Animation_c3uo7"] +resource_name = "volunteer_to_uni" + +[sub_resource type="Animation" id="Animation_r7fs3"] +resource_name = "volunteer_to_therapy" + +[sub_resource type="Animation" id="Animation_o0t2h"] +resource_name = "dnd_to_uni" + +[sub_resource type="Animation" id="Animation_jleua"] +resource_name = "uni_to_burnout" + +[sub_resource type="Animation" id="Animation_q6ibf"] +resource_name = "uni_to_therapy" + +[sub_resource type="Animation" id="Animation_dm3ia"] +resource_name = "uni_to_volunteer" + +[sub_resource type="AnimationLibrary" id="AnimationLibrary_xcyoy"] +_data = { +&"dnd_to_uni": SubResource("Animation_o0t2h"), +&"dnd_to_volunteer": SubResource("Animation_e75no"), +&"init": SubResource("Animation_symoa"), +&"uni_to_burnout": SubResource("Animation_jleua"), +&"uni_to_therapy": SubResource("Animation_q6ibf"), +&"uni_to_volunteer": SubResource("Animation_dm3ia"), +&"volunteer_exit": SubResource("Animation_820wi"), +&"volunteer_to_therapy": SubResource("Animation_r7fs3"), +&"volunteer_to_uni": SubResource("Animation_c3uo7") +} + +[sub_resource type="AnimationNodeStateMachine" id="AnimationNodeStateMachine_naikh"] + [node name="Transition" type="Node3D"] script = ExtResource("1_qkqxa") @@ -1016,7 +1058,7 @@ transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 6.24 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.7804413, 0, 0) [node name="MeshInstance3D8" type="MeshInstance3D" parent="Train/Visuals/Train"] -transform = Transform3D(-42.01, 4.075623e-07, 4.3400988e-07, -6.330816e-06, -2.8743172, -0.1808367, -5.9450335e-06, 0.1808367, -2.8743172, -3.9468384, 1.286, 2.488358) +transform = Transform3D(-42.01, 4.075623e-07, 4.3401022e-07, -6.330816e-06, -2.8743172, -0.1808367, -5.9450385e-06, 0.1808367, -2.8743172, -3.9468384, 1.286, 2.488358) visible = false material_override = SubResource("ShaderMaterial_0vobo") mesh = SubResource("QuadMesh_ppxbm") @@ -1307,12 +1349,13 @@ mesh = SubResource("QuadMesh_c3uo7") skeleton = NodePath("") [node name="Stations" type="Node3D" parent="."] +unique_name_in_owner = true [node name="uni_station" parent="Stations" instance=ExtResource("4_0vobo")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1.3, 0, 0, 80) visible = false [node name="burnout_station" parent="Stations" instance=ExtResource("5_ppxbm")] +unique_name_in_owner = true transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1.2, 0, 0, 80) visible = false @@ -1470,3 +1513,14 @@ transform = Transform3D(-1, 0, 8.742278e-08, 0, 1, 0, -8.742278e-08, 0, -1, -1.0 modulate = Color(1.3519934, 0.8703787, 0.46019563, 1) pixel_size = 0.006 texture = SubResource("ViewportTexture_csq32") + +[node name="AnimationPlayer" type="AnimationPlayer" parent="."] +root_node = NodePath("AnimationTree") +libraries = { +&"": SubResource("AnimationLibrary_xcyoy") +} + +[node name="AnimationTree" type="AnimationTree" parent="AnimationPlayer"] +root_node = NodePath(".") +tree_root = SubResource("AnimationNodeStateMachine_naikh") +anim_player = NodePath("..") diff --git a/src/base-environments/volunteer_room/volunteer_room.tscn b/src/base-environments/volunteer_room/volunteer_room.tscn index c9cf2ab..52e6132 100644 --- a/src/base-environments/volunteer_room/volunteer_room.tscn +++ b/src/base-environments/volunteer_room/volunteer_room.tscn @@ -1,8 +1,9 @@ -[gd_scene load_steps=53 format=3 uid="uid://flisupth27th"] +[gd_scene load_steps=73 format=3 uid="uid://flisupth27th"] [ext_resource type="PackedScene" uid="uid://dwbhei5kywqbd" path="res://volunteer_room_visuals.tscn" id="1_ln5pp"] [ext_resource type="Script" uid="uid://wiw2j1gw230e" path="res://base-environments/volunteer_room/shared_flat.gd" id="1_wdfvq"] [ext_resource type="Script" uid="uid://dr4wd80dobxjd" path="res://base-environments/youth_room/Collectable.gd" id="2_ordlj"] +[ext_resource type="PackedScene" uid="uid://mkccbig41bqb" path="res://logic-scenes/player_controller/player_controller.tscn" id="2_upyac"] [ext_resource type="PackedScene" uid="uid://bdnesuqroi7ss" path="res://vfx/collectable_particles.tscn" id="3_4s5r2"] [ext_resource type="Script" uid="uid://c281w7earok6w" path="res://base-environments/youth_room/crouch_volume.gd" id="3_fli74"] [ext_resource type="Script" uid="uid://dbdw3v7mbqscf" path="res://dev-util/click-trough-area.gd" id="4_1xpeq"] @@ -17,6 +18,11 @@ [ext_resource type="PackedScene" uid="uid://b8iaixkhsnahi" path="res://base-environments/volunteer_room/scenes/therapy_volunteer.tscn" id="15_ci4rn"] [ext_resource type="PackedScene" uid="uid://s48pybgsm5mo" path="res://base-environments/volunteer_room/scenes/trans.tscn" id="16_e1uao"] [ext_resource type="PackedScene" uid="uid://r1dj1l0k0s2e" path="res://base-environments/volunteer_room/scenes/trauma.tscn" id="17_my8p4"] +[ext_resource type="PackedScene" uid="uid://brk4hjdf2x81a" path="res://logic-scenes/card_picker/card_picker.tscn" id="18_upyac"] +[ext_resource type="PackedScene" uid="uid://bnskiyx1sksww" path="res://logic-scenes/board/physics-board.tscn" id="19_ci4rn"] +[ext_resource type="PackedScene" uid="uid://citwb7f4dl3l1" path="res://thank-you.tscn" id="20_e1uao"] +[ext_resource type="Shader" uid="uid://d324neibxpomg" path="res://base-environments/intro_scene/shaders/stars.gdshader" id="22_e1uao"] +[ext_resource type="Texture2D" uid="uid://dabnlcnuticww" path="res://base-environments/intro_scene/textures/sky_textures_2.png" id="23_my8p4"] [sub_resource type="BoxMesh" id="BoxMesh_tmbwx"] size = Vector3(1, 2.778, 1.353) @@ -39,7 +45,7 @@ shader_parameter/default_texture = SubResource("ViewportTexture_ordlj") [sub_resource type="CapsuleShape3D" id="CapsuleShape3D_80jyn"] radius = 0.342951 -height = 1.08154 +height = 0.91479343 [sub_resource type="ViewportTexture" id="ViewportTexture_1xpeq"] viewport_path = NodePath("Collectables/BurnoutMemento/UiWrapper/UiSprite/SubViewport") @@ -116,7 +122,7 @@ size = Vector3(3.6337676, 4, 0.1865977) size = Vector3(1.7968724, 4, 0.1865977) [sub_resource type="BoxShape3D" id="BoxShape3D_0bxa6"] -size = Vector3(2.7905877, 4, 0.121619165) +size = Vector3(2.4439237, 4, 0.121619165) [sub_resource type="BoxShape3D" id="BoxShape3D_3k3rl"] size = Vector3(3.038, 4, 4.9940557) @@ -149,15 +155,18 @@ func _ready() -> void: Scenes.scene_finished.connect(scene_finished) # FIXME: this needs to be made prettier. - $draven.finished.connect(on_draeven_done) - $childhood.finished.connect(on_childhood_done) - $JuiJutsu.finished.connect(on_jui_jutsu_done) - $voice_training.finished.connect(on_voice_training_done) - $draven.intro.connect(try_intro) - + $autism.finished.connect(on_autism_done) + $burnout.finished.connect(on_burnout_done) + $university_eating.finished.connect(on_university_eating_done) + $university_advocacy.finished.connect(on_university_advocacy_done) + $therapy_uni.finished.connect(on_therapy_uni_done) + $therapy_volunteer.finished.connect(on_therapy_volunteer_done) + $trans.finished.connect(on_trans_done) + $trauma.finished.connect(on_trauma_done) + Scenes.sign_up_for_sequence(play_scene, Scenes.id.ADULT_DND, 0) - Scenes.sign_up_for_sequence(play_scene, Scenes.id.ADULD_VOLUNTARY, 0) - Scenes.sign_up_for_sequence(play_scene, Scenes.id.ADULD_CHRISTMAS, 0) + Scenes.sign_up_for_sequence(play_scene, Scenes.id.ADULT_VOLUNTARY, 0) + Scenes.sign_up_for_sequence(play_scene, Scenes.id.ADULT_CHRISTMAS, 0) Scenes.sign_up_for_sequence(play_scene, Scenes.id.ADULT_EATING, 0) Scenes.sign_up_for_sequence(play_scene, Scenes.id.ADULT_UNI, 0) Scenes.sign_up_for_sequence(play_scene, Scenes.id.ADULT_THERAPY, 0) @@ -168,39 +177,20 @@ func play_scene(id: int, repeat = false): is_repeating = repeat Input.mouse_mode = Input.MOUSE_MODE_HIDDEN match id: - Scenes.id.ADULT_DND: pass - Scenes.id.ADULD_VOLUNTARY: pass - Scenes.id.ADULD_CHRISTMAS: pass - Scenes.id.ADULT_EATING: pass - Scenes.id.ADULT_UNI: pass - Scenes.id.ADULT_THERAPY: pass - Scenes.id.ADULT_BURNOUT: pass + Scenes.id.ADULT_DND: $trans.play_scene() + Scenes.id.ADULT_VOLUNTARY: $trauma.play_scene() + Scenes.id.ADULT_CHRISTMAS: $autism.play_scene() + Scenes.id.ADULT_EATING: $university_eating.play_scene() + Scenes.id.ADULT_UNI: $university_advocacy.play_scene() + Scenes.id.ADULT_THERAPY: + if Scenes.is_sequence_unlocked(Scenes.id.ADULT_UNI): + $therapy_uni.play_scene() + else: + $therapy_volunteer.play_scene() + Scenes.id.ADULT_BURNOUT: $burnout.play_scene() func _on_ini_room(): pass - -func on_childhood_done(): - Scenes.continue_sequence(self) - $childhood.hide() - -func on_voice_training_done(): - Scenes.continue_sequence(self) - $\"voice_training\".hide() - -func on_jui_jutsu_done(): - Scenes.continue_sequence(self) - $JuiJutsu.hide() - if $JuiJutsu.was_skipped: - play(\"intro\") - -func on_draeven_done(): - Scenes.continue_sequence(self) - await $draven.finished - $draven.hide() - -func try_intro(): - if $draven.was_skipped: - play(\"intro\") func scene_finished(id: Scenes.id, _repeat: bool): queue(\"RESET\") @@ -208,11 +198,177 @@ func scene_finished(id: Scenes.id, _repeat: bool): func play(anin_name: StringName = \"\", a: float = -1, b: float = 1, c: bool = false) -> void: print(\"anim player accessed!\") super.play(anin_name, a, b, c) + +func on_autism_done(): + Scenes.continue_sequence(self) + $autism.hide() +func on_burnout_done(): + Scenes.continue_sequence(self) + $burnout.hide() +func on_university_eating_done(): + Scenes.continue_sequence(self) + $university_eating.hide() +func on_university_advocacy_done(): + Scenes.continue_sequence(self) + $university_advocacy.hide() +func on_therapy_uni_done(): + Scenes.continue_sequence(self) + $therapy_uni.hide() +func on_therapy_volunteer_done(): + Scenes.continue_sequence(self) + $therapy_volunteer.hide() +func on_trans_done(): + Scenes.continue_sequence(self) + $trans.hide() +func on_trauma_done(): + Scenes.continue_sequence(self) + $trauma.hide() " +[sub_resource type="GDScript" id="GDScript_ri8p0"] +script/source = "extends Panel + + +func show(): + mouse_filter = MOUSE_FILTER_STOP + visible = true +" + +[sub_resource type="Gradient" id="Gradient_ri8p0"] +interpolation_mode = 2 +offsets = PackedFloat32Array(0, 0.175337, 0.414258, 0.593449, 0.700565, 0.770713, 0.798493, 0.809793, 0.954802) +colors = PackedColorArray(0, 0, 0, 0, 0.003, 0.0047, 0.02, 0.584314, 0.02385, 0.009, 0.09, 0, 0.06228, 0.0312, 0.12, 1, 0.22, 0.055, 0.1815, 0, 0.816757, 0.155467, 0.208686, 0.819608, 0.0136439, 0.0237636, 0.0955315, 1, 0.0120242, 0.0120251, 0.0360567, 0.356863, 0.00319355, 0.00476964, 0.0186391, 0.313726) + +[sub_resource type="GradientTexture1D" id="GradientTexture1D_apxml"] +gradient = SubResource("Gradient_ri8p0") +use_hdr = true + +[sub_resource type="Gradient" id="Gradient_br20t"] +interpolation_mode = 2 +interpolation_color_space = 1 +offsets = PackedFloat32Array(0, 0.137476, 0.46516, 0.851224) +colors = PackedColorArray(0.127188, 0.325303, 0.352533, 1, 0.0512, 0.18112, 0.32, 1, 0.0406, 0.0530699, 0.29, 1, 0.106137, 0.0034, 0.17, 1) + +[sub_resource type="GradientTexture1D" id="GradientTexture1D_vetqo"] +gradient = SubResource("Gradient_br20t") +use_hdr = true + +[sub_resource type="Gradient" id="Gradient_sunku"] +colors = PackedColorArray(0.85, 0.46325, 0.0765, 1, 0.825717, 0.47559, 0.983214, 1) + +[sub_resource type="GradientTexture1D" id="GradientTexture1D_8fou6"] +gradient = SubResource("Gradient_sunku") + +[sub_resource type="ShaderMaterial" id="ShaderMaterial_mumj5"] +shader = ExtResource("22_e1uao") +shader_parameter/star_size = 120.0 +shader_parameter/star_colors = SubResource("GradientTexture1D_8fou6") +shader_parameter/sky_gradient = SubResource("GradientTexture1D_vetqo") +shader_parameter/nebula_gradient = SubResource("GradientTexture1D_apxml") +shader_parameter/nebula_offset = 0.5 +shader_parameter/universe_background = ExtResource("23_my8p4") + +[sub_resource type="Sky" id="Sky_85fpg"] +sky_material = SubResource("ShaderMaterial_mumj5") + +[sub_resource type="Environment" id="Environment_pdgua"] +background_mode = 2 +sky = SubResource("Sky_85fpg") +sky_rotation = Vector3(0, 0.352557, 0) +ambient_light_source = 3 +ambient_light_color = Color(1, 1, 1, 1) +reflected_light_source = 1 +tonemap_mode = 2 +tonemap_exposure = 0.7 +tonemap_white = 3.0 +ssr_max_steps = 512 +ssr_depth_tolerance = 0.01 +ssao_enabled = true +ssao_radius = 1.24 +ssao_intensity = 3.09 +ssao_power = 1.91184 +ssao_detail = 3.0 +ssil_radius = 2.0 +ssil_intensity = 0.5 +ssil_normal_rejection = 0.8 +sdfgi_use_occlusion = true +sdfgi_read_sky_light = false +sdfgi_min_cell_size = 0.009765625 +glow_enabled = true +glow_levels/2 = 0.3 +glow_levels/7 = 2.0 +glow_intensity = 0.4 +glow_strength = 0.7 +glow_bloom = 0.13 +glow_blend_mode = 1 +glow_hdr_threshold = 0.46 +fog_enabled = true +fog_light_color = Color(0.141176, 0.133333, 0.301961, 1) +fog_sky_affect = 0.0 +fog_height = 1.0 +fog_height_density = 0.1 + +[sub_resource type="CameraAttributesPractical" id="CameraAttributesPractical_0bxa6"] +exposure_multiplier = 4.0 +auto_exposure_enabled = true +auto_exposure_scale = 0.3 +dof_blur_far_distance = 0.4 +dof_blur_far_transition = 0.2 +dof_blur_near_distance = 6.0 +dof_blur_near_transition = 2.0 +dof_blur_amount = 0.0 +auto_exposure_max_sensitivity = 1200.0 + +[sub_resource type="GDScript" id="GDScript_3k3rl"] +script/source = "extends WorldEnvironment + +func _ready(): + State.environment_settings_changed.connect(_on_environment_settings_update) + Scenes.scene_starting.connect(scene_starting) + Scenes.scene_finished.connect(scene_finished) + _on_environment_settings_update() + +func focus_env(): + var dof_strength_tween: Tween = create_tween() + dof_strength_tween.tween_property(camera_attributes, \"dof_blur_amount\", 0, 1) + await(dof_strength_tween.finished) + camera_attributes.dof_blur_near_enabled = false + +func focus_object(): + camera_attributes.dof_blur_near_enabled = true + var dof_strength_tween: Tween = create_tween() + dof_strength_tween.tween_property(camera_attributes, \"dof_blur_amount\", 0.4, 1) + +func scene_starting(id: int, _repeat: bool): + if id == Scenes.id.YOUTH_VOICE_TRAINING: + await get_tree().create_timer(10).timeout + focus_object() + +func scene_finished(_id: int, _repeat: bool): + focus_env() + +func _on_environment_settings_update(): + environment.ssil_enabled = State.ssil_enable + environment.sdfgi_enabled = State.sdfgi_enable +" + +[sub_resource type="ViewportTexture" id="ViewportTexture_e1uao"] +viewport_path = NodePath("BoardTrigger/UiWrapper/UiSprite/SubViewport") + +[sub_resource type="ShaderMaterial" id="ShaderMaterial_my8p4"] +resource_local_to_scene = true +render_priority = 1 +shader = ExtResource("7_80jyn") +shader_parameter/default_texture = SubResource("ViewportTexture_e1uao") + [node name="SharedFlat" type="Node3D"] script = ExtResource("1_wdfvq") +[node name="PlayerController" parent="." instance=ExtResource("2_upyac")] +unique_name_in_owner = true +transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 2.2023005, 0, 0.7319784) +initial_pitch = 0.0 + [node name="volunteer_room" parent="." instance=ExtResource("1_ln5pp")] [node name="MeshInstance3D" type="MeshInstance3D" parent="volunteer_room"] @@ -555,7 +711,7 @@ data = ExtResource("8_fli74") [node name="Colision" type="Node3D" parent="."] -[node name="RigidBody3D" type="RigidBody3D" parent="Colision"] +[node name="RigidBody3D" type="StaticBody3D" parent="Colision"] [node name="CollisionShape3D" type="CollisionShape3D" parent="Colision/RigidBody3D"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.25, 0) @@ -614,7 +770,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.0312304, 2, -0.06579882) shape = SubResource("BoxShape3D_pdgua") [node name="CollisionShape3D11" type="CollisionShape3D" parent="Colision/RigidBody3D"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.9549968, 2, 1.3899179) +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.1283288, 2, 1.3899179) shape = SubResource("BoxShape3D_0bxa6") [node name="CollisionShape3D12" type="CollisionShape3D" parent="Colision/RigidBody3D"] @@ -673,7 +829,87 @@ script = SubResource("GDScript_sg0pj") [node name="trans" parent="Scenes/ScenePlayer" instance=ExtResource("16_e1uao")] -[node name="therapy_trauma" parent="Scenes/ScenePlayer" instance=ExtResource("17_my8p4")] +[node name="trauma" parent="Scenes/ScenePlayer" instance=ExtResource("17_my8p4")] + +[node name="UI" type="Control" parent="."] +layout_mode = 3 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +mouse_filter = 1 + +[node name="Picker" parent="UI" groups=["scene_actors"] instance=ExtResource("18_upyac")] +unique_name_in_owner = true +visible = false +layout_mode = 1 + +[node name="Board" parent="UI" instance=ExtResource("19_ci4rn")] +unique_name_in_owner = true +visible = false +layout_mode = 1 + +[node name="ending" parent="UI" instance=ExtResource("20_e1uao")] +visible = false +layout_mode = 1 +mouse_filter = 2 +script = SubResource("GDScript_ri8p0") + +[node name="MindBoard" parent="UI" instance=ExtResource("19_ci4rn")] +unique_name_in_owner = true +visible = false +layout_mode = 0 +anchors_preset = 0 +anchor_right = 0.0 +anchor_bottom = 0.0 +grow_horizontal = 1 +grow_vertical = 1 + +[node name="WorldEnvironment" type="WorldEnvironment" parent="."] +environment = SubResource("Environment_pdgua") +camera_attributes = SubResource("CameraAttributesPractical_0bxa6") +script = SubResource("GDScript_3k3rl") + +[node name="BoardTrigger" type="Area3D" parent="." groups=["interactables"]] +unique_name_in_owner = true +transform = Transform3D(-4.3711353e-08, 0, -0.99999917, 0, 1, 0, 0.99999917, 0, -4.3711353e-08, -2.6015208, 1.2707491, 4.5999393) +collision_layer = 16 +collision_mask = 0 +script = ExtResource("2_ordlj") + +[node name="collectable_particles" parent="BoardTrigger" instance=ExtResource("3_4s5r2")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00898492, -0.14171, 0.152755) +visible = false + +[node name="UiWrapper" type="Area3D" parent="BoardTrigger"] +transform = Transform3D(-0.1, 0, -8.74228e-09, 0, 0.1, 0, 8.74228e-09, 0, -0.1, 0, 0, 0) +script = ExtResource("4_1xpeq") +billboard = false + +[node name="UI_click_collider" type="CollisionShape3D" parent="BoardTrigger/UiWrapper"] +transform = Transform3D(2.56, -5.96046e-08, 4.76837e-07, 1.78814e-07, 2.56, -4.17233e-07, -2.38419e-07, -5.96046e-08, 2.56, 0, 1.90735e-06, 0.238397) +shape = SubResource("BoxShape3D_wdfvq") + +[node name="UiSprite" type="Sprite3D" parent="BoardTrigger/UiWrapper"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.5106125, 0, -1.3727055) +material_override = SubResource("ShaderMaterial_my8p4") +pixel_size = 0.015 +no_depth_test = true +texture = SubResource("ViewportTexture_e1uao") + +[node name="SubViewport" type="SubViewport" parent="BoardTrigger/UiWrapper/UiSprite"] +transparent_bg = true +use_hdr_2d = true +size = Vector2i(400, 350) +render_target_update_mode = 4 + +[node name="CollectableUi" parent="BoardTrigger/UiWrapper/UiSprite/SubViewport" instance=ExtResource("5_ln5pp")] +is_board = true + +[node name="HoverDetect" type="CollisionShape3D" parent="BoardTrigger"] +transform = Transform3D(1, 0, 2.9802656e-08, 0, 1, 0, -2.9802656e-08, 0, 1, 0, -0.015731215, 0) +shape = SubResource("CapsuleShape3D_80jyn") [connection signal="input_event" from="Collectables/KitchenMemento/UiWrapper" to="Collectables/KitchenMemento/UiWrapper" method="_on_input_event"] [connection signal="input_event" from="Collectables/BurnoutMemento/UiWrapper" to="Collectables/BurnoutMemento/UiWrapper" method="_on_input_event"] @@ -683,3 +919,5 @@ script = SubResource("GDScript_sg0pj") [connection signal="input_event" from="Collectables/OldThoughts/UiWrapper" to="Collectables/OldThoughts/UiWrapper" method="_on_input_event"] [connection signal="input_event" from="Collectables/AutismMemento/UiWrapper" to="Collectables/AutismMemento/UiWrapper" method="_on_input_event"] [connection signal="input_event" from="Collectables/UniversityMemento/UiWrapper" to="Collectables/UniversityMemento/UiWrapper" method="_on_input_event"] +[connection signal="input_event" from="BoardTrigger/UiWrapper" to="BoardTrigger/UiWrapper" method="_on_input_event"] +[connection signal="open_board" from="BoardTrigger/UiWrapper/UiSprite/SubViewport/CollectableUi" to="UI/Board" method="claim_focus"] diff --git a/src/base-environments/youth_room/youth_room.tscn b/src/base-environments/youth_room/youth_room.tscn index 8071631..0a20437 100644 --- a/src/base-environments/youth_room/youth_room.tscn +++ b/src/base-environments/youth_room/youth_room.tscn @@ -2308,7 +2308,7 @@ render_target_update_mode = 4 scene = 0 [node name="HoverDetect" type="CollisionShape3D" parent="logic/CeilingMemento"] -transform = Transform3D(1, 0, 2.98023e-08, 0, 1, 0, -2.98023e-08, 0, 1, 0, -0.237872, 0) +transform = Transform3D(1, 0, -2.9802322e-08, 0, 1, 0, 2.9802322e-08, 0, 1, 0, 0.09362054, 0) shape = SubResource("SphereShape3D_c7buh") [node name="MindBoard" type="Area3D" parent="logic" groups=["interactables"]] diff --git a/src/import/fonts/title_handwriting.tres b/src/import/fonts/title_handwriting.tres index 14a9e30..8fa49ab 100644 --- a/src/import/fonts/title_handwriting.tres +++ b/src/import/fonts/title_handwriting.tres @@ -77,6 +77,156 @@ data = PackedByteArray("AAEAAAAOAIAAAwBgT1MvMjZDFt8AAAF8AAAAYGNtYXDfxMwUAAAB3AAA font_name = "Annie Use Your Telescope" style_name = "Regular" msdf_pixel_range = 8 +cache/0/16/0/ascent = 17.0 +cache/0/16/0/descent = 7.0 +cache/0/16/0/underline_position = 1.59375 +cache/0/16/0/underline_thickness = 0.796875 +cache/0/16/0/scale = 1.0 +cache/0/16/0/textures/0/offsets = PackedInt32Array(243, 0, 13, 18) +cache/0/16/0/textures/0/image = SubResource("Image_gvbol") +cache/0/16/0/glyphs/83/advance = Vector2(7.09375, 22.9375) +cache/0/16/0/glyphs/83/offset = Vector2(-1, -8) +cache/0/16/0/glyphs/83/size = Vector2(9, 16) +cache/0/16/0/glyphs/83/uv_rect = Rect2(1, 1, 9, 16) +cache/0/16/0/glyphs/83/texture_idx = 0 +cache/0/16/0/glyphs/75/advance = Vector2(5.39062, 22.9375) +cache/0/16/0/glyphs/75/offset = Vector2(-1, -12) +cache/0/16/0/glyphs/75/size = Vector2(8, 14) +cache/0/16/0/glyphs/75/uv_rect = Rect2(12, 1, 8, 14) +cache/0/16/0/glyphs/75/texture_idx = 0 +cache/0/16/0/glyphs/92/advance = Vector2(6, 22.9375) +cache/0/16/0/glyphs/92/offset = Vector2(-1, -9) +cache/0/16/0/glyphs/92/size = Vector2(8, 16) +cache/0/16/0/glyphs/92/uv_rect = Rect2(22, 1, 8, 16) +cache/0/16/0/glyphs/92/texture_idx = 0 +cache/0/16/0/glyphs/86/advance = Vector2(6.15625, 22.9375) +cache/0/16/0/glyphs/86/offset = Vector2(-1, -8) +cache/0/16/0/glyphs/86/size = Vector2(8, 10) +cache/0/16/0/glyphs/86/uv_rect = Rect2(32, 1, 8, 10) +cache/0/16/0/glyphs/86/texture_idx = 0 +cache/0/16/0/glyphs/76/advance = Vector2(2.26562, 22.9375) +cache/0/16/0/glyphs/76/offset = Vector2(-1, -11) +cache/0/16/0/glyphs/76/size = Vector2(4, 13) +cache/0/16/0/glyphs/76/uv_rect = Rect2(42, 1, 4, 13) +cache/0/16/0/glyphs/76/texture_idx = 0 +cache/0/16/0/glyphs/70/advance = Vector2(5.85938, 22.9375) +cache/0/16/0/glyphs/70/offset = Vector2(-1, -8) +cache/0/16/0/glyphs/70/size = Vector2(8, 9) +cache/0/16/0/glyphs/70/uv_rect = Rect2(48, 1, 8, 9) +cache/0/16/0/glyphs/70/texture_idx = 0 +cache/0/16/0/glyphs/68/advance = Vector2(5.40625, 22.9375) +cache/0/16/0/glyphs/68/offset = Vector2(-1, -8) +cache/0/16/0/glyphs/68/size = Vector2(8, 9) +cache/0/16/0/glyphs/68/uv_rect = Rect2(58, 1, 8, 9) +cache/0/16/0/glyphs/68/texture_idx = 0 +cache/0/16/0/glyphs/79/advance = Vector2(2.26562, 22.9375) +cache/0/16/0/glyphs/79/offset = Vector2(-1, -13) +cache/0/16/0/glyphs/79/size = Vector2(4, 15) +cache/0/16/0/glyphs/79/uv_rect = Rect2(68, 1, 4, 15) +cache/0/16/0/glyphs/79/texture_idx = 0 +cache/0/16/0/glyphs/3/advance = Vector2(6, 22.9375) +cache/0/16/0/glyphs/3/offset = Vector2(-1, -1) +cache/0/16/0/glyphs/3/size = Vector2(2, 2) +cache/0/16/0/glyphs/3/uv_rect = Rect2(74, 1, 2, 2) +cache/0/16/0/glyphs/3/texture_idx = 0 +cache/0/16/0/glyphs/36/advance = Vector2(6.21875, 22.9375) +cache/0/16/0/glyphs/36/offset = Vector2(-1, -10) +cache/0/16/0/glyphs/36/size = Vector2(8, 11) +cache/0/16/0/glyphs/36/uv_rect = Rect2(78, 1, 8, 11) +cache/0/16/0/glyphs/36/texture_idx = 0 +cache/0/16/0/glyphs/72/advance = Vector2(5.26562, 22.9375) +cache/0/16/0/glyphs/72/offset = Vector2(-1, -8) +cache/0/16/0/glyphs/72/size = Vector2(7, 9) +cache/0/16/0/glyphs/72/uv_rect = Rect2(88, 1, 7, 9) +cache/0/16/0/glyphs/72/texture_idx = 0 +cache/0/16/0/glyphs/69/advance = Vector2(5.85938, 22.9375) +cache/0/16/0/glyphs/69/offset = Vector2(-1, -11) +cache/0/16/0/glyphs/69/size = Vector2(8, 12) +cache/0/16/0/glyphs/69/uv_rect = Rect2(97, 1, 8, 12) +cache/0/16/0/glyphs/69/texture_idx = 0 +cache/0/16/0/glyphs/87/advance = Vector2(5.9375, 22.9375) +cache/0/16/0/glyphs/87/offset = Vector2(-1, -10) +cache/0/16/0/glyphs/87/size = Vector2(8, 11) +cache/0/16/0/glyphs/87/uv_rect = Rect2(107, 1, 8, 11) +cache/0/16/0/glyphs/87/texture_idx = 0 +cache/0/16/0/glyphs/268435548/advance = Vector2(6, 22.9375) +cache/0/16/0/glyphs/268435548/offset = Vector2(-1, -9) +cache/0/16/0/glyphs/268435548/size = Vector2(9, 16) +cache/0/16/0/glyphs/268435548/uv_rect = Rect2(117, 1, 9, 16) +cache/0/16/0/glyphs/268435548/texture_idx = 0 +cache/0/16/0/glyphs/268435542/advance = Vector2(6.15625, 22.9375) +cache/0/16/0/glyphs/268435542/offset = Vector2(-1, -8) +cache/0/16/0/glyphs/268435542/size = Vector2(9, 10) +cache/0/16/0/glyphs/268435542/uv_rect = Rect2(128, 1, 9, 10) +cache/0/16/0/glyphs/268435542/texture_idx = 0 +cache/0/16/0/glyphs/402653260/advance = Vector2(2.26562, 22.9375) +cache/0/16/0/glyphs/402653260/offset = Vector2(-1, -11) +cache/0/16/0/glyphs/402653260/size = Vector2(5, 13) +cache/0/16/0/glyphs/402653260/uv_rect = Rect2(139, 1, 5, 13) +cache/0/16/0/glyphs/402653260/texture_idx = 0 +cache/0/16/0/glyphs/402653252/advance = Vector2(5.40625, 22.9375) +cache/0/16/0/glyphs/402653252/offset = Vector2(0, -8) +cache/0/16/0/glyphs/402653252/size = Vector2(7, 9) +cache/0/16/0/glyphs/402653252/uv_rect = Rect2(146, 1, 7, 9) +cache/0/16/0/glyphs/402653252/texture_idx = 0 +cache/0/16/0/glyphs/134217807/advance = Vector2(2.26562, 22.9375) +cache/0/16/0/glyphs/134217807/offset = Vector2(-1, -13) +cache/0/16/0/glyphs/134217807/size = Vector2(4, 15) +cache/0/16/0/glyphs/134217807/uv_rect = Rect2(155, 1, 4, 15) +cache/0/16/0/glyphs/134217807/texture_idx = 0 +cache/0/16/0/glyphs/268435459/advance = Vector2(6, 22.9375) +cache/0/16/0/glyphs/268435459/offset = Vector2(-1, -1) +cache/0/16/0/glyphs/268435459/size = Vector2(2, 2) +cache/0/16/0/glyphs/268435459/uv_rect = Rect2(161, 1, 2, 2) +cache/0/16/0/glyphs/268435459/texture_idx = 0 +cache/0/16/0/glyphs/268435492/advance = Vector2(6.21875, 22.9375) +cache/0/16/0/glyphs/268435492/offset = Vector2(-1, -10) +cache/0/16/0/glyphs/268435492/size = Vector2(9, 11) +cache/0/16/0/glyphs/268435492/uv_rect = Rect2(165, 1, 9, 11) +cache/0/16/0/glyphs/268435492/texture_idx = 0 +cache/0/16/0/glyphs/402653254/advance = Vector2(5.85938, 22.9375) +cache/0/16/0/glyphs/402653254/offset = Vector2(0, -8) +cache/0/16/0/glyphs/402653254/size = Vector2(8, 9) +cache/0/16/0/glyphs/402653254/uv_rect = Rect2(176, 1, 8, 9) +cache/0/16/0/glyphs/402653254/texture_idx = 0 +cache/0/16/0/glyphs/268435526/advance = Vector2(5.85938, 22.9375) +cache/0/16/0/glyphs/268435526/offset = Vector2(-1, -8) +cache/0/16/0/glyphs/268435526/size = Vector2(8, 9) +cache/0/16/0/glyphs/268435526/uv_rect = Rect2(186, 1, 8, 9) +cache/0/16/0/glyphs/268435526/texture_idx = 0 +cache/0/16/0/glyphs/268435528/advance = Vector2(5.26562, 22.9375) +cache/0/16/0/glyphs/268435528/offset = Vector2(-1, -8) +cache/0/16/0/glyphs/268435528/size = Vector2(8, 9) +cache/0/16/0/glyphs/268435528/uv_rect = Rect2(196, 1, 8, 9) +cache/0/16/0/glyphs/268435528/texture_idx = 0 +cache/0/16/0/glyphs/402653270/advance = Vector2(6.15625, 22.9375) +cache/0/16/0/glyphs/402653270/offset = Vector2(0, -8) +cache/0/16/0/glyphs/402653270/size = Vector2(8, 10) +cache/0/16/0/glyphs/402653270/uv_rect = Rect2(206, 1, 8, 10) +cache/0/16/0/glyphs/402653270/texture_idx = 0 +cache/0/16/0/glyphs/134217797/advance = Vector2(5.85938, 22.9375) +cache/0/16/0/glyphs/134217797/offset = Vector2(-1, -11) +cache/0/16/0/glyphs/134217797/size = Vector2(8, 12) +cache/0/16/0/glyphs/134217797/uv_rect = Rect2(216, 1, 8, 12) +cache/0/16/0/glyphs/134217797/texture_idx = 0 +cache/0/16/0/glyphs/268435532/advance = Vector2(2.26562, 22.9375) +cache/0/16/0/glyphs/268435532/offset = Vector2(-1, -11) +cache/0/16/0/glyphs/268435532/size = Vector2(5, 13) +cache/0/16/0/glyphs/268435532/uv_rect = Rect2(226, 1, 5, 13) +cache/0/16/0/glyphs/268435532/texture_idx = 0 +cache/0/16/0/glyphs/402653276/advance = Vector2(6, 22.9375) +cache/0/16/0/glyphs/402653276/offset = Vector2(-1, -9) +cache/0/16/0/glyphs/402653276/size = Vector2(9, 16) +cache/0/16/0/glyphs/402653276/uv_rect = Rect2(233, 1, 9, 16) +cache/0/16/0/glyphs/402653276/texture_idx = 0 +cache/0/16/0/kerning_overrides/16/0 = Vector2(0, 0) +cache/0/16/0/kerning_overrides/50/0 = Vector2(0, 0) +cache/0/16/0/kerning_overrides/30/0 = Vector2(0, 0) +cache/0/16/0/kerning_overrides/40/0 = Vector2(0, 0) +cache/0/16/0/kerning_overrides/37/0 = Vector2(0, 0) +cache/0/16/0/kerning_overrides/45/0 = Vector2(0, 0) +cache/0/16/0/kerning_overrides/18/0 = Vector2(0, 0) +cache/0/16/0/kerning_overrides/10/0 = Vector2(0, 0) cache/0/50/0/ascent = 52.0 cache/0/50/0/descent = 21.0 cache/0/50/0/underline_position = 4.98438 @@ -262,156 +412,6 @@ cache/0/50/0/kerning_overrides/37/0 = Vector2(0, 0) cache/0/50/0/kerning_overrides/45/0 = Vector2(0, 0) cache/0/50/0/kerning_overrides/18/0 = Vector2(0, 0) cache/0/50/0/kerning_overrides/10/0 = Vector2(0, 0) -cache/0/16/0/ascent = 17.0 -cache/0/16/0/descent = 7.0 -cache/0/16/0/underline_position = 1.59375 -cache/0/16/0/underline_thickness = 0.796875 -cache/0/16/0/scale = 1.0 -cache/0/16/0/textures/0/offsets = PackedInt32Array(243, 0, 13, 18) -cache/0/16/0/textures/0/image = SubResource("Image_gvbol") -cache/0/16/0/glyphs/83/advance = Vector2(7.09375, 22.9375) -cache/0/16/0/glyphs/83/offset = Vector2(-1, -8) -cache/0/16/0/glyphs/83/size = Vector2(9, 16) -cache/0/16/0/glyphs/83/uv_rect = Rect2(1, 1, 9, 16) -cache/0/16/0/glyphs/83/texture_idx = 0 -cache/0/16/0/glyphs/75/advance = Vector2(5.39062, 22.9375) -cache/0/16/0/glyphs/75/offset = Vector2(-1, -12) -cache/0/16/0/glyphs/75/size = Vector2(8, 14) -cache/0/16/0/glyphs/75/uv_rect = Rect2(12, 1, 8, 14) -cache/0/16/0/glyphs/75/texture_idx = 0 -cache/0/16/0/glyphs/92/advance = Vector2(6, 22.9375) -cache/0/16/0/glyphs/92/offset = Vector2(-1, -9) -cache/0/16/0/glyphs/92/size = Vector2(8, 16) -cache/0/16/0/glyphs/92/uv_rect = Rect2(22, 1, 8, 16) -cache/0/16/0/glyphs/92/texture_idx = 0 -cache/0/16/0/glyphs/86/advance = Vector2(6.15625, 22.9375) -cache/0/16/0/glyphs/86/offset = Vector2(-1, -8) -cache/0/16/0/glyphs/86/size = Vector2(8, 10) -cache/0/16/0/glyphs/86/uv_rect = Rect2(32, 1, 8, 10) -cache/0/16/0/glyphs/86/texture_idx = 0 -cache/0/16/0/glyphs/76/advance = Vector2(2.26562, 22.9375) -cache/0/16/0/glyphs/76/offset = Vector2(-1, -11) -cache/0/16/0/glyphs/76/size = Vector2(4, 13) -cache/0/16/0/glyphs/76/uv_rect = Rect2(42, 1, 4, 13) -cache/0/16/0/glyphs/76/texture_idx = 0 -cache/0/16/0/glyphs/70/advance = Vector2(5.85938, 22.9375) -cache/0/16/0/glyphs/70/offset = Vector2(-1, -8) -cache/0/16/0/glyphs/70/size = Vector2(8, 9) -cache/0/16/0/glyphs/70/uv_rect = Rect2(48, 1, 8, 9) -cache/0/16/0/glyphs/70/texture_idx = 0 -cache/0/16/0/glyphs/68/advance = Vector2(5.40625, 22.9375) -cache/0/16/0/glyphs/68/offset = Vector2(-1, -8) -cache/0/16/0/glyphs/68/size = Vector2(8, 9) -cache/0/16/0/glyphs/68/uv_rect = Rect2(58, 1, 8, 9) -cache/0/16/0/glyphs/68/texture_idx = 0 -cache/0/16/0/glyphs/79/advance = Vector2(2.26562, 22.9375) -cache/0/16/0/glyphs/79/offset = Vector2(-1, -13) -cache/0/16/0/glyphs/79/size = Vector2(4, 15) -cache/0/16/0/glyphs/79/uv_rect = Rect2(68, 1, 4, 15) -cache/0/16/0/glyphs/79/texture_idx = 0 -cache/0/16/0/glyphs/3/advance = Vector2(6, 22.9375) -cache/0/16/0/glyphs/3/offset = Vector2(-1, -1) -cache/0/16/0/glyphs/3/size = Vector2(2, 2) -cache/0/16/0/glyphs/3/uv_rect = Rect2(74, 1, 2, 2) -cache/0/16/0/glyphs/3/texture_idx = 0 -cache/0/16/0/glyphs/36/advance = Vector2(6.21875, 22.9375) -cache/0/16/0/glyphs/36/offset = Vector2(-1, -10) -cache/0/16/0/glyphs/36/size = Vector2(8, 11) -cache/0/16/0/glyphs/36/uv_rect = Rect2(78, 1, 8, 11) -cache/0/16/0/glyphs/36/texture_idx = 0 -cache/0/16/0/glyphs/72/advance = Vector2(5.26562, 22.9375) -cache/0/16/0/glyphs/72/offset = Vector2(-1, -8) -cache/0/16/0/glyphs/72/size = Vector2(7, 9) -cache/0/16/0/glyphs/72/uv_rect = Rect2(88, 1, 7, 9) -cache/0/16/0/glyphs/72/texture_idx = 0 -cache/0/16/0/glyphs/69/advance = Vector2(5.85938, 22.9375) -cache/0/16/0/glyphs/69/offset = Vector2(-1, -11) -cache/0/16/0/glyphs/69/size = Vector2(8, 12) -cache/0/16/0/glyphs/69/uv_rect = Rect2(97, 1, 8, 12) -cache/0/16/0/glyphs/69/texture_idx = 0 -cache/0/16/0/glyphs/87/advance = Vector2(5.9375, 22.9375) -cache/0/16/0/glyphs/87/offset = Vector2(-1, -10) -cache/0/16/0/glyphs/87/size = Vector2(8, 11) -cache/0/16/0/glyphs/87/uv_rect = Rect2(107, 1, 8, 11) -cache/0/16/0/glyphs/87/texture_idx = 0 -cache/0/16/0/glyphs/268435548/advance = Vector2(6, 22.9375) -cache/0/16/0/glyphs/268435548/offset = Vector2(-1, -9) -cache/0/16/0/glyphs/268435548/size = Vector2(9, 16) -cache/0/16/0/glyphs/268435548/uv_rect = Rect2(117, 1, 9, 16) -cache/0/16/0/glyphs/268435548/texture_idx = 0 -cache/0/16/0/glyphs/268435542/advance = Vector2(6.15625, 22.9375) -cache/0/16/0/glyphs/268435542/offset = Vector2(-1, -8) -cache/0/16/0/glyphs/268435542/size = Vector2(9, 10) -cache/0/16/0/glyphs/268435542/uv_rect = Rect2(128, 1, 9, 10) -cache/0/16/0/glyphs/268435542/texture_idx = 0 -cache/0/16/0/glyphs/402653260/advance = Vector2(2.26562, 22.9375) -cache/0/16/0/glyphs/402653260/offset = Vector2(-1, -11) -cache/0/16/0/glyphs/402653260/size = Vector2(5, 13) -cache/0/16/0/glyphs/402653260/uv_rect = Rect2(139, 1, 5, 13) -cache/0/16/0/glyphs/402653260/texture_idx = 0 -cache/0/16/0/glyphs/402653252/advance = Vector2(5.40625, 22.9375) -cache/0/16/0/glyphs/402653252/offset = Vector2(0, -8) -cache/0/16/0/glyphs/402653252/size = Vector2(7, 9) -cache/0/16/0/glyphs/402653252/uv_rect = Rect2(146, 1, 7, 9) -cache/0/16/0/glyphs/402653252/texture_idx = 0 -cache/0/16/0/glyphs/134217807/advance = Vector2(2.26562, 22.9375) -cache/0/16/0/glyphs/134217807/offset = Vector2(-1, -13) -cache/0/16/0/glyphs/134217807/size = Vector2(4, 15) -cache/0/16/0/glyphs/134217807/uv_rect = Rect2(155, 1, 4, 15) -cache/0/16/0/glyphs/134217807/texture_idx = 0 -cache/0/16/0/glyphs/268435459/advance = Vector2(6, 22.9375) -cache/0/16/0/glyphs/268435459/offset = Vector2(-1, -1) -cache/0/16/0/glyphs/268435459/size = Vector2(2, 2) -cache/0/16/0/glyphs/268435459/uv_rect = Rect2(161, 1, 2, 2) -cache/0/16/0/glyphs/268435459/texture_idx = 0 -cache/0/16/0/glyphs/268435492/advance = Vector2(6.21875, 22.9375) -cache/0/16/0/glyphs/268435492/offset = Vector2(-1, -10) -cache/0/16/0/glyphs/268435492/size = Vector2(9, 11) -cache/0/16/0/glyphs/268435492/uv_rect = Rect2(165, 1, 9, 11) -cache/0/16/0/glyphs/268435492/texture_idx = 0 -cache/0/16/0/glyphs/402653254/advance = Vector2(5.85938, 22.9375) -cache/0/16/0/glyphs/402653254/offset = Vector2(0, -8) -cache/0/16/0/glyphs/402653254/size = Vector2(8, 9) -cache/0/16/0/glyphs/402653254/uv_rect = Rect2(176, 1, 8, 9) -cache/0/16/0/glyphs/402653254/texture_idx = 0 -cache/0/16/0/glyphs/268435526/advance = Vector2(5.85938, 22.9375) -cache/0/16/0/glyphs/268435526/offset = Vector2(-1, -8) -cache/0/16/0/glyphs/268435526/size = Vector2(8, 9) -cache/0/16/0/glyphs/268435526/uv_rect = Rect2(186, 1, 8, 9) -cache/0/16/0/glyphs/268435526/texture_idx = 0 -cache/0/16/0/glyphs/268435528/advance = Vector2(5.26562, 22.9375) -cache/0/16/0/glyphs/268435528/offset = Vector2(-1, -8) -cache/0/16/0/glyphs/268435528/size = Vector2(8, 9) -cache/0/16/0/glyphs/268435528/uv_rect = Rect2(196, 1, 8, 9) -cache/0/16/0/glyphs/268435528/texture_idx = 0 -cache/0/16/0/glyphs/402653270/advance = Vector2(6.15625, 22.9375) -cache/0/16/0/glyphs/402653270/offset = Vector2(0, -8) -cache/0/16/0/glyphs/402653270/size = Vector2(8, 10) -cache/0/16/0/glyphs/402653270/uv_rect = Rect2(206, 1, 8, 10) -cache/0/16/0/glyphs/402653270/texture_idx = 0 -cache/0/16/0/glyphs/134217797/advance = Vector2(5.85938, 22.9375) -cache/0/16/0/glyphs/134217797/offset = Vector2(-1, -11) -cache/0/16/0/glyphs/134217797/size = Vector2(8, 12) -cache/0/16/0/glyphs/134217797/uv_rect = Rect2(216, 1, 8, 12) -cache/0/16/0/glyphs/134217797/texture_idx = 0 -cache/0/16/0/glyphs/268435532/advance = Vector2(2.26562, 22.9375) -cache/0/16/0/glyphs/268435532/offset = Vector2(-1, -11) -cache/0/16/0/glyphs/268435532/size = Vector2(5, 13) -cache/0/16/0/glyphs/268435532/uv_rect = Rect2(226, 1, 5, 13) -cache/0/16/0/glyphs/268435532/texture_idx = 0 -cache/0/16/0/glyphs/402653276/advance = Vector2(6, 22.9375) -cache/0/16/0/glyphs/402653276/offset = Vector2(-1, -9) -cache/0/16/0/glyphs/402653276/size = Vector2(9, 16) -cache/0/16/0/glyphs/402653276/uv_rect = Rect2(233, 1, 9, 16) -cache/0/16/0/glyphs/402653276/texture_idx = 0 -cache/0/16/0/kerning_overrides/16/0 = Vector2(0, 0) -cache/0/16/0/kerning_overrides/50/0 = Vector2(0, 0) -cache/0/16/0/kerning_overrides/30/0 = Vector2(0, 0) -cache/0/16/0/kerning_overrides/40/0 = Vector2(0, 0) -cache/0/16/0/kerning_overrides/37/0 = Vector2(0, 0) -cache/0/16/0/kerning_overrides/45/0 = Vector2(0, 0) -cache/0/16/0/kerning_overrides/18/0 = Vector2(0, 0) -cache/0/16/0/kerning_overrides/10/0 = Vector2(0, 0) cache/0/30/0/ascent = 31.0 cache/0/30/0/descent = 13.0 cache/0/30/0/underline_position = 2.98438 diff --git a/src/volunteer_room_visuals.tscn b/src/volunteer_room_visuals.tscn index 02978a5..bb4aec7 100644 --- a/src/volunteer_room_visuals.tscn +++ b/src/volunteer_room_visuals.tscn @@ -1,13 +1,11 @@ -[gd_scene load_steps=36 format=4 uid="uid://dwbhei5kywqbd"] +[gd_scene load_steps=24 format=4 uid="uid://dwbhei5kywqbd"] [ext_resource type="PackedScene" uid="uid://fcxu7diwgr4c" path="res://base-environments/volunteer_room/import/volunteer_room.glb" id="1_vdhc0"] [ext_resource type="Shader" uid="uid://dubyvbna30nhn" path="res://base-environments/volunteer_room/shaders/gem-artwork.gdshader" id="2_av5yv"] [ext_resource type="Material" uid="uid://co7yimfxy033l" path="res://base-environments/volunteer_room/import/textures/traffic_light.tres" id="2_tkbxk"] [ext_resource type="Texture2D" uid="uid://ve1gsrk7s242" path="res://base-environments/volunteer_room/import/volunteer_room_bing_bong.png" id="3_av5yv"] [ext_resource type="Texture2D" uid="uid://nu02kjr4xq3d" path="res://base-environments/volunteer_room/import/textures/gem-normal.png" id="4_favja"] -[ext_resource type="Shader" uid="uid://d324neibxpomg" path="res://base-environments/intro_scene/shaders/stars.gdshader" id="5_7klxs"] [ext_resource type="Material" uid="uid://ntd6toyfxqc3" path="res://base-environments/youth_room/import/materials/laptop.tres" id="5_7xm4m"] -[ext_resource type="Texture2D" uid="uid://dabnlcnuticww" path="res://base-environments/intro_scene/textures/sky_textures_2.png" id="6_7xm4m"] [ext_resource type="Texture2D" uid="uid://d0o4bf3igb2xo" path="res://base-environments/volunteer_room/import/textures/stickerbomb.png" id="6_cvxt7"] [ext_resource type="Texture2D" uid="uid://1rddkv82dus5" path="res://base-environments/volunteer_room/import/textures/stickerbomb_orm.png" id="7_ikoan"] [ext_resource type="Shader" uid="uid://c8cavj1kcen0b" path="res://base-environments/volunteer_room/import/shaders/fresnel_emission.gdshader" id="11_e7o7i"] @@ -56,91 +54,6 @@ dynamic_range = 3.0 propagation = 0.7 interior = true -[sub_resource type="Gradient" id="Gradient_5hnyp"] -interpolation_mode = 2 -offsets = PackedFloat32Array(0, 0.175337, 0.414258, 0.593449, 0.700565, 0.770713, 0.798493, 0.809793, 0.954802) -colors = PackedColorArray(0, 0, 0, 0, 0.003, 0.0047, 0.02, 0.584314, 0.02385, 0.009, 0.09, 0, 0.06228, 0.0312, 0.12, 1, 0.22, 0.055, 0.1815, 0, 0.816757, 0.155467, 0.208686, 0.819608, 0.0136439, 0.0237636, 0.0955315, 1, 0.0120242, 0.0120251, 0.0360567, 0.356863, 0.00319355, 0.00476964, 0.0186391, 0.313726) - -[sub_resource type="GradientTexture1D" id="GradientTexture1D_apxml"] -gradient = SubResource("Gradient_5hnyp") -use_hdr = true - -[sub_resource type="Gradient" id="Gradient_cvxt7"] -interpolation_mode = 2 -interpolation_color_space = 1 -offsets = PackedFloat32Array(0, 0.137476, 0.46516, 0.851224) -colors = PackedColorArray(0.127188, 0.325303, 0.352533, 1, 0.0512, 0.18112, 0.32, 1, 0.0406, 0.0530699, 0.29, 1, 0.106137, 0.0034, 0.17, 1) - -[sub_resource type="GradientTexture1D" id="GradientTexture1D_vetqo"] -gradient = SubResource("Gradient_cvxt7") -use_hdr = true - -[sub_resource type="Gradient" id="Gradient_ikoan"] -colors = PackedColorArray(0.85, 0.46325, 0.0765, 1, 0.825717, 0.47559, 0.983214, 1) - -[sub_resource type="GradientTexture1D" id="GradientTexture1D_8fou6"] -gradient = SubResource("Gradient_ikoan") - -[sub_resource type="ShaderMaterial" id="ShaderMaterial_d1agb"] -shader = ExtResource("5_7klxs") -shader_parameter/star_size = 120.0 -shader_parameter/star_colors = SubResource("GradientTexture1D_8fou6") -shader_parameter/sky_gradient = SubResource("GradientTexture1D_vetqo") -shader_parameter/nebula_gradient = SubResource("GradientTexture1D_apxml") -shader_parameter/nebula_offset = 0.5 -shader_parameter/universe_background = ExtResource("6_7xm4m") - -[sub_resource type="Sky" id="Sky_85fpg"] -sky_material = SubResource("ShaderMaterial_d1agb") - -[sub_resource type="Environment" id="Environment_06siq"] -background_mode = 2 -sky = SubResource("Sky_85fpg") -sky_rotation = Vector3(0, 0.352557, 0) -ambient_light_source = 3 -ambient_light_color = Color(1, 1, 1, 1) -reflected_light_source = 1 -tonemap_mode = 2 -tonemap_exposure = 0.7 -tonemap_white = 3.0 -ssr_max_steps = 512 -ssr_depth_tolerance = 0.01 -ssao_enabled = true -ssao_radius = 1.24 -ssao_intensity = 3.09 -ssao_power = 1.91184 -ssao_detail = 3.0 -ssil_radius = 2.0 -ssil_intensity = 0.5 -ssil_normal_rejection = 0.8 -sdfgi_use_occlusion = true -sdfgi_read_sky_light = false -sdfgi_min_cell_size = 0.009765625 -glow_enabled = true -glow_levels/2 = 0.3 -glow_levels/7 = 2.0 -glow_intensity = 0.4 -glow_strength = 0.7 -glow_bloom = 0.13 -glow_blend_mode = 1 -glow_hdr_threshold = 0.46 -fog_enabled = true -fog_light_color = Color(0.141176, 0.133333, 0.301961, 1) -fog_sky_affect = 0.0 -fog_height = 1.0 -fog_height_density = 0.1 - -[sub_resource type="CameraAttributesPractical" id="CameraAttributesPractical_tx1mx"] -exposure_multiplier = 4.0 -auto_exposure_enabled = true -auto_exposure_scale = 0.3 -dof_blur_far_distance = 0.4 -dof_blur_far_transition = 0.2 -dof_blur_near_distance = 6.0 -dof_blur_near_transition = 2.0 -dof_blur_amount = 0.0 -auto_exposure_max_sensitivity = 1200.0 - [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_7klxs"] emission_enabled = true emission = Color(1, 0.8155, 0.59000003, 1) @@ -231,11 +144,7 @@ subdiv = 2 size = Vector3(5.9588623, 2.9212036, 12.186417) data = SubResource("VoxelGIData_av5yv") -[node name="WorldEnvironment" type="WorldEnvironment" parent="VoxelGI" index="0"] -environment = SubResource("Environment_06siq") -camera_attributes = SubResource("CameraAttributesPractical_tx1mx") - -[node name="SpotLight3D" type="SpotLight3D" parent="VoxelGI" index="1"] +[node name="SpotLight3D" type="SpotLight3D" parent="VoxelGI" index="0"] transform = Transform3D(1, 0, 0, 0, -4.371139e-08, 1, 0, -1, -4.371139e-08, -2.1502504, 0.5578177, -4.596785) light_color = Color(1, 0.97333336, 0.84000003, 1) light_energy = 2.0 @@ -243,7 +152,7 @@ light_size = 0.1 shadow_enabled = true spot_angle = 63.74 -[node name="SpotLight3D3" type="SpotLight3D" parent="VoxelGI" index="2"] +[node name="SpotLight3D3" type="SpotLight3D" parent="VoxelGI" index="1"] transform = Transform3D(1, 0, 0, 0, -4.371139e-08, 1, 0, -1, -4.371139e-08, 2.4199271, 0.3115468, -5.199592) light_color = Color(0.8425, 1, 0.79, 1) light_energy = 2.0 @@ -252,7 +161,7 @@ light_specular = 0.2 shadow_enabled = true spot_angle = 80.24 -[node name="SpotLight3D2" type="SpotLight3D" parent="VoxelGI" index="3"] +[node name="SpotLight3D2" type="SpotLight3D" parent="VoxelGI" index="2"] transform = Transform3D(-0.9659258, 1.1313344e-08, -0.25881913, 0.25881913, 4.222196e-08, -0.9659258, 0, -1, -4.3711392e-08, -2.1502504, 0.8125906, -4.596785) light_color = Color(1, 0.97333336, 0.84000003, 1) light_size = 0.3 @@ -260,14 +169,14 @@ shadow_enabled = true shadow_blur = 0.1 spot_angle = 80.0 -[node name="MeshInstance3D" type="MeshInstance3D" parent="VoxelGI" index="4"] +[node name="MeshInstance3D" type="MeshInstance3D" parent="VoxelGI" index="3"] transform = Transform3D(0.3, 0, 0, 0, 0.5823262, 0, 0, 0, 0.3, -2.64367, 0.16572452, -0.55341434) visible = false material_override = SubResource("StandardMaterial3D_7klxs") mesh = SubResource("CylinderMesh_7xm4m") skeleton = NodePath("../SpotLight3D") -[node name="DirectionalLight3D" type="OmniLight3D" parent="VoxelGI" index="5"] +[node name="DirectionalLight3D" type="OmniLight3D" parent="VoxelGI" index="4"] transform = Transform3D(-0.9659258, 1.1313344e-08, -0.25881913, 0.25881913, 4.222196e-08, -0.9659258, 0, -1, -4.3711392e-08, 1.4147159, 1.0391436, -3.846341) light_color = Color(0.9328333, 1, 0.87, 1) shadow_enabled = true @@ -331,3 +240,5 @@ omni_range = 2.0 [node name="poster_fall" parent="." index="93"] material_override = ExtResource("15_00e8l") + +[node name="Camera3D" type="Camera3D" parent="." index="175"]