|
@@ -0,0 +1,127 @@
|
|
|
+[gd_scene load_steps=8 format=2]
|
|
|
+
|
|
|
+[ext_resource path="res://31plan2202 [QIPRotw1_6c].ogv" type="VideoStream" id=1]
|
|
|
+[ext_resource path="res://Camera.gd" type="Script" id=2]
|
|
|
+[ext_resource path="res://VideoPlayer.gd" type="Script" id=3]
|
|
|
+
|
|
|
+[sub_resource type="ViewportTexture" id=1]
|
|
|
+viewport_path = NodePath("Viewport")
|
|
|
+
|
|
|
+[sub_resource type="SpatialMaterial" id=2]
|
|
|
+resource_local_to_scene = true
|
|
|
+flags_unshaded = true
|
|
|
+params_cull_mode = 1
|
|
|
+albedo_texture = SubResource( 1 )
|
|
|
+
|
|
|
+[sub_resource type="SphereMesh" id=3]
|
|
|
+
|
|
|
+[sub_resource type="Animation" id=4]
|
|
|
+resource_name = "autostuff"
|
|
|
+length = 60.0
|
|
|
+loop = true
|
|
|
+step = 1.0
|
|
|
+tracks/0/type = "value"
|
|
|
+tracks/0/path = NodePath("Button2:visible")
|
|
|
+tracks/0/interp = 1
|
|
|
+tracks/0/loop_wrap = true
|
|
|
+tracks/0/imported = false
|
|
|
+tracks/0/enabled = true
|
|
|
+tracks/0/keys = {
|
|
|
+"times": PoolRealArray( 0, 40, 46 ),
|
|
|
+"transitions": PoolRealArray( 1, 1, 1 ),
|
|
|
+"update": 1,
|
|
|
+"values": [ false, true, false ]
|
|
|
+}
|
|
|
+tracks/1/type = "value"
|
|
|
+tracks/1/path = NodePath("Button:visible")
|
|
|
+tracks/1/interp = 1
|
|
|
+tracks/1/loop_wrap = true
|
|
|
+tracks/1/imported = false
|
|
|
+tracks/1/enabled = true
|
|
|
+tracks/1/keys = {
|
|
|
+"times": PoolRealArray( 0, 40, 46 ),
|
|
|
+"transitions": PoolRealArray( 1, 1, 1 ),
|
|
|
+"update": 1,
|
|
|
+"values": [ false, true, false ]
|
|
|
+}
|
|
|
+tracks/2/type = "method"
|
|
|
+tracks/2/path = NodePath("Viewport/VideoPlayer")
|
|
|
+tracks/2/interp = 1
|
|
|
+tracks/2/loop_wrap = true
|
|
|
+tracks/2/imported = false
|
|
|
+tracks/2/enabled = false
|
|
|
+tracks/2/keys = {
|
|
|
+"times": PoolRealArray( 46 ),
|
|
|
+"transitions": PoolRealArray( 1 ),
|
|
|
+"values": [ {
|
|
|
+"args": [ ],
|
|
|
+"method": "stop"
|
|
|
+} ]
|
|
|
+}
|
|
|
+
|
|
|
+[node name="Control" type="Control"]
|
|
|
+anchor_right = 1.0
|
|
|
+anchor_bottom = 1.0
|
|
|
+__meta__ = {
|
|
|
+"_edit_use_anchors_": false
|
|
|
+}
|
|
|
+
|
|
|
+[node name="Viewport" type="Viewport" parent="."]
|
|
|
+size = Vector2( 3840, 1920 )
|
|
|
+own_world = true
|
|
|
+render_target_v_flip = true
|
|
|
+
|
|
|
+[node name="VideoPlayer" type="VideoPlayer" parent="Viewport"]
|
|
|
+anchor_right = 1.0
|
|
|
+anchor_bottom = 1.0
|
|
|
+stream = ExtResource( 1 )
|
|
|
+autoplay = true
|
|
|
+buffering_msec = 1000
|
|
|
+script = ExtResource( 3 )
|
|
|
+__meta__ = {
|
|
|
+"_edit_use_anchors_": false
|
|
|
+}
|
|
|
+
|
|
|
+[node name="MeshInstance" type="MeshInstance" parent="."]
|
|
|
+transform = Transform( -10, 0, 0, 0, 10, 0, 0, 0, 10, 0, 0, 0 )
|
|
|
+material_override = SubResource( 2 )
|
|
|
+mesh = SubResource( 3 )
|
|
|
+material/0 = null
|
|
|
+
|
|
|
+[node name="Spatial" type="Spatial" parent="."]
|
|
|
+
|
|
|
+[node name="Camera" type="Camera" parent="Spatial"]
|
|
|
+fov = 80.0
|
|
|
+far = 75.0
|
|
|
+script = ExtResource( 2 )
|
|
|
+
|
|
|
+[node name="RayCast" type="RayCast" parent="Spatial/Camera"]
|
|
|
+visible = false
|
|
|
+cast_to = Vector3( 0, 0, -100 )
|
|
|
+
|
|
|
+[node name="Button" type="Button" parent="."]
|
|
|
+margin_left = 494.642
|
|
|
+margin_top = 258.069
|
|
|
+margin_right = 608.642
|
|
|
+margin_bottom = 311.069
|
|
|
+text = "b1"
|
|
|
+__meta__ = {
|
|
|
+"_edit_use_anchors_": false
|
|
|
+}
|
|
|
+
|
|
|
+[node name="Button2" type="Button" parent="."]
|
|
|
+margin_left = 361.0
|
|
|
+margin_top = 260.0
|
|
|
+margin_right = 472.0
|
|
|
+margin_bottom = 313.0
|
|
|
+text = "b2"
|
|
|
+__meta__ = {
|
|
|
+"_edit_use_anchors_": false
|
|
|
+}
|
|
|
+
|
|
|
+[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
|
+autoplay = "autostuff"
|
|
|
+anims/autostuff = SubResource( 4 )
|
|
|
+[connection signal="button_down" from="Button" to="Viewport/VideoPlayer" method="_on_Button_button_down"]
|
|
|
+[connection signal="button_down" from="Button" to="Button2" method="hide"]
|
|
|
+[connection signal="button_down" from="Button" to="Button" method="hide"]
|