From 7a5f9d66915b4fc3d25a41ce48421c14a9bea8b4 Mon Sep 17 00:00:00 2001 From: Sara Date: Wed, 29 Oct 2025 13:41:48 +0100 Subject: [PATCH] feat: started working on the flatscreen UI --- .../scenes/flatscreen_root.tscn | 11 ++++++++++ vr-project/scenes/game_scene.tscn | 20 ------------------- 2 files changed, 11 insertions(+), 20 deletions(-) diff --git a/flatscreen-project/scenes/flatscreen_root.tscn b/flatscreen-project/scenes/flatscreen_root.tscn index 1f37582c..a00c5e5e 100644 --- a/flatscreen-project/scenes/flatscreen_root.tscn +++ b/flatscreen-project/scenes/flatscreen_root.tscn @@ -1,3 +1,14 @@ [gd_scene format=3 uid="uid://dosb4sb7pvss4"] [node name="ServerNode" type="ServerNode"] + +[node name="AspectRatioContainer" type="AspectRatioContainer" parent="."] +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +ratio = 1.7778 + +[node name="PanelContainer" type="PanelContainer" parent="AspectRatioContainer"] +layout_mode = 2 diff --git a/vr-project/scenes/game_scene.tscn b/vr-project/scenes/game_scene.tscn index ff7e11ec..d020967d 100644 --- a/vr-project/scenes/game_scene.tscn +++ b/vr-project/scenes/game_scene.tscn @@ -36,16 +36,6 @@ glow_enabled = true [node name="Root" type="Node3D"] [node name="VROrigin" parent="." instance=ExtResource("2_onqr8")] -_import_path = NodePath("") -unique_name_in_owner = false -process_mode = 0 -process_priority = 0 -process_physics_priority = 0 -process_thread_group = 0 -physics_interpolation_mode = 0 -auto_translate_mode = 0 -editor_description = "" -script = null [node name="WorldEnvironment" type="WorldEnvironment" parent="."] environment = SubResource("Environment_bw6k5") @@ -66,17 +56,7 @@ shadow_blur = 2.834 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.27989578, 0, 1.4924412) [node name="ClueMarker" type="ClueMarker" parent="."] -_import_path = NodePath("") -unique_name_in_owner = false -process_mode = 0 -process_priority = 0 -process_physics_priority = 0 -process_thread_group = 0 -physics_interpolation_mode = 0 -auto_translate_mode = 0 -editor_description = "" clue_id = 0 -script = null [node name="Stapler" parent="." instance=ExtResource("3_ycayy")] transform = Transform3D(-1.8868132, 0, -1.8585076, 0, 2.6484175, 0, 1.8585076, 0, -1.8868132, -1.2748423, 0.9004388, 2.876501)