Developing theming for a11y settings, initialising blobal state singleton

This commit is contained in:
betalars 2023-03-09 22:54:22 +01:00
parent 63397c7424
commit 38e4f25dea
21 changed files with 1103 additions and 35 deletions

View File

@ -0,0 +1,188 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="1024"
height="1024"
viewBox="0 0 270.93333 270.93333"
version="1.1"
id="svg5"
xml:space="preserve"
inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
sodipodi:docname="interface-elements.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"><sodipodi:namedview
id="namedview7"
pagecolor="#505050"
bordercolor="#eeeeee"
borderopacity="1"
inkscape:showpageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#505050"
inkscape:document-units="px"
showgrid="false"
inkscape:zoom="0.64693624"
inkscape:cx="1021.739"
inkscape:cy="499.2764"
inkscape:window-width="3840"
inkscape:window-height="2095"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="layer1"><inkscape:page
x="0"
y="0"
width="270.93332"
height="270.93332"
id="page2413" /><inkscape:page
x="270.93333"
y="0"
width="458.03536"
height="270.93333"
id="page2415"
inkscape:export-filename="../src/logic-scenes/startup/start_frame.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96" /></sodipodi:namedview><defs
id="defs2" /><g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"><text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-size:135.176px;line-height:0;font-family:'Big Shoulders Display';-inkscape-font-specification:'Big Shoulders Display Light';text-align:center;text-anchor:middle;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:3.37939"
x="135.77025"
y="156.6647"
id="text314"><tspan
sodipodi:role="line"
style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;line-height:1;font-family:'Big Shoulders Display';-inkscape-font-specification:'Big Shoulders Display Light';text-align:center;letter-spacing:7.31185px;text-anchor:middle;fill:#ffffff;stroke-width:3.37939"
x="135.77025"
y="156.6647"
id="tspan310" /><tspan
sodipodi:role="line"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:97.4913px;line-height:0.8;font-family:'Big Shoulders Display';-inkscape-font-specification:'Big Shoulders Display';text-align:center;letter-spacing:3.52803px;text-anchor:middle;fill:#ffffff;stroke-width:3.37939"
x="137.53426"
y="251.11269"
id="tspan312">of mind</tspan></text><text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:178.095px;line-height:0;font-family:Gugi;-inkscape-font-specification:Gugi;text-align:center;letter-spacing:-4.41007px;text-anchor:middle;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:4.4524"
x="121.46421"
y="159.96553"
id="text332"><tspan
sodipodi:role="line"
style="font-style:normal;font-variant:normal;font-weight:100;font-stretch:normal;font-size:178.095px;line-height:1;font-family:'Big Shoulders Display';-inkscape-font-specification:'Big Shoulders Display Thin';text-align:center;text-anchor:middle;fill:#ffffff;stroke-width:4.4524"
x="119.25918"
y="159.96553"
id="tspan330">frame</tspan></text><circle
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.88201"
id="path1635"
cx="245.5961"
cy="27.288404"
r="4.1040325" /><g
id="g2097"
transform="matrix(3.3335842,0,0,3.3335842,-329.28429,634.01843)"><path
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.23514px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 131.91697,-184.26728 c 0,0 3.50978,-0.42122 7.56209,1.07037 3.26933,1.20338 4.73639,-0.87261 6.89307,-1.10432 2.15669,-0.2317 3.61031,0.71099 2.9412,1.59922 -0.32958,0.43751 -1.30924,-0.0246 -1.17432,0.76746 0,0 2.92994,0.76538 2.87652,-1.15352 -0.0593,-2.12819 -3.71469,-2.27949 -6.80182,-1.43188 -4.00932,1.21878 -10.4608,-1.08963 -12.29674,0.25267 z"
id="path394"
sodipodi:nodetypes="cssscscc" /><path
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 114.5708,-185.99285 c 0,0 24.00764,0.66514 27.60521,0.41052 3.59756,-0.25461 17.09469,-0.74039 17.09469,-0.74039 z"
id="path1637" /><path
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 167.40445,-185.40352 c 0,0 -6.16677,-0.35441 -6.81181,0.89267 -0.72196,1.39579 0.53144,1.56585 1.38206,0.91494 0.96586,-0.7391 2.3211,0.32849 2.05548,1.14367 0,0 -0.51774,-1.11927 -1.42486,-0.69647 -0.90712,0.4228 -4.11446,1.12837 -3.3748,-1.46264 0.54421,-1.90637 8.17393,-0.79217 8.17393,-0.79217 z"
id="path1708"
sodipodi:nodetypes="csscssc" /><path
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.202538px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 155.55179,-185.23897 c -0.82592,-0.10662 -1.82503,2.18209 0.32665,2.28659 2.15169,0.1045 1.46066,-2.40411 0.32924,-2.19427 -0.45296,0.50512 1.26372,0.82332 0.20235,1.48777 -0.85319,0.53412 -2.10288,-0.44643 -0.85824,-1.58009 z"
id="path1712"
sodipodi:nodetypes="czcsc" /><path
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.246305px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 153.69478,-183.94716 c 0,0 -2.93548,1.84732 -1.71897,3.48905 0.51556,0.69578 1.60078,0.37366 1.5596,-0.8963 -0.0367,-1.13159 1.74189,-1.43645 2.17155,-0.76383 0,0 -1.44009,-0.31272 -1.34275,0.61385 0.13361,1.27164 -1.90087,2.93279 -3.04579,1.56434 -1.85201,-2.21356 2.37636,-4.00711 2.37636,-4.00711 z"
id="path2059"
sodipodi:nodetypes="csscssc" /><path
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.246305px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 156.60573,-182.17621 c -0.17911,0.76541 0.0413,3.16996 1.86988,2.25531 0.73416,-0.36723 1.46919,-1.93847 0.19066,-2.20722 -1.13924,-0.23946 -1.08686,-1.84 -0.36451,-2.09327 0,0 -0.32874,1.49789 0.61154,1.6287 1.29045,0.1795 1.323,2.33981 -0.17476,3.1207 -2.68185,1.39822 -2.67653,-2.07552 -2.13281,-2.70422 z"
id="path2067"
sodipodi:nodetypes="csscssc" /></g><g
id="g2089"
transform="matrix(3.3335842,0,0,3.3335842,-306.79049,650.09861)"><path
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.23514px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 168.86179,-148.16653 c 0,0 0.42122,-3.50978 -1.07037,-7.56209 -1.20338,-3.26933 0.87261,-4.73639 1.10432,-6.89307 0.2317,-2.15669 -0.71099,-3.61031 -1.59922,-2.9412 -0.43751,0.32958 0.0246,1.30924 -0.76746,1.17432 0,0 -0.76538,-2.92994 1.15352,-2.87652 2.12819,0.0593 2.27949,3.71469 1.43188,6.80182 -1.21878,4.00932 1.08963,10.4608 -0.25267,12.29674 z"
id="path2071"
sodipodi:nodetypes="cssscscc" /><path
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 170.58736,-130.82036 c 0,0 -0.66514,-24.00764 -0.41052,-27.60521 0.25461,-3.59756 0.74039,-17.09469 0.74039,-17.09469 z"
id="path2073" /><path
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 169.99803,-183.65401 c 0,0 0.35441,6.16677 -0.89267,6.81181 -1.39579,0.72196 -1.56585,-0.53144 -0.91494,-1.38206 0.7391,-0.96586 -0.32849,-2.3211 -1.14367,-2.05548 0,0 1.11927,0.51774 0.69647,1.42486 -0.4228,0.90712 -1.12837,4.11446 1.46264,3.3748 1.90637,-0.54421 0.79217,-8.17393 0.79217,-8.17393 z"
id="path2075"
sodipodi:nodetypes="csscssc" /><path
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.202538px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 169.83348,-171.80135 c 0.10662,0.82592 -2.18209,1.82503 -2.28659,-0.32665 -0.1045,-2.15169 2.40411,-1.46066 2.19427,-0.32924 -0.50512,0.45296 -0.82332,-1.26372 -1.48777,-0.20235 -0.53412,0.85319 0.44643,2.10288 1.58009,0.85824 z"
id="path2077"
sodipodi:nodetypes="czcsc" /><path
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.246305px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 168.54167,-169.94434 c 0,0 -1.84732,2.93548 -3.48905,1.71897 -0.69578,-0.51556 -0.37366,-1.60078 0.8963,-1.5596 1.13159,0.0367 1.43645,-1.74189 0.76383,-2.17155 0,0 0.31272,1.44009 -0.61385,1.34275 -1.27164,-0.13361 -2.93279,1.90087 -1.56434,3.04579 2.21356,1.85201 4.00711,-2.37636 4.00711,-2.37636 z"
id="path2079"
sodipodi:nodetypes="csscssc" /><path
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.246305px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 166.77072,-172.85529 c -0.76541,0.17911 -3.16996,-0.0413 -2.25531,-1.86988 0.36723,-0.73416 1.93847,-1.46919 2.20722,-0.19066 0.23946,1.13924 1.84,1.08686 2.09327,0.36451 0,0 -1.49789,0.32874 -1.6287,-0.61154 -0.1795,-1.29045 -2.33981,-1.323 -3.1207,0.17476 -1.39822,2.68185 2.07552,2.67653 2.70422,2.13281 z"
id="path2081"
sodipodi:nodetypes="csscssc" /></g><g
id="g2528"
transform="translate(0.93487954,-1.1468082)"><g
id="g2431"
transform="matrix(2.5075222,0,0,2.5075222,287.81107,474.05863)"><path
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.23514px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 136.84022,-185.19405 c 0,0 3.38652,-0.37028 7.57472,0.75267 3.36492,0.90221 4.86755,-0.77048 7.02423,-1.00219 2.15669,-0.2317 3.75905,1.02758 3.08994,1.91581 -0.32958,0.43751 -1.60177,-0.12562 -1.46685,0.66644 0,0 2.92994,0.76538 2.87652,-1.15352 -0.0593,-2.12819 -3.71469,-2.27949 -6.80182,-1.43188 -4.00932,1.21878 -10.4608,-1.08963 -12.29674,0.25267 z"
id="path2419"
sodipodi:nodetypes="cssscscc" /><path
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.290053px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 111.23147,-186.65511 c 0,0 28.85236,0.66514 33.17592,0.41052 4.32355,-0.25461 20.54439,-0.74039 20.54439,-0.74039 z"
id="path2421" /><path
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.282531px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 167.40445,-185.81749 c 0,0 -6.57675,-0.46232 -7.22179,0.95969 -0.72196,1.59158 0.94142,1.84368 1.79204,1.10147 0.96586,-0.84277 2.3211,0.37457 2.05548,1.30409 0,0 -0.51774,-1.27627 -1.42486,-0.79416 -0.90712,0.4821 -4.11446,1.28664 -3.3748,-1.66781 0.54421,-2.17377 8.17393,-0.90328 8.17393,-0.90328 z"
id="path2423"
sodipodi:nodetypes="csscssc" /><path
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.202538px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 157.28666,-183.23281 c -0.82592,-0.10662 -1.82503,2.18209 0.32665,2.28659 2.15169,0.1045 1.46066,-2.40411 0.32924,-2.19427 -0.45296,0.50512 1.26372,0.82332 0.20235,1.48777 -0.85319,0.53412 -2.10288,-0.44643 -0.85824,-1.58009 z"
id="path2425"
sodipodi:nodetypes="czcsc" /></g><g
id="g2504"
transform="matrix(0,-2.5075222,-2.5075222,0,254.34141,437.23496)"><path
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.23514px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 136.84022,-185.19405 c 0,0 3.38652,-0.37028 7.57472,0.75267 3.36492,0.90221 4.86755,-0.77048 7.02423,-1.00219 2.15669,-0.2317 3.75905,1.02758 3.08994,1.91581 -0.32958,0.43751 -1.60177,-0.12562 -1.46685,0.66644 0,0 2.92994,0.76538 2.87652,-1.15352 -0.0593,-2.12819 -3.71469,-2.27949 -6.80182,-1.43188 -4.00932,1.21878 -10.4608,-1.08963 -12.29674,0.25267 z"
id="path2496"
sodipodi:nodetypes="cssscscc" /><path
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.290053px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 111.23147,-186.65511 c 0,0 28.85236,0.66514 33.17592,0.41052 4.32355,-0.25461 20.54439,-0.74039 20.54439,-0.74039 z"
id="path2498" /><path
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.282531px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 167.40445,-185.81749 c 0,0 -6.57675,-0.46232 -7.22179,0.95969 -0.72196,1.59158 0.94142,1.84368 1.79204,1.10147 0.96586,-0.84277 2.3211,0.37457 2.05548,1.30409 0,0 -0.51774,-1.27627 -1.42486,-0.79416 -0.90712,0.4821 -4.11446,1.28664 -3.3748,-1.66781 0.54421,-2.17377 8.17393,-0.90328 8.17393,-0.90328 z"
id="path2500"
sodipodi:nodetypes="csscssc" /><path
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.202538px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 157.28666,-183.23281 c -0.82592,-0.10662 -1.82503,2.18209 0.32665,2.28659 2.15169,0.1045 1.46066,-2.40411 0.32924,-2.19427 -0.45296,0.50512 1.26372,0.82332 0.20235,1.48777 -0.85319,0.53412 -2.10288,-0.44643 -0.85824,-1.58009 z"
id="path2502"
sodipodi:nodetypes="czcsc" /></g></g><path
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.727314px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 294.87353,263.97819 c 0,0 76.27558,1.9976 87.11701,1.35914 10.84139,-0.63844 56.70852,-2.8639 56.70852,-2.8639 z"
id="path2532"
sodipodi:nodetypes="cscc" /><path
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1.02858px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 686.53916,262.31401 c 0,0 -97.25796,-2.2385 -98.94507,-0.96158 -1.68737,1.27688 -23.89988,2.6159 -23.89988,2.6159 z"
id="path2566"
sodipodi:nodetypes="cccc" /><path
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.589619px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 492.05767,260.21072 c 0,0 -7.75225,1.29197 -19.6306,-1.07067 -9.54342,-1.89822 -10.7973,2.45388 -15.74022,3.26639 -4.94296,0.81248 -10.68976,-2.16989 -10.3392,-4.46708 0.17268,-1.13151 4.10253,0.14238 2.6245,-1.82739 0,0 -8.28045,-1.60221 -5.36896,3.19929 3.22916,5.32518 12.39535,5.31096 18.72312,2.85539 8.04704,-3.48464 27.18289,1.60434 29.73136,-1.95593 z"
id="path2496-3"
sodipodi:nodetypes="cssscscc" /><path
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.790391px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 500.90011,261.83345 c 2.25506,2.34011 10.88266,-2.19183 4.58498,-7.76062 -6.29769,-5.56882 -10.31479,3.7571 -6.35713,5.87896 2.61203,-0.43296 -1.83944,-5.59106 3.01424,-5.02459 3.90164,0.45537 5.31468,6.49102 -1.24209,6.90625 z"
id="path2425-7"
sodipodi:nodetypes="czcsc" /><path
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.589619px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 512.46029,260.21072 c 0,0 8.41523,1.15828 19.05726,-1.07067 10.59167,-2.2184 13.44211,2.51101 18.82013,3.32352 5.37804,0.81248 8.19702,-2.22702 6.61631,-4.52421 -0.7786,-1.13151 -3.49658,1.06372 -3.07337,-0.90605 0,0 6.89276,-2.52355 6.55249,2.27795 -0.37751,5.32518 -9.55132,5.31096 -17.19405,2.85539 -9.91308,-3.48464 -26.32376,1.60434 -30.77877,-1.95593 z"
id="path2664"
sodipodi:nodetypes="cssscscc" /></g></svg>

