Created Phone that can play video files for the transition between the apartment and the Hospital and added temp video file

This commit is contained in:
2024-08-22 00:52:33 -05:00
parent 493d69a03b
commit 3f2c0b822c
7 changed files with 115 additions and 0 deletions

34
Assets/Objects/Phone.tscn Normal file
View File

@ -0,0 +1,34 @@
[gd_scene load_steps=5 format=3 uid="uid://ccv21jsv2wk75"]
[ext_resource type="PackedScene" uid="uid://jkmvm52nsjcu" path="res://Blender Files/Objects/Phone.blend" id="1_a582h"]
[sub_resource type="VideoStreamTheora" id="VideoStreamTheora_h3ryc"]
file = "res://Assets/Videos/Screen_Recording_20240821_231541.ogg"
[sub_resource type="ViewportTexture" id="ViewportTexture_ann51"]
viewport_path = NodePath("SubViewport")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_jj5ft"]
resource_local_to_scene = true
albedo_texture = SubResource("ViewportTexture_ann51")
[node name="Phone" type="Node3D"]
[node name="SubViewport" type="SubViewport" parent="."]
size = Vector2i(1080, 2340)
[node name="VideoStreamPlayer" type="VideoStreamPlayer" parent="SubViewport"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
stream = SubResource("VideoStreamTheora_h3ryc")
autoplay = true
[node name="Phone" parent="." instance=ExtResource("1_a582h")]
[node name="Cube" parent="Phone" index="0"]
surface_material_override/2 = SubResource("StandardMaterial3D_jj5ft")
[editable path="Phone"]