added audio subtitle system and menus and more

This commit is contained in:
2024-01-23 23:58:30 +01:00
parent 7d77925b97
commit e7973d6086
32 changed files with 479 additions and 221 deletions

View File

@@ -1,6 +1,6 @@
[gd_scene load_steps=11 format=3 uid="uid://dqy8bqf1chm8c"]
[ext_resource type="PackedScene" uid="uid://dm8l36ephydnl" path="res://scenes/interaction_area.tscn" id="1_0okd0"]
[ext_resource type="PackedScene" uid="uid://dm8l36ephydnl" path="res://scenes/objects/interaction_area.tscn" id="1_0okd0"]
[ext_resource type="Script" path="res://scripts/interactables/completer/button_stand.gd" id="1_gkcm2"]
[sub_resource type="CylinderShape3D" id="CylinderShape3D_jpuiw"]

View File

@@ -1,33 +0,0 @@
[gd_scene format=3 uid="uid://cfk83h5xyhmor"]
[node name="DebugScreen" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="ColorRect" type="ColorRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0, 1, 0.517647, 1)
[node name="Button" type="Button" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -22.0
offset_top = -15.5
offset_right = 22.0
offset_bottom = 15.5
grow_horizontal = 2
grow_vertical = 2
text = "TEST"

View File

@@ -1,54 +0,0 @@
[gd_scene load_steps=10 format=3 uid="uid://b8bvidqu7tmfs"]
[ext_resource type="PackedScene" uid="uid://cfk83h5xyhmor" path="res://scenes/objects/interactables/screens/debug_screen.tscn" id="1_q1qkj"]
[sub_resource type="BoxShape3D" id="BoxShape3D_sh78v"]
[sub_resource type="BoxMesh" id="BoxMesh_t4f0s"]
[sub_resource type="PrismMesh" id="PrismMesh_law6y"]
[sub_resource type="ViewportTexture" id="ViewportTexture_l2fsg"]
viewport_path = NodePath("ScreenMesh/SubViewport")
[sub_resource type="ViewportTexture" id="ViewportTexture_ckudb"]
viewport_path = NodePath("ScreenMesh/SubViewport")
[sub_resource type="ViewportTexture" id="ViewportTexture_01tli"]
viewport_path = NodePath("ScreenMesh/SubViewport")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_7alnb"]
resource_local_to_scene = true
vertex_color_use_as_albedo = true
albedo_texture = SubResource("ViewportTexture_l2fsg")
rim_tint = 1.0
rim_texture = SubResource("ViewportTexture_01tli")
backlight_enabled = true
backlight_texture = SubResource("ViewportTexture_ckudb")
[sub_resource type="PlaneMesh" id="PlaneMesh_hekp8"]
resource_local_to_scene = true
material = SubResource("StandardMaterial3D_7alnb")
size = Vector2(1, 1)
[node name="TaskTerminal" type="StaticBody3D"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("BoxShape3D_sh78v")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
mesh = SubResource("BoxMesh_t4f0s")
[node name="MeshInstance3D2" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
mesh = SubResource("PrismMesh_law6y")
[node name="ScreenMesh" type="MeshInstance3D" parent="."]
transform = Transform3D(-4.37114e-08, 0.891007, 0.453991, 0, 0.453991, -0.891007, -1, -3.89471e-08, -1.98446e-08, 0.255, 1, 0)
mesh = SubResource("PlaneMesh_hekp8")
[node name="SubViewport" type="SubViewport" parent="ScreenMesh"]
size_2d_override = Vector2i(512, 512)
render_target_update_mode = 4
[node name="DebugScreen" parent="ScreenMesh/SubViewport" instance=ExtResource("1_q1qkj")]