After

Width:  |  Height:  |  Size: 16 KiB

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=8 format=3 uid="uid://b3b0gyvklqn50"]
[gd_scene load_steps=9 format=3 uid="uid://b3b0gyvklqn50"]
[ext_resource type="PackedScene" uid="uid://c0i4ydmxtxfho" path="res://base-environments/youth_room/import/youth_room.glb" id="1_jf3oi"]
[ext_resource type="AudioStream" uid="uid://1h6k2d8q1kw3" path="res://base-environments/youth_room/import/sounds/rain_on_window.mp3" id="2_3haaq"]
@ -48,6 +48,13 @@ dof_blur_near_distance = 0.79
dof_blur_amount = 0.4
auto_exposure_min_sensitivity = 100.0
[sub_resource type="GDScript" id="GDScript_xqa3d"]
script/source = "extends SpotLight3D
func _process(delta):
rotate(transform.basis.z, delta/10 )
"
[node name="Node3D" type="Node3D"]
[node name="youth_room" parent="." instance=ExtResource("1_jf3oi")]
@ -58,14 +65,12 @@ stream = ExtResource("2_3haaq")
volume_db = -15.367
autoplay = true
panning_strength = 0.5
bus = &"test"
emission_angle_enabled = true
emission_angle_degrees = 57.0
[node name="AudioStreamPlayer3D2" type="AudioStreamPlayer3D" parent="youth_room"]
transform = Transform3D(-0.410985, -0.460061, 0.787042, -0.904759, 0.311726, -0.290238, -0.111814, -0.831367, -0.544359, -0.248397, 4.34956, 8.85405)
stream = ExtResource("3_wcypa")
bus = &"New Bus"
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_pllnm")
@ -104,11 +109,12 @@ omni_range = 5.43334
omni_attenuation = 0.287175
[node name="SpotLight3D2" type="SpotLight3D" parent="."]
transform = Transform3D(0.48804, 0.744707, 0.455223, -0.0721277, 0.554181, -0.829266, -0.869836, 0.371881, 0.324177, 1.66111, 0.0754915, 0.437063)
transform = Transform3D(0.48804, 0.744707, 0.455224, -0.0721277, 0.554181, -0.829266, -0.869836, 0.371881, 0.324176, 1.66111, 0.0754915, 0.437063)
light_energy = 10.0
light_projector = ExtResource("3_1mw2j")
shadow_enabled = true
spot_angle = 42.8718
script = SubResource("GDScript_xqa3d")
[node name="PlayerController" parent="." instance=ExtResource("3_foj4y")]
@ -123,3 +129,5 @@ size = Vector3(5.75304, 0.238875, 4.229)
transform = Transform3D(-0.477862, -0.663484, 0.575706, -0.860239, 0.220753, -0.459626, 0.177866, -0.714882, -0.676245, 3.06375, 0.417945, -0.351724)
light_size = 0.1
shadow_enabled = true
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]

