mirror of
https://github.com/litruv/PNGTuber-Plus.git
synced 2026-07-24 02:26:02 +10:00
NDI Working
This commit is contained in:
58
addons/godot-ndi/demo/AnimationOutput.tscn
Normal file
58
addons/godot-ndi/demo/AnimationOutput.tscn
Normal file
@@ -0,0 +1,58 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://p6ywmqtt7nke"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://cfvxj5cdj3n45" path="res://addons/godot-ndi/demo/assets/icon.svg" id="1_ekn6m"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_62e2m"]
|
||||
length = 0.001
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Icon:position")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Vector2(1034, 527)]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_0fbet"]
|
||||
resource_name = "new_animation"
|
||||
length = 8.0
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Icon:position")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 3.9627, 7.9587),
|
||||
"transitions": PackedFloat32Array(1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [Vector2(116, 119), Vector2(1034, 527), Vector2(116, 119)]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_ee4bf"]
|
||||
_data = {
|
||||
&"RESET": SubResource("Animation_62e2m"),
|
||||
&"new_animation": SubResource("Animation_0fbet")
|
||||
}
|
||||
|
||||
[node name="SubViewport" type="Node2D"]
|
||||
|
||||
[node name="NDIOutput" type="NDIOutput" parent="."]
|
||||
name = "Godot (Animation)"
|
||||
|
||||
[node name="Icon" type="Sprite2D" parent="."]
|
||||
position = Vector2(1034, 527)
|
||||
scale = Vector2(1.463, 1.463)
|
||||
texture = ExtResource("1_ekn6m")
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
libraries = {
|
||||
&"": SubResource("AnimationLibrary_ee4bf")
|
||||
}
|
||||
autoplay = "new_animation"
|
||||
Reference in New Issue
Block a user