Skip to content

Commit

Permalink
CutscenePlayer.tscn
Browse files Browse the repository at this point in the history
  • Loading branch information
Gonkee committed Dec 16, 2018
1 parent e97c121 commit 1766132
Showing 1 changed file with 60 additions and 0 deletions.
60 changes: 60 additions & 0 deletions non-shaders/CutscenePlayer.tscn
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
[gd_scene load_steps=4 format=2]

[ext_resource path="res://cutscene tutorial/cutscene animation.webm" type="VideoStream" id=1]
[ext_resource path="res://cutscene tutorial/VideoPlayer.gd" type="Script" id=2]
[ext_resource path="res://cutscene tutorial/Fade.tscn" type="PackedScene" id=3]

[node name="CanvasLayer" type="CanvasLayer"]

pause_mode = 2
layer = 1
offset = Vector2( 0, 0 )
rotation = 0.0
scale = Vector2( 1, 1 )
transform = Transform2D( 1, 0, 0, 1, 0, 0 )
_sections_unfolded = [ "Pause" ]

[node name="ColorRect" type="ColorRect" parent="." index="0"]

anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_right = 40.0
margin_bottom = 40.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
color = Color( 0, 0, 0, 1 )

[node name="VideoPlayer" type="VideoPlayer" parent="." index="1"]

anchor_left = 0.0
anchor_top = 0.0
anchor_right = 1.0
anchor_bottom = 1.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
audio_track = 0
stream = ExtResource( 1 )
volume_db = 0.0
autoplay = true
paused = false
expand = true
buffering_msec = 500
bus = "Master"
script = ExtResource( 2 )
_sections_unfolded = [ "Pause", "Size Flags" ]

[node name="Fade" parent="." index="2" instance=ExtResource( 3 )]

fade_in = true


0 comments on commit 1766132

Please sign in to comment.