Merge remote-tracking branch 'origin/main' into adi_dev

This commit is contained in:
Adrian Schmid 2023-07-17 19:00:30 +02:00
commit acf7e29c20
76 changed files with 5525 additions and 16359 deletions

3
.gitattributes vendored
View File

@ -6,3 +6,6 @@
.glb filter=lfs diff=lfs merge=lfs -text .glb filter=lfs diff=lfs merge=lfs -text
*.wav filter=lfs diff=lfs merge=lfs -text *.wav filter=lfs diff=lfs merge=lfs -text
*.mp3 filter=lfs diff=lfs merge=lfs -text *.mp3 filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.exr filter=lfs diff=lfs merge=lfs -text
*.ogg filter=lfs diff=lfs merge=lfs -text

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 793 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
design/icon/frame-of-mind-icon.zip (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

BIN
design/icon/palette.ase Normal file

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 282 KiB

After

Width:  |  Height:  |  Size: 328 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 553 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 581 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 920 KiB

1569
design/steam-assets.svg Normal file

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 278 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 640 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 349 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 911 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 KiB

BIN
src/base-environments/youth_room/audio/Ambient 5.ogg (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,19 @@
[remap]
importer="oggvorbisstr"
type="AudioStreamOggVorbis"
uid="uid://c4clagpd3ril0"
path="res://.godot/imported/Ambient 5.ogg-bd63564cca4d6a8762979f74df5cc96d.oggvorbisstr"
[deps]
source_file="res://base-environments/youth_room/audio/Ambient 5.ogg"
dest_files=["res://.godot/imported/Ambient 5.ogg-bd63564cca4d6a8762979f74df5cc96d.oggvorbisstr"]
[params]
loop=false
loop_offset=0
bpm=0
beat_count=0
bar_beats=4

BIN
src/base-environments/youth_room/audio/draeven.ogg (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,19 @@
[remap]
importer="oggvorbisstr"
type="AudioStreamOggVorbis"
uid="uid://d1r1tvb1paup4"
path="res://.godot/imported/draeven.ogg-f2cd990bd1c11bdd8b59fe3f4d2ec30b.oggvorbisstr"
[deps]
source_file="res://base-environments/youth_room/audio/draeven.ogg"
dest_files=["res://.godot/imported/draeven.ogg-f2cd990bd1c11bdd8b59fe3f4d2ec30b.oggvorbisstr"]
[params]
loop=false
loop_offset=0
bpm=0
beat_count=0
bar_beats=4

View File

@ -1,13 +1,101 @@
[gd_resource type="StandardMaterial3D" load_steps=3 format=3 uid="uid://ct7uc5i5yp5qf"] [gd_resource type="ShaderMaterial" load_steps=5 format=3 uid="uid://ct7uc5i5yp5qf"]
[ext_resource type="Texture2D" uid="uid://c61ekclk8loxn" path="res://base-environments/youth_room/import/textures/red_plaster_weathered_rough_4k.png" id="1_2nxvx"] [ext_resource type="Texture2D" uid="uid://c61ekclk8loxn" path="res://base-environments/youth_room/import/textures/red_plaster_weathered_rough_4k.png" id="1_2nxvx"]
[ext_resource type="Texture2D" uid="uid://kf0vfm4sf0o3" path="res://base-environments/youth_room/import/textures/red_plaster_weathered_nor_gl_4k.png" id="2_80i0p"] [ext_resource type="Texture2D" uid="uid://kf0vfm4sf0o3" path="res://base-environments/youth_room/import/textures/red_plaster_weathered_nor_gl_4k.png" id="2_80i0p"]
[ext_resource type="Texture2D" uid="uid://5j0s45a8i0t5" path="res://logic-scenes/luna/textures/luna-wing-noise.exr" id="2_ufwkf"]
[sub_resource type="Shader" id="Shader_tevka"]
code = "// NOTE: Shader automatically converted from Godot Engine 4.0.3.stable's StandardMaterial3D.
shader_type spatial;
render_mode blend_mix,depth_draw_opaque,cull_back,diffuse_burley,specular_schlick_ggx;
uniform vec3 alpha_origin;
uniform float alpha_offset;
uniform vec3 emission_color: source_color;
uniform sampler2D texture_albedo : source_color,filter_linear_mipmap,repeat_enable;
uniform vec3 albedo: source_color;
uniform sampler2D texture_noise : source_color,filter_linear_mipmap,repeat_enable;
uniform float alpha_scissor_threshold;
uniform float point_size : hint_range(0,128);
uniform float roughness : hint_range(0,1);
uniform sampler2D texture_metallic : hint_default_white,filter_linear_mipmap,repeat_enable;
uniform sampler2D texture_roughness : hint_roughness_r,filter_linear_mipmap,repeat_enable;
uniform float specular;
uniform sampler2D texture_normal : hint_roughness_normal,filter_linear_mipmap,repeat_enable;
uniform float normal_scale : hint_range(-16,16);
varying vec3 uv1_triplanar_pos;
uniform float uv1_blend_sharpness;
varying vec3 uv1_power_normal;
uniform vec3 uv1_scale;
uniform vec3 uv1_offset;
uniform vec3 uv2_scale;
uniform vec3 uv2_offset;
void vertex() {
TANGENT = vec3(0.0,0.0,-1.0) * abs(NORMAL.x);
TANGENT+= vec3(1.0,0.0,0.0) * abs(NORMAL.y);
TANGENT+= vec3(1.0,0.0,0.0) * abs(NORMAL.z);
TANGENT = normalize(TANGENT);
BINORMAL = vec3(0.0,1.0,0.0) * abs(NORMAL.x);
BINORMAL+= vec3(0.0,0.0,-1.0) * abs(NORMAL.y);
BINORMAL+= vec3(0.0,1.0,0.0) * abs(NORMAL.z);
BINORMAL = normalize(BINORMAL);
uv1_power_normal=pow(abs(NORMAL),vec3(uv1_blend_sharpness));
uv1_triplanar_pos = VERTEX * uv1_scale + uv1_offset;
uv1_power_normal/=dot(uv1_power_normal,vec3(1.0));
uv1_triplanar_pos *= vec3(1.0,-1.0, 1.0);
}
vec4 triplanar_texture(sampler2D p_sampler,vec3 p_weights,vec3 p_triplanar_pos) {
vec4 samp=vec4(0.0);
samp+= texture(p_sampler,p_triplanar_pos.xy) * p_weights.z;
samp+= texture(p_sampler,p_triplanar_pos.xz) * p_weights.y;
samp+= texture(p_sampler,p_triplanar_pos.zy * vec2(-1.0,1.0)) * p_weights.x;
return samp;
}
void fragment() {
ALBEDO = albedo * pow(triplanar_texture(texture_albedo,uv1_power_normal,uv1_triplanar_pos).x, 0.2);
vec4 roughness_texture_channel = vec4(1.0,0.0,0.0,0.0);
float roughness_tex = dot(triplanar_texture(texture_roughness,uv1_power_normal,uv1_triplanar_pos),roughness_texture_channel);
ROUGHNESS = roughness_tex * roughness;
SPECULAR = specular;
NORMAL_MAP = triplanar_texture(texture_normal,uv1_power_normal,uv1_triplanar_pos).rgb;
NORMAL_MAP_DEPTH = normal_scale;
float alpha_distance = length(alpha_origin - (INV_VIEW_MATRIX * vec4(VERTEX, 1.0)).xyz) - alpha_offset;
alpha_distance += texture(texture_noise, UV + vec2(TIME * 0.05) + 0.2 * triplanar_texture(texture_noise,uv1_power_normal,uv1_triplanar_pos - vec3(TIME* 0.05)).xy).y * .15;
EMISSION = pow(max(1.5-alpha_distance, .0), 6.0 + alpha_scissor_threshold * 6.0) * emission_color;
ALPHA = alpha_distance;
ALPHA_SCISSOR_THRESHOLD = alpha_scissor_threshold;
}
"
[resource] [resource]
resource_name = "wall" resource_name = "wall"
vertex_color_use_as_albedo = true render_priority = 0
albedo_color = Color(0.92549, 0.898039, 0.858824, 1) shader = SubResource("Shader_tevka")
roughness_texture = ExtResource("1_2nxvx") shader_parameter/alpha_origin = Vector3(0.021, 2.336, -0.572)
normal_enabled = true shader_parameter/alpha_offset = -1.0
normal_texture = ExtResource("2_80i0p") shader_parameter/emission_color = Color(0.8, 0.0666667, 0.423529, 1)
uv1_triplanar = true shader_parameter/albedo = Color(1.02, 0.99, 0.86, 1)
shader_parameter/alpha_scissor_threshold = -0.3
shader_parameter/point_size = 1.0
shader_parameter/roughness = 1.0
shader_parameter/specular = 0.5
shader_parameter/normal_scale = 1.0
shader_parameter/uv1_blend_sharpness = 1.0
shader_parameter/uv1_scale = Vector3(1, 1, 1)
shader_parameter/uv1_offset = Vector3(0, 0, 0)
shader_parameter/uv2_scale = Vector3(1, 1, 1)
shader_parameter/uv2_offset = Vector3(0, 0, 0)
shader_parameter/texture_albedo = ExtResource("1_2nxvx")
shader_parameter/texture_noise = ExtResource("2_ufwkf")
shader_parameter/texture_roughness = ExtResource("1_2nxvx")
shader_parameter/texture_normal = ExtResource("2_80i0p")

View File

@ -12,7 +12,7 @@ dest_files=["res://.godot/imported/rain and thunder.mp3-30442d11a9118c3b34cbcb8b
[params] [params]
loop=false loop=true
loop_offset=0 loop_offset=0
bpm=0 bpm=0
beat_count=0 beat_count=0

View File

@ -14,6 +14,6 @@ dest_files=["res://.godot/imported/rain_on_window.mp3-664fb303575c9e9aa5fa1c106c
loop=true loop=true
loop_offset=1.0 loop_offset=1.0
bpm=0 bpm=82.0
beat_count=0 beat_count=42
bar_beats=4 bar_beats=4

View File

@ -30,9 +30,3 @@ func _update_scene(new_mode) -> int:
emit_signal("freeze") emit_signal("freeze")
return new_mode return new_mode
func _unhandled_input(event):
if event is InputEventMouseButton:
if event.pressed:
print("passed")
#State.pass_stage_to($PlayerController)

View File

@ -16,7 +16,7 @@ void fragment() {
dist += 1.0 / distance(vec2(NORMAL.x/stretch_compensatioon, UV.y), vec2(0.0, mod(-TIME*speed*UV.x+0.3, 1.0))); dist += 1.0 / distance(vec2(NORMAL.x/stretch_compensatioon, UV.y), vec2(0.0, mod(-TIME*speed*UV.x+0.3, 1.0)));
//dist = 0.0; //dist = 0.0;
dist += 1.5 / distance(vec2(NORMAL.x/stretch_compensatioon, UV.y), vec2(0.0, fill)); dist += 1.5 / distance(vec2(NORMAL.x/stretch_compensatioon, UV.y), vec2(0.0, fill));
dist += 2.0 / distance(vec2(NORMAL.x/stretch_compensatioon, UV2.x), vec2(0.0, 1.0)); dist += 1.5 / distance(vec2(NORMAL.x/stretch_compensatioon, UV2.x), vec2(0.0, 1.1));
ALBEDO = texture(gradient, UV2).xyz*brightness; ALBEDO = texture(gradient, UV2).xyz*brightness;
ALPHA = float(int(dist > 1.0/drop_size)); ALPHA = float(int(dist > 1.0/drop_size));

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,11 @@
[gd_resource type="AudioBusLayout" format=3 uid="uid://djkwd76o033io"] [gd_resource type="AudioBusLayout" load_steps=2 format=3 uid="uid://djkwd76o033io"]
[sub_resource type="AudioEffectLowPassFilter" id="AudioEffectLowPassFilter_5p17k"]
resource_name = "LowPassFilter"
resonance = 0.52
[resource] [resource]
bus/0/volume_db = 0.0672607
bus/1/name = &"text" bus/1/name = &"text"
bus/1/solo = false bus/1/solo = false
bus/1/mute = false bus/1/mute = false
@ -19,3 +24,11 @@ bus/3/mute = false
bus/3/bypass_fx = false bus/3/bypass_fx = false
bus/3/volume_db = -0.00384331 bus/3/volume_db = -0.00384331
bus/3/send = &"New Bus 3" bus/3/send = &"New Bus 3"
bus/4/name = &"outside-rain"
bus/4/solo = false
bus/4/mute = false
bus/4/bypass_fx = false
bus/4/volume_db = 6.02
bus/4/send = &"Master"
bus/4/effect/0/effect = SubResource("AudioEffectLowPassFilter_5p17k")
bus/4/effect/0/enabled = true

View File

@ -20,7 +20,6 @@ offset_bottom = 181.0
[node name="c_homework" parent="childhood" instance=ExtResource("1_xrckx")] [node name="c_homework" parent="childhood" instance=ExtResource("1_xrckx")]
text = "I never put in much effort for homework " text = "I never put in much effort for homework "
bounce_speed = 5.0
[node name="p_good_grades" parent="childhood/c_homework" groups=["c_body", "c_boy_stuff", "c_teachers"] instance=ExtResource("2_ucudl")] [node name="p_good_grades" parent="childhood/c_homework" groups=["c_body", "c_boy_stuff", "c_teachers"] instance=ExtResource("2_ucudl")]
position = Vector2(-32, 50) position = Vector2(-32, 50)
@ -33,7 +32,6 @@ text = "and my peers were upset about that."
[node name="c_teachers" parent="childhood" instance=ExtResource("1_xrckx")] [node name="c_teachers" parent="childhood" instance=ExtResource("1_xrckx")]
position = Vector2(0, 300) position = Vector2(0, 300)
text = "I like my teachers more than my classmates " text = "I like my teachers more than my classmates "
bounce_speed = 5.0
[node name="p_volunteering" parent="childhood/c_teachers" groups=["c_Joy", "c_backlash", "c_boy_stuff"] instance=ExtResource("2_ucudl")] [node name="p_volunteering" parent="childhood/c_teachers" groups=["c_Joy", "c_backlash", "c_boy_stuff"] instance=ExtResource("2_ucudl")]
position = Vector2(-32, 50) position = Vector2(-32, 50)
@ -46,7 +44,6 @@ text = "maybe I want to become a teacher."
[node name="c_Joy" parent="childhood" instance=ExtResource("1_xrckx")] [node name="c_Joy" parent="childhood" instance=ExtResource("1_xrckx")]
position = Vector2(0, 600) position = Vector2(0, 600)
text = "I can put ages into things I enjoy " text = "I can put ages into things I enjoy "
bounce_speed = 5.0
[node name="p_worried_mother" parent="childhood/c_Joy" groups=["c_body", "c_boy_stuff", "c_comic_heroes", "c_homework", "c_teachers"] instance=ExtResource("2_ucudl")] [node name="p_worried_mother" parent="childhood/c_Joy" groups=["c_body", "c_boy_stuff", "c_comic_heroes", "c_homework", "c_teachers"] instance=ExtResource("2_ucudl")]
position = Vector2(-32, 50) position = Vector2(-32, 50)
@ -65,7 +62,6 @@ offset_bottom = 141.0
[node name="c_comic_heroes" parent="voice_training" instance=ExtResource("1_xrckx")] [node name="c_comic_heroes" parent="voice_training" instance=ExtResource("1_xrckx")]
text = "Comic heroes are my role models " text = "Comic heroes are my role models "
bounce_speed = 5.0
[node name="p_effort" parent="voice_training/c_comic_heroes" groups=["c_Joy", "c_hit", "c_teachers"] instance=ExtResource("2_ucudl")] [node name="p_effort" parent="voice_training/c_comic_heroes" groups=["c_Joy", "c_hit", "c_teachers"] instance=ExtResource("2_ucudl")]
position = Vector2(-32, 50) position = Vector2(-32, 50)
@ -78,7 +74,6 @@ text = "and I want to be like agent q!"
[node name="c_boy_stuff" parent="voice_training" instance=ExtResource("1_xrckx")] [node name="c_boy_stuff" parent="voice_training" instance=ExtResource("1_xrckx")]
position = Vector2(0, 300) position = Vector2(0, 300)
text = "I like boy stuff " text = "I like boy stuff "
bounce_speed = 5.0
[node name="p_slut" parent="voice_training/c_boy_stuff" groups=["c_Joy", "c_body", "c_hit", "c_homework", "c_teachers"] instance=ExtResource("2_ucudl")] [node name="p_slut" parent="voice_training/c_boy_stuff" groups=["c_Joy", "c_body", "c_hit", "c_homework", "c_teachers"] instance=ExtResource("2_ucudl")]
position = Vector2(-32, 50) position = Vector2(-32, 50)
@ -91,7 +86,6 @@ text = "and girls don't get that."
[node name="c_backlash" parent="voice_training" instance=ExtResource("1_xrckx")] [node name="c_backlash" parent="voice_training" instance=ExtResource("1_xrckx")]
position = Vector2(0, 600) position = Vector2(0, 600)
text = "Despite the backlash, I protected Joyo in front of class " text = "Despite the backlash, I protected Joyo in front of class "
bounce_speed = 5.0
[node name="p_cross_friend" parent="voice_training/c_backlash" groups=["c_Joy", "c_boy_stuff", "c_comic_heroes", "c_hit"] instance=ExtResource("2_ucudl")] [node name="p_cross_friend" parent="voice_training/c_backlash" groups=["c_Joy", "c_boy_stuff", "c_comic_heroes", "c_hit"] instance=ExtResource("2_ucudl")]
position = Vector2(-32, 50) position = Vector2(-32, 50)
@ -110,7 +104,6 @@ offset_bottom = 141.0
[node name="c_body" parent="juijutsu" instance=ExtResource("1_xrckx")] [node name="c_body" parent="juijutsu" instance=ExtResource("1_xrckx")]
text = "my body makes me uncomfortable " text = "my body makes me uncomfortable "
bounce_speed = 5.0
[node name="p_boobs" parent="juijutsu/c_body" groups=["c_boy_stuff"] instance=ExtResource("2_ucudl")] [node name="p_boobs" parent="juijutsu/c_body" groups=["c_boy_stuff"] instance=ExtResource("2_ucudl")]
position = Vector2(-32, 50) position = Vector2(-32, 50)
@ -123,7 +116,6 @@ text = "I despise all the fat on my hips."
[node name="c_hit" parent="juijutsu" instance=ExtResource("1_xrckx")] [node name="c_hit" parent="juijutsu" instance=ExtResource("1_xrckx")]
position = Vector2(0, 300) position = Vector2(0, 300)
text = "I know how to properly hit people " text = "I know how to properly hit people "
bounce_speed = 5.0
[node name="p_confidence" parent="juijutsu/c_hit" groups=["c_Joy", "c_backlash", "c_boy_stuff", "c_comic_heroes", "c_homework"] instance=ExtResource("2_ucudl")] [node name="p_confidence" parent="juijutsu/c_hit" groups=["c_Joy", "c_backlash", "c_boy_stuff", "c_comic_heroes", "c_homework"] instance=ExtResource("2_ucudl")]
position = Vector2(-32, 50) position = Vector2(-32, 50)
@ -135,7 +127,6 @@ text = "and thats a great vent."
[node name="c_void" parent="juijutsu" instance=ExtResource("1_xrckx")] [node name="c_void" parent="juijutsu" instance=ExtResource("1_xrckx")]
position = Vector2(0, 600) position = Vector2(0, 600)
bounce_speed = 5.0
[node name="p_wet" parent="juijutsu/c_void" groups=["c_void"] instance=ExtResource("2_ucudl")] [node name="p_wet" parent="juijutsu/c_void" groups=["c_void"] instance=ExtResource("2_ucudl")]
position = Vector2(-32, 50) position = Vector2(-32, 50)
@ -153,7 +144,6 @@ offset_right = 1274.0
offset_bottom = 181.0 offset_bottom = 181.0
[node name="c_random1" parent="test" instance=ExtResource("1_xrckx")] [node name="c_random1" parent="test" instance=ExtResource("1_xrckx")]
bounce_speed = 5.0
[node name="p_random11" parent="test/c_random1" groups=["c_boy_stuff"] instance=ExtResource("2_ucudl")] [node name="p_random11" parent="test/c_random1" groups=["c_boy_stuff"] instance=ExtResource("2_ucudl")]
position = Vector2(-32, 50) position = Vector2(-32, 50)
@ -165,7 +155,6 @@ text = "random 1"
[node name="c_pick" parent="test" instance=ExtResource("1_xrckx")] [node name="c_pick" parent="test" instance=ExtResource("1_xrckx")]
position = Vector2(0, 300) position = Vector2(0, 300)
bounce_speed = 5.0
[node name="p_pick" parent="test/c_pick" groups=["c_Joy", "c_backlash", "c_boy_stuff", "c_comic_heroes", "c_homework"] instance=ExtResource("2_ucudl")] [node name="p_pick" parent="test/c_pick" groups=["c_Joy", "c_backlash", "c_boy_stuff", "c_comic_heroes", "c_homework"] instance=ExtResource("2_ucudl")]
position = Vector2(-32, 50) position = Vector2(-32, 50)
@ -177,7 +166,6 @@ text = "you done goofed"
[node name="c_random2" parent="test" instance=ExtResource("1_xrckx")] [node name="c_random2" parent="test" instance=ExtResource("1_xrckx")]
position = Vector2(0, 600) position = Vector2(0, 600)
bounce_speed = 5.0
[node name="p_random21" parent="test/c_random2" groups=["c_void"] instance=ExtResource("2_ucudl")] [node name="p_random21" parent="test/c_random2" groups=["c_void"] instance=ExtResource("2_ucudl")]
position = Vector2(-32, 50) position = Vector2(-32, 50)

View File

@ -5,13 +5,11 @@ extends Area3D
func _process(_delta): func _process(_delta):
var camera = get_viewport().get_camera_3d() var camera = get_viewport().get_camera_3d()
# Look in the same direction as the camera
var look = camera.to_global(Vector3(0, 0, -100)) - camera.global_transform.origin
look = position + look
look = Vector3(look.x, 0, look.z) var up = (camera.global_position - global_position)
up = up.cross(Vector3.UP).cross(up)
look_at(look, Vector3.UP) look_at(global_position - (camera.global_position - global_position), up)
func _unhandled_input(event): func _unhandled_input(event):
viewport.push_input(event) viewport.push_input(event)
@ -34,6 +32,5 @@ func _on_input_event(_camera: Camera3D, event: InputEvent, pos: Vector3, _normal
func _on_button_pressed(): func _on_button_pressed():
print("Button pressed") print("Button pressed")
func _on_line_edit_text_submitted(new_text): func _on_line_edit_text_submitted(new_text):
print("Text submitted: ", new_text) print("Text submitted: ", new_text)

132
src/disclaimer.tscn Normal file
View File

@ -0,0 +1,132 @@
[gd_scene load_steps=7 format=3 uid="uid://6aaxpvoepqrm"]
[ext_resource type="Texture2D" uid="uid://d0ucjqi8tx6vt" path="res://import/interface-elements/frame.png" id="1_wpq8h"]
[ext_resource type="Texture2D" uid="uid://bwicl5q0lw06q" path="res://import/interface-elements/bottom.png" id="2_bktn7"]
[ext_resource type="FontFile" uid="uid://cb66e4mqysgf8" path="res://import/fonts/title_handwriting.tres" id="2_rmsdo"]
[sub_resource type="GDScript" id="GDScript_nkjm2"]
script/source = "extends Panel
signal on_read
func _ready():
$childhood/PanelContainer/VBoxContainer/Start.grab_focus()
func _on_start_pressed():
emit_signal(\"on_read\")
hide()
"
[sub_resource type="GDScript" id="GDScript_tb2ju"]
script/source = "extends Button
func _pressed():
OS.shell_open(\"https://gitlab.com/betalars/frame-of-mind/-/wikis/home\")
"
[sub_resource type="GDScript" id="GDScript_m3ofj"]
script/source = "extends Button
func _pressed():
OS.shell_open(\"https://gitlab.com/betalars/frame-of-mind/-/blob/main/design/contributions.md\")
"
[node name="Disclaimer" type="Panel"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = SubResource("GDScript_nkjm2")
[node name="childhood" type="CenterContainer" parent="."]
self_modulate = Color(1, 1, 1, 0.923078)
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="PanelContainer" type="PanelContainer" parent="childhood"]
layout_mode = 2
mouse_filter = 1
[node name="StartFrame" type="TextureRect" parent="childhood/PanelContainer"]
custom_minimum_size = Vector2(0, 900)
layout_mode = 2
size_flags_vertical = 0
texture = ExtResource("1_wpq8h")
expand_mode = 2
stretch_mode = 4
[node name="Panel" type="PanelContainer" parent="childhood/PanelContainer/StartFrame"]
show_behind_parent = true
layout_mode = 2
offset_left = 199.0
offset_top = -112.0
offset_right = 1039.0
offset_bottom = 697.0
rotation = 0.459022
mouse_filter = 1
[node name="VBoxContainer" type="VBoxContainer" parent="childhood/PanelContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="childhood/PanelContainer/VBoxContainer"]
layout_mode = 2
theme_type_variation = &"HeaderLarge"
text = "Welcome to the frame of mind alpha"
[node name="Label2" type="Label" parent="childhood/PanelContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
text = "Thank you for participating in our public alpha. The goal is to see if the premise of our game works, if the mechanics are interesting and, if the game makes sense.
We would like to inform you: especially the acessibility settings right now are not functional. This will be our main focus while we wait for the first batch of alpha feedback.
There are also no save-games yet.
Frame of Mind uses a Creative Commons Non Commercial Share Alike 4.0 license. You can use the game and it's assets freely, as long as you also contribute back to the creative Commons Community. Feel free to reach out if you need a commercial License.
Twokinds is created by Thomas J. Fischbach, who granted us permission to use it in a Creative Commons Project."
autowrap_mode = 3
visible_characters_behavior = 1
[node name="Start" type="Button" parent="childhood/PanelContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
theme_override_fonts/font = ExtResource("2_rmsdo")
theme_override_font_sizes/font_size = 50
text = "Start the alpha!"
[node name="Label3" type="Label" parent="childhood/PanelContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
text = "the following links will take you to gilab.com"
horizontal_alignment = 1
autowrap_mode = 3
visible_characters_behavior = 1
[node name="Button3" type="Button" parent="childhood/PanelContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
text = "Show me the Wiki"
script = SubResource("GDScript_tb2ju")
[node name="Button2" type="Button" parent="childhood/PanelContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
text = "Show me Creative Commons Projects,
that are used by the game."
script = SubResource("GDScript_m3ofj")
[node name="StartBottom" type="TextureRect" parent="childhood/PanelContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 64)
layout_mode = 2
size_flags_vertical = 8
texture = ExtResource("2_bktn7")
expand_mode = 2
stretch_mode = 4
[connection signal="pressed" from="childhood/PanelContainer/VBoxContainer/Start" to="." method="_on_start_pressed"]

File diff suppressed because one or more lines are too long

View File

@ -93,7 +93,7 @@ func _process(delta: float) -> void:
if highlighted: if highlighted:
_handle_wiggle(delta) _handle_wiggle(delta)
if get_overlapping_areas().size() > 0: if get_overlapping_areas().size() > 0 and is_dragable:
for area in get_overlapping_areas(): for area in get_overlapping_areas():
if area is Card or area is CardCollider: if area is Card or area is CardCollider:
if area is CardCollider: if area is CardCollider:
@ -114,6 +114,7 @@ func replace_with(card: Card):
self.compatible_postits = card.compatible_postits self.compatible_postits = card.compatible_postits
self.own_postits = card.own_postits self.own_postits = card.own_postits
self.voice_line = card.voice_line self.voice_line = card.voice_line
self.name = card.name
func _on_focus_entered(): func _on_focus_entered():
print(self, "is focused") print(self, "is focused")

View File

@ -147,7 +147,6 @@ func _process(_delta):
[node name="card" type="Area2D"] [node name="card" type="Area2D"]
script = ExtResource("1_emip0") script = ExtResource("1_emip0")
bounce_speed = null
metadata/type = "card" metadata/type = "card"
[node name="CollisionShape2D" type="CollisionShape2D" parent="."] [node name="CollisionShape2D" type="CollisionShape2D" parent="."]

View File

@ -139,7 +139,18 @@ rotation = 1.5708
shape = SubResource("RectangleShape2D_ivo5o") shape = SubResource("RectangleShape2D_ivo5o")
[node name="emptyText" type="Label" parent="."] [node name="emptyText" type="Label" parent="."]
modulate = Color(0, 0, 0, 1)
layout_mode = 2 layout_mode = 2
text = "Bitte nicht wundern!" theme_override_font_sizes/font_size = 50
text = "Collect mementos to fill board with cards."
horizontal_alignment = 1
vertical_alignment = 1
[node name="disclaimer" type="Label" parent="."]
modulate = Color(0, 0, 0, 1)
layout_mode = 2
size_flags_vertical = 0
theme_override_font_sizes/font_size = 40
text = "alpha: Gamepad compatibility is limited. Using a mouse to move cards is advised."
horizontal_alignment = 1 horizontal_alignment = 1
vertical_alignment = 1 vertical_alignment = 1

View File

@ -15,15 +15,15 @@ var has_stage = false:
set(focus): set(focus):
if not focus == has_stage: if not focus == has_stage:
if focus: if focus:
for player in anim_players: player.play("reveal") if selection_state == INI or CARDS:
selection_state = CARDS # fixme for player in anim_players: player.play("reveal")
self.show() self.show()
self.mouse_filter = Control.MOUSE_FILTER_IGNORE self.mouse_filter = Control.MOUSE_FILTER_IGNORE
else: else:
self.mouse_filter = Control.MOUSE_FILTER_STOP self.mouse_filter = Control.MOUSE_FILTER_STOP
self.hide()
has_stage = focus has_stage = focus
visible = has_stage
var selection_state = INI var selection_state = INI
var input_locked = true var input_locked = true
@ -56,14 +56,14 @@ func _ready():
options.append(control.get_child(1)) options.append(control.get_child(1))
anim_players.append(control.get_child(0)) anim_players.append(control.get_child(0))
fill_card_slots() fill_card_slots(0)
input_locked = false input_locked = false
func fill_card_slots(): func fill_card_slots(id: int):
for i in range($cards.get_child_count()): for i in range($cards.get_child_count()):
var card:Card = $cards.get_child(i).get_child(1) var card:Card = $cards.get_child(i).get_child(1)
card.replace_with(debug_board.get_child(0).get_child(i) as Card) card.replace_with(debug_board.get_child(id).get_child(i) as Card)
card.connect("mouse_entered", Callable(self, "get_highlight")) card.connect("mouse_entered", Callable(self, "get_highlight"))
func fill_post_slots(): func fill_post_slots():
@ -83,6 +83,8 @@ func _unhandled_input(event):
curr_selection_id += 1 curr_selection_id += 1
if event.is_action_pressed("ui_accept"): if event.is_action_pressed("ui_accept"):
pick(curr_selection_id) pick(curr_selection_id)
if event.is_action_pressed("ui_end"):
scene_finished(1)
func pick(id: int): func pick(id: int):
if id == -1: if id == -1:
@ -151,3 +153,12 @@ func handle_mouse_button(new_selection: Node, button_event: InputEventMouseButto
if not input_locked: if not input_locked:
if button_event.button_index == MOUSE_BUTTON_LEFT and button_event.pressed: if button_event.button_index == MOUSE_BUTTON_LEFT and button_event.pressed:
pick(options.find(new_selection)) pick(options.find(new_selection))
func scene_finished(id: int):
fill_card_slots(id)
State.transition_stage_to(self)
selection_state = CARDS
func play_scene(_id):
pass

View File

@ -1539,7 +1539,6 @@ libraries = {
[node name="post-it" parent="postIts/postIt_1" instance=ExtResource("3_ggbxq")] [node name="post-it" parent="postIts/postIt_1" instance=ExtResource("3_ggbxq")]
text = "Post 1" text = "Post 1"
metadata/type = "post-it"
[node name="postIt_2" type="Control" parent="postIts"] [node name="postIt_2" type="Control" parent="postIts"]
layout_mode = 2 layout_mode = 2
@ -1556,7 +1555,6 @@ libraries = {
[node name="post-it" parent="postIts/postIt_2" instance=ExtResource("3_ggbxq")] [node name="post-it" parent="postIts/postIt_2" instance=ExtResource("3_ggbxq")]
text = "Post 2" text = "Post 2"
metadata/type = "post-it"
[node name="postIt_3" type="Control" parent="postIts"] [node name="postIt_3" type="Control" parent="postIts"]
layout_mode = 2 layout_mode = 2
@ -1573,7 +1571,6 @@ libraries = {
[node name="post-it" parent="postIts/postIt_3" instance=ExtResource("3_ggbxq")] [node name="post-it" parent="postIts/postIt_3" instance=ExtResource("3_ggbxq")]
text = "Post 3" text = "Post 3"
metadata/type = "post-it"
[node name="postIt_4" type="Control" parent="postIts"] [node name="postIt_4" type="Control" parent="postIts"]
layout_mode = 2 layout_mode = 2
@ -1590,7 +1587,6 @@ libraries = {
[node name="post-it" parent="postIts/postIt_4" instance=ExtResource("3_ggbxq")] [node name="post-it" parent="postIts/postIt_4" instance=ExtResource("3_ggbxq")]
text = "Post 4" text = "Post 4"
metadata/type = "post-it"
[node name="board of devs" parent="." instance=ExtResource("4_1kvte")] [node name="board of devs" parent="." instance=ExtResource("4_1kvte")]
visible = false visible = false

View File

@ -47,15 +47,15 @@ class_name Collectable_Ui
if set_collected: if set_collected:
$Panel/Content/Buttons/VBoxContainer/put_back.show() $Panel/Content/Buttons/VBoxContainer/put_back.show()
if is_story: if is_story:
$Content/Buttons/VBoxContainer/put_back.disabled = true $Panel/Content/Buttons/VBoxContainer/put_back.disabled = true
$Content/Buttons/VBoxContainer/collect_or_listen.text = "listen again" $Panel/Content/Buttons/VBoxContainer/collect_or_listen.text = "listen again"
if State.allow_skipping: if State.allow_skipping:
$Content/Buttons/VBoxContainer/skip.text = "discard cards (skip)" $Panel/Content/Buttons/VBoxContainer/skip.text = "discard cards (skip)"
else: else:
$Content/Buttons/VBoxContainer/collect_or_listen.disabled = true $Panel/Content/Buttons/VBoxContainer/collect_or_listen.disabled = true
$Content/Buttons/VBoxContainer/put_back.show() $Panel/Content/Buttons/VBoxContainer/put_back.show()
else: else:
$Content/Buttons/VBoxContainer/collect_or_listen.disabled = false $Panel/Content/Buttons/VBoxContainer/collect_or_listen.disabled = false
@export var skipped: bool = false @export var skipped: bool = false
@ -63,13 +63,13 @@ class_name Collectable_Ui
set(new_name): set(new_name):
item_name = new_name item_name = new_name
if is_inside_tree(): if is_inside_tree():
$Content/Name.text = new_name $Panel/Content/Name.text = new_name
@export var content_notes: String = "": @export var content_notes: String = "":
set(new_notes): set(new_notes):
content_notes = new_notes content_notes = new_notes
if is_inside_tree(): if is_inside_tree():
$Content/Name.text = new_notes $Panel/Content/ContentNotes.text = new_notes
signal card_collected signal card_collected
@ -80,6 +80,9 @@ func _ready():
#$Panel/Content/Buttons/VBoxContainer/skip.visible = State.allow_skipping #$Panel/Content/Buttons/VBoxContainer/skip.visible = State.allow_skipping
if visible and not collapsed: _show_buttons() if visible and not collapsed: _show_buttons()
item_name = item_name
content_notes = content_notes
func _hide_buttons(): func _hide_buttons():
if is_inside_tree(): if is_inside_tree():
if not State.reduce_motion: $AnimationPlayer.play_backwards("show_buttons") if not State.reduce_motion: $AnimationPlayer.play_backwards("show_buttons")

View File

@ -110,7 +110,6 @@ layout_mode = 2
[node name="Name" type="Label" parent="Panel/Content"] [node name="Name" type="Label" parent="Panel/Content"]
layout_mode = 2 layout_mode = 2
theme_type_variation = &"HeaderLarge" theme_type_variation = &"HeaderLarge"
text = "old Mask"
horizontal_alignment = 1 horizontal_alignment = 1
[node name="ContentNotes" type="RichTextLabel" parent="Panel/Content"] [node name="ContentNotes" type="RichTextLabel" parent="Panel/Content"]
@ -118,9 +117,6 @@ visible = false
custom_minimum_size = Vector2(256, 0) custom_minimum_size = Vector2(256, 0)
layout_mode = 2 layout_mode = 2
bbcode_enabled = true bbcode_enabled = true
text = "[center] Content Notes:
Food, Blood, Gore, Whatever, I need a second line.
[/center]"
fit_content = true fit_content = true
[node name="Buttons" type="ScrollContainer" parent="Panel/Content"] [node name="Buttons" type="ScrollContainer" parent="Panel/Content"]

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,15 @@
shader_type spatial;
render_mode blend_add, specular_disabled, ambient_light_disabled, unshaded, cull_disabled;
uniform sampler2D borealis_texture: source_color;
uniform sampler2D borealis_noise;
uniform float speed = 0.05;
uniform float brightnes = 0.5;
void fragment() {
vec2 noise = texture(borealis_noise, pow(vec2(UV2.x, UV.y) * 0.50, vec2(1,3)) + vec2(0, TIME * speed)).xy - 0.6;
vec3 color = pow(texture(borealis_texture, UV2 + vec2(0, TIME * speed) + noise * .3).xyz, vec3(0.5)) * texture(borealis_texture, clamp(UV + noise * vec2(.2, .1), vec2(0), vec2(1))).aaa;
ALBEDO = pow(color, 0.7 + vec3(texture(borealis_noise, UV2 * 0.5 + noise).r)) * brightnes;
//ALBEDO = color * texture(borealis_noise, UV2 * 0.5 + noise).r * brightnes;
FOG = vec4(.0);
}

View File

@ -0,0 +1,98 @@
[gd_scene load_steps=9 format=3 uid="uid://bpjympn3ps3wo"]
[ext_resource type="PackedScene" uid="uid://t6opo6kuctpa" path="res://logic-scenes/luna/Luna_frame-of-mind.glb" id="1_07610"]
[ext_resource type="Texture2D" uid="uid://da2mxcrij7i86" path="res://logic-scenes/luna/textures/luna_gradient_albedo.png" id="2_m561j"]
[ext_resource type="Texture2D" uid="uid://c0ak1q3rr2a23" path="res://logic-scenes/luna/textures/luna_gradients_emit.png" id="3_pog0u"]
[ext_resource type="Shader" path="res://logic-scenes/luna/aurora-borealis.gdshader" id="4_sqggi"]
[ext_resource type="Texture2D" uid="uid://5j0s45a8i0t5" path="res://logic-scenes/luna/textures/luna-wing-noise.exr" id="5_2ltas"]
[ext_resource type="Texture2D" uid="uid://drt35fcxc77ec" path="res://logic-scenes/luna/textures/luna-wing-color.exr" id="6_w77kp"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_jdvnl"]
render_priority = -1
albedo_texture = ExtResource("2_m561j")
roughness = 0.87
emission_enabled = true
emission_energy_multiplier = 3.0
emission_texture = ExtResource("3_pog0u")
rim_enabled = true
rim = 0.7
rim_tint = 0.43
[sub_resource type="ShaderMaterial" id="ShaderMaterial_corh6"]
render_priority = 0
shader = ExtResource("4_sqggi")
shader_parameter/speed = 0.03
shader_parameter/brightnes = 0.5
shader_parameter/borealis_texture = ExtResource("6_w77kp")
shader_parameter/borealis_noise = ExtResource("5_2ltas")
[node name="Luna_frame-of-mind" instance=ExtResource("1_07610")]
[node name="Skeleton3D" parent="Armature" index="0"]
bones/0/position = Vector3(-0.187994, 4.21912, 1.71359)
bones/1/rotation = Quaternion(-0.00800295, 0.666343, 0.745557, 0.00824266)
bones/2/rotation = Quaternion(-0.344788, -0.0031023, -0.0110357, 0.93861)
bones/3/rotation = Quaternion(-0.0731975, -7.22702e-07, -1.61684e-07, 0.997317)
bones/4/rotation = Quaternion(0.174645, -0.000716595, 0.0114354, 0.984565)
bones/5/rotation = Quaternion(0.262592, -0.00301958, 0.0110949, 0.964838)
bones/7/rotation = Quaternion(0.874801, 4.04545e-08, 3.88894e-07, 0.484482)
bones/10/rotation = Quaternion(-0.274258, 0.254325, -0.644558, 0.666817)
bones/11/rotation = Quaternion(0.260631, -0.199895, -0.0374492, 0.943775)
bones/12/rotation = Quaternion(-0.273696, -0.254907, 0.644846, 0.666548)
bones/13/rotation = Quaternion(0.264151, 0.127262, 0.0248805, 0.955725)
bones/14/rotation = Quaternion(-0.266757, 0.216151, -0.661854, 0.666385)
bones/15/rotation = Quaternion(0.288677, -0.109555, -0.0313993, 0.95062)
bones/16/rotation = Quaternion(-0.262439, -0.220442, 0.664262, 0.664294)
bones/17/rotation = Quaternion(0.288677, 0.109555, 0.0313993, 0.95062)
bones/18/rotation = Quaternion(-0.124394, 0.377147, -0.601008, 0.693596)
bones/19/rotation = Quaternion(0.250437, -0.0829353, -0.0376093, 0.963841)
bones/20/rotation = Quaternion(-0.12178, -0.3803, 0.601894, 0.691567)
bones/21/rotation = Quaternion(0.250437, 0.0829353, 0.0376093, 0.963841)
bones/22/rotation = Quaternion(-0.0139982, 0.509283, -0.540477, 0.669567)
bones/23/rotation = Quaternion(-0.0139984, -0.509284, 0.540477, 0.669566)
bones/24/rotation = Quaternion(-0.00188939, -0.633461, 0.77377, 0.00158338)
bones/25/rotation = Quaternion(0.35176, -0.0081339, -0.00289724, 0.936049)
bones/26/rotation = Quaternion(0.238766, -0.0160995, -0.00439587, 0.970934)
bones/27/rotation = Quaternion(0.306783, -0.0055833, -0.00179968, 0.951761)
bones/28/rotation = Quaternion(0.312199, 0.0184795, 0.00602322, 0.949818)
bones/29/rotation = Quaternion(0.0104325, -0.000287792, 0.0275741, 0.999565)
bones/30/rotation = Quaternion(-0.336831, 0.00795559, 0.0222318, 0.941269)
bones/33/rotation = Quaternion(-0.202744, 0.00253904, 0.014258, 0.979125)
bones/34/rotation = Quaternion(0.0618553, -0.000387624, 0.0144738, 0.99798)
bones/35/rotation = Quaternion(0.10719, -0.000593479, 0.0144359, 0.994133)
bones/36/rotation = Quaternion(0.111581, -0.000414339, 0.014432, 0.99365)
bones/37/rotation = Quaternion(-0.673891, 0.00975898, 0.0106972, 0.738688)
bones/38/rotation = Quaternion(0.0528573, -0.000765092, 0.0144529, 0.998496)
bones/39/rotation = Quaternion(-0.471249, 0.371812, 0.774518, 0.199506)
bones/40/rotation = Quaternion(-0.0365673, -0.116745, -0.178178, 0.976363)
bones/41/rotation = Quaternion(-0.0178014, -0.0612402, -0.111425, 0.991724)
bones/42/rotation = Quaternion(-0.505493, 0.352609, 0.711574, 0.337349)
bones/43/rotation = Quaternion(-0.0491758, -0.0114654, -0.107075, 0.992968)
bones/44/rotation = Quaternion(-0.0496002, 0.0018404, -0.122169, 0.991267)
bones/45/rotation = Quaternion(-0.540775, 0.270486, 0.626793, 0.491458)
bones/46/rotation = Quaternion(-0.10312, -0.0188764, -0.118195, 0.987441)
bones/47/rotation = Quaternion(-0.0560919, -0.000887505, -0.0771941, 0.995437)
bones/48/rotation = Quaternion(-0.601496, 0.0197315, 0.517776, 0.608046)
bones/49/rotation = Quaternion(-0.0756999, 0.222035, -0.0605041, 0.970211)
bones/50/rotation = Quaternion(-0.139589, 0.0586197, -0.0728648, 0.985784)
bones/51/rotation = Quaternion(-0.471249, -0.371812, -0.774518, 0.199506)
bones/52/rotation = Quaternion(-0.0365673, 0.116746, 0.178178, 0.976363)
bones/53/rotation = Quaternion(-0.0362102, 0.0591609, 0.112543, 0.991223)
bones/54/rotation = Quaternion(-0.505491, -0.352612, -0.711573, 0.33735)
bones/55/rotation = Quaternion(-0.0491425, 0.0114689, 0.107074, 0.992969)
bones/56/rotation = Quaternion(-0.0496002, -0.00184038, 0.122169, 0.991267)
bones/57/rotation = Quaternion(-0.540763, -0.270501, -0.626786, 0.491471)
bones/58/rotation = Quaternion(-0.10312, 0.0188764, 0.118195, 0.987441)
bones/59/rotation = Quaternion(-0.0560773, 0.000888665, 0.0771939, 0.995435)
bones/60/rotation = Quaternion(-0.601496, -0.0197316, -0.517777, 0.608046)
bones/61/rotation = Quaternion(-0.0756927, -0.222034, 0.0605057, 0.970211)
bones/62/rotation = Quaternion(-0.139385, -0.0586047, 0.0728769, 0.985813)
[node name="Loona_main" parent="Armature/Skeleton3D" index="0"]
surface_material_override/0 = SubResource("StandardMaterial3D_jdvnl")
[node name="wings" parent="Armature/Skeleton3D" index="1"]
surface_material_override/0 = SubResource("ShaderMaterial_corh6")
[node name="AnimationPlayer" parent="." index="1"]
autoplay = "luna_idle"

BIN
src/logic-scenes/luna/textures/luna-wing-color.exr (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://drt35fcxc77ec"
path.bptc="res://.godot/imported/luna-wing-color.exr-78894bc6a534749bb01a7c2e23deacc5.bptc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://logic-scenes/luna/textures/luna-wing-color.exr"
dest_files=["res://.godot/imported/luna-wing-color.exr-78894bc6a534749bb01a7c2e23deacc5.bptc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=false
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=0

BIN
src/logic-scenes/luna/textures/luna-wing-noise.exr (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://5j0s45a8i0t5"
path.bptc="res://.godot/imported/luna-wing-noise.exr-968477f9e2d3150411952f44466b98ba.bptc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://logic-scenes/luna/textures/luna-wing-noise.exr"
dest_files=["res://.godot/imported/luna-wing-noise.exr-968477f9e2d3150411952f44466b98ba.bptc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
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=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://da2mxcrij7i86"
path.bptc="res://.godot/imported/luna_gradient_albedo.png-cc8229e7c277762a8332b21a6d5e8da6.bptc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://logic-scenes/luna/textures/luna_gradient_albedo.png"
dest_files=["res://.godot/imported/luna_gradient_albedo.png-cc8229e7c277762a8332b21a6d5e8da6.bptc.ctex"]
[params]
compress/mode=2
compress/high_quality=true
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
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=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c0ak1q3rr2a23"
path.bptc="res://.godot/imported/luna_gradients_emit.png-66a867345291cc9745ab5f117b593979.bptc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://logic-scenes/luna/textures/luna_gradients_emit.png"
dest_files=["res://.godot/imported/luna_gradients_emit.png-66a867345291cc9745ab5f117b593979.bptc.ctex"]
[params]
compress/mode=2
compress/high_quality=true
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
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=0

View File

@ -74,7 +74,7 @@ func _process(_delta):
emit_signal("ui_entered") emit_signal("ui_entered")
has_entered = true has_entered = true
if has_entered: if has_entered and has_stage:
if focus_ray.get_collider() == null: if focus_ray.get_collider() == null:
emit_signal("ui_exited") emit_signal("ui_exited")
has_entered = false has_entered = false
@ -163,6 +163,10 @@ func _input(event:InputEvent):
if !Input.is_mouse_button_pressed(MOUSE_BUTTON_LEFT): if !Input.is_mouse_button_pressed(MOUSE_BUTTON_LEFT):
State.take_stage(self, true) State.take_stage(self, true)
func play_scene(id: int):
if id == Scenes.id.YOUTH_DRAEVEN:
var rotation_tween = create_tween()
func _on_bed_enter(_body): func _on_bed_enter(_body):
if not (crouched or on_crouch_cooldown): if not (crouched or on_crouch_cooldown):
$PlayerAnimationPlayer.queue("crouch") $PlayerAnimationPlayer.queue("crouch")

View File

@ -118,6 +118,7 @@ transform = Transform3D(1, 0, 0, 0, 0.642787, -0.766044, 0, 0.766044, 0.642787,
[node name="Camera3D" type="Camera3D" parent="Yaw/Pitch/Mount"] [node name="Camera3D" type="Camera3D" parent="Yaw/Pitch/Mount"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.202, 0.157) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.202, 0.157)
cull_mask = 3
current = true current = true
[node name="RayCast3D" type="RayCast3D" parent="Yaw/Pitch/Mount/Camera3D"] [node name="RayCast3D" type="RayCast3D" parent="Yaw/Pitch/Mount/Camera3D"]

View File

@ -1,10 +1,18 @@
[gd_scene load_steps=9 format=3 uid="uid://gldtxysavetf"] [gd_scene load_steps=10 format=3 uid="uid://gldtxysavetf"]
[ext_resource type="Texture2D" uid="uid://d0ucjqi8tx6vt" path="res://import/interface-elements/frame.png" id="1_8giso"] [ext_resource type="Texture2D" uid="uid://d0ucjqi8tx6vt" path="res://import/interface-elements/frame.png" id="1_8giso"]
[ext_resource type="Theme" uid="uid://b056fn288p8ha" path="res://logic-scenes/themes/messy.theme" id="1_b01tw"] [ext_resource type="Theme" uid="uid://b056fn288p8ha" path="res://logic-scenes/themes/messy.theme" id="1_b01tw"]
[ext_resource type="Script" path="res://logic-scenes/startup/volume_sliders.gd" id="3_q2gbh"] [ext_resource type="Script" path="res://logic-scenes/startup/volume_sliders.gd" id="3_q2gbh"]
[ext_resource type="Texture2D" uid="uid://bwicl5q0lw06q" path="res://import/interface-elements/bottom.png" id="3_s5ssh"] [ext_resource type="Texture2D" uid="uid://bwicl5q0lw06q" path="res://import/interface-elements/bottom.png" id="3_s5ssh"]
[sub_resource type="GDScript" id="GDScript_a78qq"]
script/source = "extends Panel
func starting():
$\"CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility/navbuttons/Next\".grab_focus()
"
[sub_resource type="GDScript" id="GDScript_ia432"] [sub_resource type="GDScript" id="GDScript_ia432"]
script/source = "extends TabContainer script/source = "extends TabContainer
@ -82,6 +90,7 @@ anchor_bottom = 1.0
grow_horizontal = 2 grow_horizontal = 2
grow_vertical = 2 grow_vertical = 2
theme = ExtResource("1_b01tw") theme = ExtResource("1_b01tw")
script = SubResource("GDScript_a78qq")
[node name="Label" type="Label" parent="."] [node name="Label" type="Label" parent="."]
layout_mode = 1 layout_mode = 1

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=9 format=3 uid="uid://befxf8uruwnrl"] [gd_scene load_steps=10 format=3 uid="uid://befxf8uruwnrl"]
[ext_resource type="Texture2D" uid="uid://balmcptv73l2j" path="res://dev-util/menu_background.png" id="1_0oiki"] [ext_resource type="Texture2D" uid="uid://balmcptv73l2j" path="res://dev-util/menu_background.png" id="1_0oiki"]
[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"]
@ -6,6 +6,7 @@
[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"]
[ext_resource type="Texture2D" uid="uid://d3ewjumh0b0g6" path="res://logic-scenes/main menu/logo.png" id="4_kslkj"] [ext_resource type="Texture2D" uid="uid://d3ewjumh0b0g6" path="res://logic-scenes/main menu/logo.png" id="4_kslkj"]
[ext_resource type="Script" path="res://logic-scenes/main menu/Main Menu.gd" id="4_vj0j6"] [ext_resource type="Script" path="res://logic-scenes/main menu/Main Menu.gd" id="4_vj0j6"]
[ext_resource type="PackedScene" uid="uid://6aaxpvoepqrm" path="res://disclaimer.tscn" id="7_t45fc"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_njt06"] [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_njt06"]
@ -27,10 +28,8 @@ grow_horizontal = 2
grow_vertical = 2 grow_vertical = 2
texture = ExtResource("1_0oiki") texture = ExtResource("1_0oiki")
[node name="Startup Menu" parent="." instance=ExtResource("1_v5rpm")]
visible = false
[node name="youth room" parent="." instance=ExtResource("2_23ia3")] [node name="youth room" parent="." instance=ExtResource("2_23ia3")]
visible = false
[node name="Main Menu" type="Panel" parent="."] [node name="Main Menu" type="Panel" parent="."]
anchors_preset = 15 anchors_preset = 15
@ -77,5 +76,10 @@ offset_right = 40.0
offset_bottom = 35.0 offset_bottom = 35.0
script = SubResource("GDScript_8sq0u") script = SubResource("GDScript_8sq0u")
[node name="Startup Menu" parent="." instance=ExtResource("1_v5rpm")]
[node name="Disclaimer" parent="." instance=ExtResource("7_t45fc")]
[connection signal="pressed" from="Main Menu/PanelContainer/Button" to="youth room" method="start"] [connection signal="pressed" from="Main Menu/PanelContainer/Button" to="youth room" method="start"]
[connection signal="pressed" from="Main Menu/PanelContainer/Button" to="Main Menu" method="hide"] [connection signal="pressed" from="Main Menu/PanelContainer/Button" to="Main Menu" method="hide"]
[connection signal="on_read" from="Disclaimer" to="Startup Menu" method="starting"]

View File

@ -4,6 +4,7 @@ enum id {
YOUTH_CHILDHOOD, YOUTH_CHILDHOOD,
YOUTH_VOICE_TRAINING, YOUTH_VOICE_TRAINING,
YOUTH_JUI_JUTSU, YOUTH_JUI_JUTSU,
YOUTH_DRAEVEN,
ADULT_DND, ADULT_DND,
ADULD_VOLUNTARY, ADULD_VOLUNTARY,
ADULD_CHRISTMAS ADULD_CHRISTMAS

126
src/thank-you.tscn Normal file
View File

@ -0,0 +1,126 @@
[gd_scene load_steps=6 format=3 uid="uid://citwb7f4dl3l1"]
[ext_resource type="Texture2D" uid="uid://d0ucjqi8tx6vt" path="res://import/interface-elements/frame.png" id="1_picwm"]
[ext_resource type="FontFile" uid="uid://cb66e4mqysgf8" path="res://import/fonts/title_handwriting.tres" id="2_jb5y5"]
[ext_resource type="Texture2D" uid="uid://bwicl5q0lw06q" path="res://import/interface-elements/bottom.png" id="3_oob40"]
[sub_resource type="GDScript" id="GDScript_d32iw"]
script/source = "extends Button
func _pressed():
OS.shell_open(\"https://gitlab.com/betalars/frame-of-mind/-/wikis/home\")
"
[sub_resource type="GDScript" id="GDScript_m3ofj"]
script/source = "extends Button
func _pressed():
OS.shell_open(\"https://gitlab.com/betalars/frame-of-mind/-/blob/main/design/contributions.md\")
"
[node name="ending" type="Panel"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="childhood" type="CenterContainer" parent="."]
self_modulate = Color(1, 1, 1, 0.923078)
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="PanelContainer" type="PanelContainer" parent="childhood"]
layout_mode = 2
mouse_filter = 1
[node name="StartFrame" type="TextureRect" parent="childhood/PanelContainer"]
custom_minimum_size = Vector2(0, 900)
layout_mode = 2
size_flags_vertical = 0
texture = ExtResource("1_picwm")
expand_mode = 2
stretch_mode = 4
[node name="Panel" type="PanelContainer" parent="childhood/PanelContainer/StartFrame"]
show_behind_parent = true
layout_mode = 2
offset_left = 199.0
offset_top = -112.0
offset_right = 1039.0
offset_bottom = 697.0
rotation = 0.459022
mouse_filter = 1
[node name="VBoxContainer" type="VBoxContainer" parent="childhood/PanelContainer"]
layout_mode = 2
[node name="HSeparator" type="HSeparator" parent="childhood/PanelContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 20)
layout_mode = 2
[node name="Label" type="Label" parent="childhood/PanelContainer/VBoxContainer"]
layout_mode = 2
theme_type_variation = &"HeaderLarge"
text = "Thanks for Playing"
horizontal_alignment = 1
[node name="Label2" type="Label" parent="childhood/PanelContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
text = "By testing the alpha, you help us make the game as good as it can get.
Frame of mind is
made by betalars
They were suppored by:
Adrian Schmid and tilcreator - programming
Jas Arianna - voice acting
STTLE - OST
Frame of Mind was created in godot 4.
Special thanks to:
Jenny, nek0, map-c, Svenja, caesey, Milo, Francis, Sandro, Christoph
and to the contributers of blender, godot and inkscape.
frame of mind is published by purple sloth games."
horizontal_alignment = 1
autowrap_mode = 3
visible_characters_behavior = 1
[node name="Button" type="Button" parent="childhood/PanelContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
theme_override_fonts/font = ExtResource("2_jb5y5")
theme_override_font_sizes/font_size = 50
text = "Quit and fill out the Survey"
script = SubResource("GDScript_d32iw")
[node name="Label3" type="Label" parent="childhood/PanelContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
text = "on cryptpad.fr"
horizontal_alignment = 1
autowrap_mode = 3
visible_characters_behavior = 1
[node name="Button2" type="Button" parent="childhood/PanelContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
text = "These Creative Commons projects made frame of mind possible."
script = SubResource("GDScript_m3ofj")
[node name="StartBottom" type="TextureRect" parent="childhood/PanelContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 64)
layout_mode = 2
size_flags_vertical = 8
texture = ExtResource("3_oob40")
expand_mode = 2
stretch_mode = 4