Merge commit 'a2e2e56afc636b2d38a6bd8378f85f32f8e00498' into raeven

This commit is contained in:
betalars 2023-12-03 16:05:06 +01:00
commit 89f44e2f3f
27 changed files with 135 additions and 45 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bblv1y6l4re8y"
path="res://.godot/imported/star.png-8963d4096c36d0531880a451c851e16d.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://base-environments/intro_scene/textures/star.png"
dest_files=["res://.godot/imported/star.png-8963d4096c36d0531880a451c851e16d.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View File

@ -22,6 +22,7 @@ meshes/generate_lods=true
meshes/create_shadow_meshes=true meshes/create_shadow_meshes=true
meshes/light_baking=1 meshes/light_baking=1
meshes/lightmap_texel_size=0.2 meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true skins/use_named_skins=true
animation/import=true animation/import=true
animation/fps=30 animation/fps=30
@ -36,4 +37,5 @@ _subresources={
} }
} }
} }
gltf/naming_version=0
gltf/embedded_image_handling=1 gltf/embedded_image_handling=1

View File

@ -22,6 +22,7 @@ meshes/generate_lods=true
meshes/create_shadow_meshes=true meshes/create_shadow_meshes=true
meshes/light_baking=1 meshes/light_baking=1
meshes/lightmap_texel_size=0.2 meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true skins/use_named_skins=true
animation/import=true animation/import=true
animation/fps=30 animation/fps=30
@ -72,4 +73,5 @@ _subresources={
} }
} }
} }
gltf/naming_version=0
gltf/embedded_image_handling=1 gltf/embedded_image_handling=1

View File

@ -22,6 +22,7 @@ meshes/generate_lods=true
meshes/create_shadow_meshes=true meshes/create_shadow_meshes=true
meshes/light_baking=1 meshes/light_baking=1
meshes/lightmap_texel_size=0.2 meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true skins/use_named_skins=true
animation/import=true animation/import=true
animation/fps=30 animation/fps=30
@ -48,4 +49,5 @@ _subresources={
} }
} }
} }
gltf/naming_version=0
gltf/embedded_image_handling=1 gltf/embedded_image_handling=1

View File

@ -22,6 +22,7 @@ meshes/generate_lods=true
meshes/create_shadow_meshes=true meshes/create_shadow_meshes=true
meshes/light_baking=1 meshes/light_baking=1
meshes/lightmap_texel_size=0.2 meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true skins/use_named_skins=true
animation/import=true animation/import=true
animation/fps=30 animation/fps=30
@ -52,4 +53,5 @@ _subresources={
} }
} }
} }
gltf/naming_version=0
gltf/embedded_image_handling=1 gltf/embedded_image_handling=1

View File

@ -22,6 +22,7 @@ meshes/generate_lods=true
meshes/create_shadow_meshes=true meshes/create_shadow_meshes=true
meshes/light_baking=1 meshes/light_baking=1
meshes/lightmap_texel_size=0.2 meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true skins/use_named_skins=true
animation/import=true animation/import=true
animation/fps=30 animation/fps=30
@ -168,4 +169,5 @@ _subresources={
} }
} }
} }
gltf/naming_version=0
gltf/embedded_image_handling=1 gltf/embedded_image_handling=1

View File

@ -114,10 +114,10 @@ skeleton = NodePath("")
[node name="AnimationPlayer" type="AnimationPlayer" parent="."] [node name="AnimationPlayer" type="AnimationPlayer" parent="."]
root_node = NodePath("../raising") root_node = NodePath("../raising")
autoplay = "lavalamp"
libraries = { libraries = {
"": SubResource("AnimationLibrary_88lyq") "": SubResource("AnimationLibrary_88lyq")
} }
autoplay = "lavalamp"
[node name="falling" type="MeshInstance3D" parent="."] [node name="falling" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.188474, 0) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.188474, 0)

View File

@ -31,9 +31,17 @@ func _update_scene(new_mode) -> int:
return new_mode return new_mode
func is_self(node: Node) -> bool:
return self == node
func get_ready(): func get_ready():
self.show() self.show()
$sfx/distant_rain.play() $sfx/distant_rain.play()
$"sfx/rain on window".play() $"sfx/rain on window".play()
await get_tree().create_timer(0.1).timeout await get_tree().create_timer(0.1).timeout
$logic/UI/board.hide() $logic/UI/board.hide()
func _ready():
if get_parent() == get_tree().root:
get_ready()
start()

File diff suppressed because one or more lines are too long

View File

