Files
project-thought-experiment/scenes/audio_subtitle_system.tscn
2024-01-24 20:55:45 +01:00

55 lines
1.7 KiB
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://ce8nemacxi67m"]
[ext_resource type="Script" path="res://scripts/audio_subtitle_system.gd" id="1_5vtxu"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_eoq1n"]
content_margin_left = 20.0
content_margin_top = 20.0
content_margin_right = 20.0
content_margin_bottom = 20.0
bg_color = Color(0, 0, 0, 0.376471)
corner_radius_top_left = 25
corner_radius_top_right = 25
corner_radius_bottom_right = 25
corner_radius_bottom_left = 25
[sub_resource type="BoxShape3D" id="BoxShape3D_em1c1"]
size = Vector3(11, 5, 3)
[node name="AudioSubtitleSystem" type="AudioStreamPlayer3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 4.27434, 0)
script = ExtResource("1_5vtxu")
[node name="CanvasLayer" type="CanvasLayer" parent="."]
layer = 3
[node name="PanelContainer" type="PanelContainer" parent="CanvasLayer"]
visible = false
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -338.0
offset_top = -121.0
offset_right = 338.0
offset_bottom = -7.0
grow_horizontal = 2
grow_vertical = 0
theme_override_styles/panel = SubResource("StyleBoxFlat_eoq1n")
[node name="RichTextLabel" type="RichTextLabel" parent="CanvasLayer/PanelContainer"]
layout_mode = 2
bbcode_enabled = true
scroll_active = false
scroll_following = true
[node name="Area3D" type="Area3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -4, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0)
shape = SubResource("BoxShape3D_em1c1")
[connection signal="body_entered" from="Area3D" to="." method="_on_area_3d_body_entered"]