misc small changes

This commit is contained in:
betalars 2026-06-03 14:40:21 +02:00
parent c3167f663b
commit 23253f27e7
8 changed files with 40 additions and 13 deletions

View File

@ -1,8 +1,8 @@
"In Game Actions" "Action Manifest"
{ {
"actions" "actions"
{ {
"InGameControls" "MovementControls"
{ {
"title" "#Set_Ingame" "title" "#Set_Ingame"
"StickPadGyro" "StickPadGyro"
@ -31,6 +31,7 @@
"pause" "#Action_Menu" "pause" "#Action_Menu"
"crouch" "#Action_Crouch" "crouch" "#Action_Crouch"
"quicksave" "#Action_Quicksave" "quicksave" "#Action_Quicksave"
"show_summary" "#Action_Summary"
} }
} }
"UiControls" "UiControls"
@ -75,6 +76,7 @@
"Menu_Right" "Right" "Menu_Right" "Right"
"#Menu_Next" "Next" "#Menu_Next" "Next"
"#Menu_Previous" "Previous" "#Menu_Previous" "Previous"
"#Action_Summary" "Summarize Memory"
} }
} }
} }

View File

@ -27,7 +27,8 @@ class_name Fahrplan extends Node3D
@onready var stations : Array[Station] = fahrplan.keys() @onready var stations : Array[Station] = fahrplan.keys()
@onready var tracks : Array[Dolly] = [%Track0Dolly, %Track1Dolly] @onready var tracks : Array[Dolly] = [%Track0Dolly, %Track1Dolly]
@export var empty_train_random_delay : Vector2 = Vector2(5.0, 20.0) @export var occupancy_check_interval_min : float = 2
@export var occupancy_check_interval_max : float = 7
func _set_signage_texts(group: StringName, message: String) -> void: func _set_signage_texts(group: StringName, message: String) -> void:
get_tree().set_group(group, "text", "") get_tree().set_group(group, "text", "")
@ -81,7 +82,7 @@ func _begin_traffic_loop(track: Dolly, cancel: Array) -> void:
# Vary our schedule a little by making empty trains wait a random amount of time # Vary our schedule a little by making empty trains wait a random amount of time
if not track.player_on_board: if not track.player_on_board:
await get_tree().create_timer(randf_range(empty_train_random_delay.x, empty_train_random_delay.y)).timeout await get_tree().create_timer(randf_range(occupancy_check_interval_min, occupancy_check_interval_max)).timeout
if cancel.is_empty(): return # abort the loop if cancel.is_empty(): return # abort the loop
await track.cycle() # arrive and depart await track.cycle() # arrive and depart

View File

@ -1,4 +1,4 @@
[gd_resource type="StandardMaterial3D" load_steps=4 format=3 uid="uid://42nj47p71hva"] [gd_resource type="StandardMaterial3D" format=3 uid="uid://42nj47p71hva"]
[ext_resource type="Texture2D" uid="uid://f6ft6nufe12l" path="res://base-environments/volunteer_room/import/volunteer_room_01 - Default_albedo.jpg" id="1_g7nnn"] [ext_resource type="Texture2D" uid="uid://f6ft6nufe12l" path="res://base-environments/volunteer_room/import/volunteer_room_01 - Default_albedo.jpg" id="1_g7nnn"]
[ext_resource type="Texture2D" uid="uid://bbvjoxixqdll6" path="res://base-environments/volunteer_room/import/volunteer_room_01 - Default_metallic-01 - Default_roughness.png" id="2_64pvb"] [ext_resource type="Texture2D" uid="uid://bbvjoxixqdll6" path="res://base-environments/volunteer_room/import/volunteer_room_01 - Default_metallic-01 - Default_roughness.png" id="2_64pvb"]
@ -9,9 +9,7 @@ resource_name = "tv_mat"
cull_mode = 2 cull_mode = 2
albedo_texture = ExtResource("1_g7nnn") albedo_texture = ExtResource("1_g7nnn")
albedo_texture_force_srgb = true albedo_texture_force_srgb = true
metallic_specular = 0.8
metallic_texture = ExtResource("2_64pvb") metallic_texture = ExtResource("2_64pvb")
roughness = 0.8
roughness_texture = ExtResource("2_64pvb") roughness_texture = ExtResource("2_64pvb")
roughness_texture_channel = 1 roughness_texture_channel = 1
normal_enabled = true normal_enabled = true

View File

@ -0,0 +1,12 @@
[gd_scene format=3 uid="uid://do7k8ud2ae4mq"]
[ext_resource type="Script" uid="uid://10u2ea21g7sy" path="res://steam-input/steam-input-manager.gd" id="1_g18bm"]
[ext_resource type="Script" uid="uid://cgfyo6u8wygjr" path="res://steam-input/steam-input-glyth-display.gd" id="2_26vi8"]
[node name="Node" type="Node" unique_id=698825898]
script = ExtResource("1_g18bm")
[node name="TextureRect" type="TextureRect" parent="." unique_id=2002186590]
offset_right = 40.0
offset_bottom = 40.0
script = ExtResource("2_26vi8")

View File

@ -59,7 +59,7 @@ custom_features=""
export_filter="all_resources" export_filter="all_resources"
include_filter="" include_filter=""
exclude_filter="" exclude_filter=""
export_path="../builds/frame-of-mind.exe" export_path="../../Builds/frame-of-mind-a11y/frame-of-mind.exe"
patches=PackedStringArray() patches=PackedStringArray()
patch_delta_encoding=false patch_delta_encoding=false
patch_delta_compression_level_zstd=19 patch_delta_compression_level_zstd=19

File diff suppressed because one or more lines are too long

View File

@ -41,4 +41,4 @@ func stop() -> void:
await tween.finished await tween.finished
playing = false playing = false
visible = false visible = false

View File

@ -44,6 +44,6 @@ func _unhandled_input(event: InputEvent) -> void:
if not visible: if not visible:
return return
if event.is_action_pressed("ui_pause") and Main.state == Main.AppState.PLAY: if event.is_action_pressed("pause") and Main.state == Main.AppState.PLAY:
Main.state = Main.AppState.PAUSE Main.state = Main.AppState.PAUSE
get_viewport().set_input_as_handled() get_viewport().set_input_as_handled()