@ -10,11 +10,11 @@ script/source = "extends Panel
signal on_read signal on_read
func _ready(): func _ready():
$childhood/PanelContainer/VBoxContainer/Start.grab_focus() $childhood/PanelContainer/VBoxContainer/Start.grab_focus()
func _on_start_pressed(): func _on_start_pressed():
emit_signal(\"on_read\") emit_signal(\"on_read\")
hide() hide()
" "
[sub_resource type="GDScript" id="GDScript_tb2ju"] [sub_resource type="GDScript" id="GDScript_tb2ju"]

View File

@ -73,7 +73,8 @@ var mementos_collected: int = 0:
if not currently_active_node == null: if not currently_active_node == null:
currently_active_node.highlighted = false currently_active_node.highlighted = false
currently_active_node = new_node currently_active_node = new_node
currently_active_node.highlighted = true if not currently_active_node == null:
currently_active_node.highlighted = true
@onready var current_dropzone_id: int = 0: @onready var current_dropzone_id: int = 0:
set(new_id): set(new_id):

View File

@ -96,30 +96,28 @@ point_count = 3
curve = SubResource("Curve_q6cmf") curve = SubResource("Curve_q6cmf")
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_by44l"] [sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_by44l"]
particle_flag_disable_z = true
emission_shape = 6 emission_shape = 6
emission_ring_axis = Vector3(0, 0, 1) emission_ring_axis = Vector3(0, 0, 1)
emission_ring_height = 0.0 emission_ring_height = 0.0
emission_ring_radius = 180.0 emission_ring_radius = 180.0
emission_ring_inner_radius = 185.0 emission_ring_inner_radius = 185.0
particle_flag_disable_z = true
spread = 180.0 spread = 180.0
gravity = Vector3(0, 0, 0)
initial_velocity_min = -10.0 initial_velocity_min = -10.0
initial_velocity_max = 10.0 initial_velocity_max = 10.0
angular_velocity_min = -150.0 angular_velocity_min = -150.0
angular_velocity_max = -150.0 angular_velocity_max = -150.0
orbit_velocity_min = 0.0 gravity = Vector3(0, 0, 0)
orbit_velocity_max = 0.0
radial_accel_min = -20.0 radial_accel_min = -20.0
radial_accel_max = -5.0 radial_accel_max = -5.0
tangential_accel_min = 20.0 tangential_accel_min = 20.0
tangential_accel_max = 30.0 tangential_accel_max = 30.0
attractor_interaction_enabled = false
scale_min = 3.0 scale_min = 3.0
scale_max = 5.0 scale_max = 5.0
scale_curve = SubResource("CurveTexture_cg0w1") scale_curve = SubResource("CurveTexture_cg0w1")
color_ramp = SubResource("GradientTexture1D_xxq8p") color_ramp = SubResource("GradientTexture1D_xxq8p")
turbulence_noise_strength = 0.1 turbulence_noise_strength = 0.1
attractor_interaction_enabled = false
[sub_resource type="GDScript" id="GDScript_vjwk7"] [sub_resource type="GDScript" id="GDScript_vjwk7"]
script/source = "extends GPUParticles2D script/source = "extends GPUParticles2D

View File

@ -1568,10 +1568,10 @@ offset_bottom = -150.0
[node name="AnimationPlayer" type="AnimationPlayer" parent="sticky_notes/sticky_note_1"] [node name="AnimationPlayer" type="AnimationPlayer" parent="sticky_notes/sticky_note_1"]
root_node = NodePath(".") root_node = NodePath(".")
autoplay = "ini"
libraries = { libraries = {
"": SubResource("AnimationLibrary_ga4dm") "": SubResource("AnimationLibrary_ga4dm")
} }
autoplay = "ini"
[node name="sticky-note" parent="sticky_notes/sticky_note_1" instance=ExtResource("3_ggbxq")] [node name="sticky-note" parent="sticky_notes/sticky_note_1" instance=ExtResource("3_ggbxq")]
text = "Post 1" text = "Post 1"
@ -1584,10 +1584,10 @@ offset_bottom = -50.0
[node name="AnimationPlayer" type="AnimationPlayer" parent="sticky_notes/sticky_note_2"] [node name="AnimationPlayer" type="AnimationPlayer" parent="sticky_notes/sticky_note_2"]
root_node = NodePath(".") root_node = NodePath(".")
autoplay = "ini"
libraries = { libraries = {
"": SubResource("AnimationLibrary_sxnmi") "": SubResource("AnimationLibrary_sxnmi")
} }
autoplay = "ini"
[node name="sticky-note" parent="sticky_notes/sticky_note_2" instance=ExtResource("3_ggbxq")] [node name="sticky-note" parent="sticky_notes/sticky_note_2" instance=ExtResource("3_ggbxq")]
text = "Post 2" text = "Post 2"
@ -1600,10 +1600,10 @@ offset_bottom = 50.0
[node name="AnimationPlayer" type="AnimationPlayer" parent="sticky_notes/sticky_note_3"] [node name="AnimationPlayer" type="AnimationPlayer" parent="sticky_notes/sticky_note_3"]
root_node = NodePath(".") root_node = NodePath(".")
autoplay = "ini"
libraries = { libraries = {
"": SubResource("AnimationLibrary_xs06v") "": SubResource("AnimationLibrary_xs06v")
} }
autoplay = "ini"
[node name="sticky-note" parent="sticky_notes/sticky_note_3" instance=ExtResource("3_ggbxq")] [node name="sticky-note" parent="sticky_notes/sticky_note_3" instance=ExtResource("3_ggbxq")]
text = "Post 3" text = "Post 3"
@ -1616,10 +1616,10 @@ offset_bottom = 150.0
[node name="AnimationPlayer" type="AnimationPlayer" parent="sticky_notes/sticky_note_4"] [node name="AnimationPlayer" type="AnimationPlayer" parent="sticky_notes/sticky_note_4"]
root_node = NodePath(".") root_node = NodePath(".")
autoplay = "ini"
libraries = { libraries = {
"": SubResource("AnimationLibrary_tdl1s") "": SubResource("AnimationLibrary_tdl1s")
} }
autoplay = "ini"
[node name="sticky-note" parent="sticky_notes/sticky_note_4" instance=ExtResource("3_ggbxq")] [node name="sticky-note" parent="sticky_notes/sticky_note_4" instance=ExtResource("3_ggbxq")]
text = "Post 4" text = "Post 4"

