NDI Working

This commit is contained in:
2025-07-22 09:00:28 +10:00
parent fc6fa30c85
commit 853e4423f7
41 changed files with 1375 additions and 3 deletions

View 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"