This commit is contained in:
2025-08-01 17:11:56 -07:00
parent 90be9ae6b3
commit cfb4aa874b
7 changed files with 6 additions and 110 deletions

19
cutscene_from_file.tscn Normal file
View File

@@ -0,0 +1,19 @@
[gd_scene load_steps=2 format=3 uid="uid://bb0vnntvwbuff"]
[ext_resource type="Script" path="res://cutscene_from_file.gd" id="1_1icvi"]
[node name="Node2D" type="Node2D"]
script = ExtResource("1_1icvi")
[node name="Character1" type="Node2D" parent="."]
position = Vector2(100, 100)
script = ExtResource("1_1icvi")
[node name="Polygon2D" type="Polygon2D" parent="Character1"]
polygon = PackedVector2Array(33, -74, -67, 4, -20, 33, 45, 2)
[node name="Character2" type="Node2D" parent="."]
position = Vector2(200, 200)
[node name="Polygon2D" type="Polygon2D" parent="Character2"]
polygon = PackedVector2Array(21, -54, -56, 23, 2, 59, 63, -16, 58, -69)