View File

@ -22,6 +22,7 @@ meshes/generate_lods=true
meshes/create_shadow_meshes=true meshes/create_shadow_meshes=true
meshes/light_baking=1 meshes/light_baking=1
meshes/lightmap_texel_size=0.2 meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true skins/use_named_skins=true
animation/import=true animation/import=true
animation/fps=30 animation/fps=30
@ -48,4 +49,5 @@ _subresources={
} }
} }
} }
gltf/naming_version=0
gltf/embedded_image_handling=1 gltf/embedded_image_handling=1

View File

@ -22,6 +22,7 @@ meshes/generate_lods=true
meshes/create_shadow_meshes=true meshes/create_shadow_meshes=true
meshes/light_baking=1 meshes/light_baking=1
meshes/lightmap_texel_size=0.2 meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true skins/use_named_skins=true
animation/import=true animation/import=true
animation/fps=30 animation/fps=30
@ -1831,4 +1832,5 @@ _subresources={
} }
} }
} }
gltf/naming_version=0
gltf/embedded_image_handling=1 gltf/embedded_image_handling=1

17
src/main.gd Normal file
View File

@ -0,0 +1,17 @@
extends Node3D
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
func debug_youth():
get_child(1).hide()
get_child(2).hide()
get_child(3).hide()
get_child(0).get_ready()
get_child(0).start()
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
pass

View File

@ -1,5 +1,6 @@
[gd_scene load_steps=9 format=3 uid="uid://befxf8uruwnrl"] [gd_scene load_steps=10 format=3 uid="uid://befxf8uruwnrl"]
[ext_resource type="Script" path="res://main.gd" id="1_rqkns"]
[ext_resource type="PackedScene" uid="uid://gldtxysavetf" path="res://logic-scenes/startup/startup.tscn" id="1_v5rpm"] [ext_resource type="PackedScene" uid="uid://gldtxysavetf" path="res://logic-scenes/startup/startup.tscn" id="1_v5rpm"]
[ext_resource type="PackedScene" uid="uid://b3b0gyvklqn50" path="res://base-environments/youth_room/youth_room.tscn" id="2_23ia3"] [ext_resource type="PackedScene" uid="uid://b3b0gyvklqn50" path="res://base-environments/youth_room/youth_room.tscn" id="2_23ia3"]
[ext_resource type="Theme" uid="uid://b056fn288p8ha" path="res://logic-scenes/themes/messy.theme" id="3_8hrj7"] [ext_resource type="Theme" uid="uid://b056fn288p8ha" path="res://logic-scenes/themes/messy.theme" id="3_8hrj7"]
@ -17,6 +18,7 @@ func _process(_delta):
" "
[node name="root" type="Node3D"] [node name="root" type="Node3D"]
script = ExtResource("1_rqkns")
[node name="youth room" parent="." instance=ExtResource("2_23ia3")] [node name="youth room" parent="." instance=ExtResource("2_23ia3")]

View File

@ -12,7 +12,7 @@ config_version=5
config/name="Frame of Mind" config/name="Frame of Mind"
run/main_scene="res://main.tscn" run/main_scene="res://main.tscn"
config/features=PackedStringArray("4.1", "Forward Plus") config/features=PackedStringArray("4.2", "Forward Plus")
run/max_fps=60 run/max_fps=60
boot_splash/bg_color=Color(0.0313726, 0.0117647, 0.129412, 1) boot_splash/bg_color=Color(0.0313726, 0.0117647, 0.129412, 1)
boot_splash/image="res://splash.png" boot_splash/image="res://splash.png"

View File

@ -27,8 +27,8 @@ gradient = SubResource("Gradient_c8r4y")
emission_shape = 1 emission_shape = 1
emission_sphere_radius = 0.2 emission_sphere_radius = 0.2
spread = 180.0 spread = 180.0
gravity = Vector3(0, 0.02, 0)
initial_velocity_max = 0.2 initial_velocity_max = 0.2
gravity = Vector3(0, 0.02, 0)
color_ramp = SubResource("GradientTexture1D_2vogp") color_ramp = SubResource("GradientTexture1D_2vogp")
color_initial_ramp = SubResource("GradientTexture1D_d2t20") color_initial_ramp = SubResource("GradientTexture1D_d2t20")
turbulence_enabled = true turbulence_enabled = true