View File

@ -1,20 +1,21 @@
[gd_resource type="AudioBusLayout" load_steps=2 format=3 uid="uid://djkwd76o033io"]
[sub_resource type="AudioEffectLimiter" id="AudioEffectLimiter_wyra4"]
resource_name = "Limiter"
[gd_resource type="AudioBusLayout" format=3 uid="uid://djkwd76o033io"]
[resource]
bus/1/name = &"test"
bus/1/name = &"text"
bus/1/solo = false
bus/1/mute = false
bus/1/bypass_fx = false
bus/1/volume_db = 0.0
bus/1/send = &"test 2"
bus/2/name = &"New Bus"
bus/2/name = &"sfx"
bus/2/solo = false
bus/2/mute = false
bus/2/bypass_fx = false
bus/2/volume_db = 0.0
bus/2/send = &"Master"
bus/2/effect/0/effect = SubResource("AudioEffectLimiter_wyra4")
bus/2/effect/0/enabled = true
bus/2/send = &"New Bus 3"
bus/3/name = &"music"
bus/3/solo = false
bus/3/mute = false
bus/3/bypass_fx = false
bus/3/volume_db = 0.0
bus/3/send = &"New Bus 3"

Binary file not shown.

View File

@ -0,0 +1,33 @@
[remap]
importer="font_data_dynamic"
type="FontFile"
uid="uid://by1li5bo7rj22"
path="res://.godot/imported/AnnieUseYourTelescope-Regular.ttf-c1d16b4349acf09644a2253024ef6a8f.fontdata"
[deps]
source_file="res://import/fonts/AnnieUseYourTelescope-Regular.ttf"
dest_files=["res://.godot/imported/AnnieUseYourTelescope-Regular.ttf-c1d16b4349acf09644a2253024ef6a8f.fontdata"]
[params]
Rendering=null
antialiasing=1
generate_mipmaps=false
multichannel_signed_distance_field=false
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=1
oversampling=0.0
Fallbacks=null
fallbacks=[]
Compress=null
compress=true
preload=[]
language_support={}
script_support={}
opentype_features={}

