summaryrefslogtreecommitdiff
path: root/src/tools/ScreenRecorder.tscn
blob: 96d6dfff5b5ad0155f3c7b5f2c7d8d6546297602 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
[gd_scene load_steps=4 format=2]

[ext_resource path="res://addons/GifMaker/GifRectangle.gd" type="Script" id=1]
[ext_resource path="res://tools/screen_recorder.gd" type="Script" id=2]
[ext_resource path="res://addons/GifMaker/GifRecorder.gd" type="Script" id=3]

[node name="ScreenRecorder" type="CanvasLayer"]
script = ExtResource( 2 )

[node name="Control" type="Control" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0

[node name="GifRectangle" type="ReferenceRect" parent="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 1 )

[node name="GifRecorder" type="Viewport" parent="Control"]
size = Vector2( 2, 2 )
script = ExtResource( 3 )
render_type = 1
seconds = 4.0
autostart = true
capture_node_path = NodePath("../GifRectangle")