Files
2025-08-01 16:06:32 -07:00

57 lines
1.9 KiB
Plaintext

[gd_scene load_steps=2 format=3 uid="uid://y74lqsx8bpxn"]
[ext_resource type="Script" path="res://addons/cutscene_editor/editor/nodes/MoveActionNode.gd" id="1_5aood"]
[node name="MoveActionNode" type="GraphNode"]
modulate = Color(0.4, 0.6, 1, 1)
custom_minimum_size = Vector2(150, 0)
title = "Move"
slot/0/left_enabled = true
slot/0/left_type = 0
slot/0/left_color = Color(0, 0, 0, 1)
slot/0/left_icon = null
slot/0/right_enabled = true
slot/0/right_type = 0
slot/0/right_color = Color(0, 0, 0, 1)
slot/0/right_icon = null
slot/0/draw_stylebox = true
script = ExtResource("1_5aood")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 2
[node name="Character" type="Label" parent="VBoxContainer"]
layout_mode = 2
[node name="CharacterEDit" type="LineEdit" parent="VBoxContainer"]
custom_minimum_size = Vector2(0, 32.865)
layout_mode = 2
text = "aoeu"
placeholder_text = "aoeu"
[node name="Location" type="Label" parent="VBoxContainer"]
layout_mode = 2
text = "Location"
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
layout_mode = 2
[node name="x" type="LineEdit" parent="VBoxContainer/HBoxContainer"]
layout_mode = 2
[node name="y" type="LineEdit" parent="VBoxContainer/HBoxContainer"]
layout_mode = 2
[node name="Speed" type="Label" parent="VBoxContainer"]
layout_mode = 2
text = "Speed"
[node name="speed" type="LineEdit" parent="VBoxContainer"]
layout_mode = 2
[connection signal="text_changed" from="VBoxContainer/CharacterEDit" to="." method="_on_character_changed"]
[connection signal="text_changed" from="VBoxContainer/HBoxContainer/x" to="." method="_on_target_x_changed"]
[connection signal="text_changed" from="VBoxContainer/HBoxContainer/y" to="." method="_on_target_y_changed"]
[connection signal="text_change_rejected" from="VBoxContainer/speed" to="." method="_on_speed_text_change_rejected"]
[connection signal="text_changed" from="VBoxContainer/speed" to="." method="_on_speed_changed"]