Binary file not shown.

View File

@ -0,0 +1,33 @@
[remap]
importer="font_data_dynamic"
type="FontFile"
uid="uid://dvbhs3xtcc4k1"
path="res://.godot/imported/Eczar-VariableFont_wght.ttf-c3e41f2e491aa1c2b23a8aac357fb196.fontdata"
[deps]
source_file="res://import/fonts/Eczar-VariableFont_wght.ttf"
dest_files=["res://.godot/imported/Eczar-VariableFont_wght.ttf-c3e41f2e491aa1c2b23a8aac357fb196.fontdata"]
[params]
Rendering=null
antialiasing=1
generate_mipmaps=false
multichannel_signed_distance_field=false
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=1
oversampling=0.0
Fallbacks=null
fallbacks=[]
Compress=null
compress=true
preload=[]
language_support={}
script_support={}
opentype_features={}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bm0bul7vyv88j"
path="res://.godot/imported/checked-mark.png-ddf0cdcf60b4f6e7be7a0e7890640bf5.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://import/interface-elements/checked-mark.png"
dest_files=["res://.godot/imported/checked-mark.png-ddf0cdcf60b4f6e7be7a0e7890640bf5.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ci6tgs33nrnp7"
path="res://.godot/imported/disabled-mark.png-daba3bc18f1e96a35c6b966fd6177f4b.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://import/interface-elements/disabled-mark.png"
dest_files=["res://.godot/imported/disabled-mark.png-daba3bc18f1e96a35c6b966fd6177f4b.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c7uwosetog3st"
path="res://.godot/imported/en-disabled-mark.png-35406a4ad30262dbe9914658d3479035.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://import/interface-elements/en-disabled-mark.png"
dest_files=["res://.godot/imported/en-disabled-mark.png-35406a4ad30262dbe9914658d3479035.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 835 B

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://csjta1nh077ad"
path="res://.godot/imported/unchecked-mark.png-047173b95863649a878773fbc44c874a.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://import/interface-elements/unchecked-mark.png"
dest_files=["res://.godot/imported/unchecked-mark.png-047173b95863649a878773fbc44c874a.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

@ -1,11 +1,39 @@
[gd_scene load_steps=12 format=3 uid="uid://dyneenav1kqpo"]
[gd_scene load_steps=23 format=3 uid="uid://pct2mp6w5331"]
[ext_resource type="FontFile" uid="uid://4wx5nyeoy673" path="res://import/fonts/messy_handwriting.tres" id="1_4kpo1"]
[ext_resource type="Texture2D" uid="uid://d0ucjqi8tx6vt" path="res://logic-scenes/startup/start_frame.png" id="1_8giso"]
[ext_resource type="FontFile" uid="uid://4wx5nyeoy673" path="res://import/fonts/handwriting.tres" id="2_3hvcf"]
[ext_resource type="Texture2D" uid="uid://bm0bul7vyv88j" path="res://import/interface-elements/checked-mark.png" id="1_bbp4s"]
[ext_resource type="FontFile" uid="uid://cb66e4mqysgf8" path="res://import/fonts/title_handwriting.tres" id="1_ym10u"]
[ext_resource type="Texture2D" uid="uid://c7uwosetog3st" path="res://import/interface-elements/en-disabled-mark.png" id="2_3f8yi"]
[ext_resource type="Texture2D" uid="uid://csjta1nh077ad" path="res://import/interface-elements/unchecked-mark.png" id="2_onqn6"]
[ext_resource type="Script" path="res://logic-scenes/startup/volume_sliders.gd" id="3_q2gbh"]
[ext_resource type="Texture2D" uid="uid://bwicl5q0lw06q" path="res://logic-scenes/startup/start_bottom.png" id="3_s5ssh"]
[ext_resource type="Texture2D" uid="uid://ci6tgs33nrnp7" path="res://import/interface-elements/disabled-mark.png" id="4_yy1g1"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_464jq"]
bg_color = Color(0, 0, 0, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_5xeat"]
[sub_resource type="Gradient" id="Gradient_wsjl7"]
interpolation_mode = 2
offsets = PackedFloat32Array(0, 0.993266)
colors = PackedColorArray(0, 0, 0.372549, 1, 0.0627451, 0.054902, 0.133333, 1)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_a7d4d"]
gradient = SubResource("Gradient_wsjl7")
fill = 1
fill_from = Vector2(0.649573, 0.74359)
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_prndt"]
texture = SubResource("GradientTexture2D_a7d4d")
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ns4mm"]
bg_color = Color(0.054902, 0.054902, 0.105882, 0.376471)
border_blend = true
corner_radius_top_left = 10
corner_radius_top_right = 10
corner_radius_bottom_right = 10
corner_radius_bottom_left = 10
shadow_color = Color(0, 0, 0.137255, 0.254902)
shadow_size = 40
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_67ngq"]
content_margin_left = 30.0
@ -13,11 +41,24 @@ content_margin_top = 30.0
content_margin_right = 30.0
content_margin_bottom = 0.0
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_f1xwb"]
[sub_resource type="Theme" id="Theme_m5s0x"]
default_font = ExtResource("2_3hvcf")
default_font = ExtResource("1_4kpo1")
default_font_size = 30
Panel/styles/panel = SubResource("StyleBoxFlat_464jq")
CheckBox/icons/checked = ExtResource("1_bbp4s")
CheckBox/icons/checked_disabled = ExtResource("2_3f8yi")
CheckBox/icons/unchecked = ExtResource("2_onqn6")
CheckBox/icons/unchecked_disabled = ExtResource("4_yy1g1")
HeaderLarge/font_sizes/font_size = 45
HeaderLarge/fonts/font = ExtResource("1_ym10u")
MarginContainer/constants/margin_bottom = 10
MarginContainer/constants/margin_left = 20
OptionButton/styles/normal = SubResource("StyleBoxFlat_5xeat")
Panel/styles/panel = SubResource("StyleBoxTexture_prndt")
PanelContainer/styles/panel = SubResource("StyleBoxFlat_ns4mm")
TabContainer/styles/panel = SubResource("StyleBoxEmpty_67ngq")
VSeparator/styles/separator = SubResource("StyleBoxEmpty_f1xwb")
[sub_resource type="GDScript" id="GDScript_8885d"]
script/source = "extends TabContainer
@ -90,6 +131,15 @@ texture = ExtResource("1_8giso")
expand_mode = 2
stretch_mode = 4
[node name="Panel" type="PanelContainer" parent="CenterContainer/PanelContainer/StartFrame"]
show_behind_parent = true
layout_mode = 2
offset_left = 199.0
offset_top = -112.0
offset_right = 913.0
offset_bottom = 602.0
rotation = 0.459022
[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer/PanelContainer"]
layout_mode = 2
@ -100,10 +150,12 @@ use_hidden_tabs_for_min_size = true
script = SubResource("GDScript_8885d")
[node name="physical Accessibility" type="VBoxContainer" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer"]
visible = false
layout_mode = 2
[node name="Label" type="Label" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility"]
layout_mode = 2
theme_type_variation = &"HeaderLarge"
text = "physical Accessibility"
[node name="Container2" type="VBoxContainer" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility"]
@ -111,25 +163,48 @@ layout_mode = 2
[node name="Screenreader" type="CheckBox" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility/Container2"]
layout_mode = 2
button_pressed = true
text = "activate Screenreader"
script = SubResource("GDScript_v567h")
metadata/audio = SubResource("AudioStreamMP3_tl1ly")
[node name="CheckBox2" type="CheckBox" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility/Container2"]
[node name="margin2" type="MarginContainer" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility/Container2"]
layout_mode = 2
[node name="show nav buttons" type="CheckBox" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility/Container2/margin2"]
layout_mode = 2
disabled = true
text = "disable rendering"
[node name="simplified controls" type="CheckBox" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility/Container2"]
layout_mode = 2
text = "simplified Controls"
[node name="margin" type="MarginContainer" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility/Container2"]
layout_mode = 2
[node name="show nav ui" type="CheckBox" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility/Container2/margin"]
layout_mode = 2
disabled = true
button_pressed = true
text = "show Navigation Buttons"
[node name="GridContainer" type="GridContainer" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility/Container2"]
layout_mode = 2
columns = 2
columns = 3
[node name="Label" type="Label" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility/Container2/GridContainer"]
layout_mode = 2
text = "Font-Style:"
[node name="VSeparator" type="VSeparator" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility/Container2/GridContainer"]
custom_minimum_size = Vector2(30, 60)
layout_mode = 2
[node name="ItemList" type="OptionButton" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility/Container2/GridContainer"]
layout_mode = 2
item_count = 4
size_flags_vertical = 4
item_count = 5
selected = 1
popup/item_0/text = "messy handwriting"
popup/item_0/id = 0
@ -139,13 +214,20 @@ popup/item_2/text = "legible serif"
popup/item_2/id = 2
popup/item_3/text = "hyperlegible sans"
popup/item_3/id = 3
popup/item_4/text = "system font"
popup/item_4/id = 4
[node name="Label2" type="Label" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility/Container2/GridContainer"]
layout_mode = 2
text = "Subtitles:"
[node name="VSeparator2" type="VSeparator" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility/Container2/GridContainer"]
custom_minimum_size = Vector2(30, 0)
layout_mode = 2
[node name="ItemList2" type="OptionButton" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/physical Accessibility/Container2/GridContainer"]
layout_mode = 2
size_flags_vertical = 4
item_count = 3
selected = 1
popup/item_0/text = "none"
@ -200,19 +282,20 @@ columns = 2
layout_mode = 2
text = "Music"
[node name="HSlider" type="HSlider" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Audio Settings/VBoxContainer/GridContainer"]
[node name="Music" type="HSlider" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Audio Settings/VBoxContainer/GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 4
max_value = 2.0
step = 0.0
value = 1.0
script = ExtResource("3_q2gbh")
[node name="Label3" type="Label" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Audio Settings/VBoxContainer/GridContainer"]
layout_mode = 2
text = "Sounds"
[node name="HSlider2" type="HSlider" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Audio Settings/VBoxContainer/GridContainer"]
[node name="Sounds" type="HSlider" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Audio Settings/VBoxContainer/GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 4
@ -225,7 +308,7 @@ layout_mode = 2
text = "Speech
"
[node name="HSlider3" type="HSlider" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Audio Settings/VBoxContainer/GridContainer"]
[node name="Speech" type="HSlider" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Audio Settings/VBoxContainer/GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 4
@ -262,7 +345,6 @@ layout_mode = 2
text = "okay"
[node name="Content Notes" type="VBoxContainer" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer"]
visible = false
custom_minimum_size = Vector2(512, 0)
layout_mode = 2
@ -282,10 +364,12 @@ follow_focus = true
horizontal_scroll_mode = 0
[node name="Content Notes" type="VBoxContainer" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Content Notes/ScrollContainer"]
visible = false
layout_mode = 2
size_flags_horizontal = 3
[node name="VBoxContainer2" type="VBoxContainer" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Content Notes/ScrollContainer/Content Notes"]
visible = false
layout_mode = 2
[node name="Button" type="Button" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Content Notes/ScrollContainer/Content Notes/VBoxContainer2"]
@ -296,7 +380,6 @@ text = "Is this game for or about me?"
script = SubResource("GDScript_rhtho")
[node name="RichTextLabel" type="RichTextLabel" parent="CenterContainer/PanelContainer/VBoxContainer/TabContainer/Content Notes/ScrollContainer/Content Notes/VBoxContainer2"]
visible = false
custom_minimum_size = Vector2(512, 0)
layout_mode = 2
bbcode_enabled = true

View File

@ -0,0 +1,6 @@
extends HSlider
@export var audio_bus_id: int = 0
func _on_value_changed(volume_lin: float):
AudioServer.set_bus_volume_db(audio_bus_id, linear_to_db(volume_lin))

View File

@ -14,6 +14,10 @@ config/name="Frame of Mind"
config/features=PackedStringArray("4.0", "Forward Plus")
config/icon="res://icon.svg"
[autoload]
State="*res://singletons/global_state.gd"
[display]
window/size/viewport_width=1440

View File

@ -0,0 +1,9 @@
extends Node
var screen_reader:bool = false
var disable_rendering: bool = false
var simplified_navigation:bool = false
var enable_subtitles: bool = false
var reduce_motion: bool = false
var show_content_notes: bool = false
var show_prompts: bool = false