Files
ai-game-2/WalkTo.tscn
2025-12-21 12:48:00 -08:00

92 lines
2.3 KiB
Plaintext

[gd_scene load_steps=2 format=3 uid="uid://c1mpq8474j608"]
[sub_resource type="GDScript" id="1"]
script/source = "extends GraphNode
# Declare member variables here. Examples:
# var a = 2
# var b = \"text\"
# Called when the node enters the scene tree for the first time.
func _ready():
set_slot(0,true,0, Color(1.0,0,0),true,0, Color(1.0, 0, 0),null,null )
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta):
# pass
"
[node name="StartScriptNode" type="GraphNode"]
offset_left = 1.0
offset_top = 1.0
offset_right = 480.0
offset_bottom = 68.0
mouse_filter = 1
title = "walk_to"
slot/0/left_enabled = false
slot/0/left_type = 0
slot/0/left_color = Color(1, 1, 1, 1)
slot/0/right_enabled = false
slot/0/right_type = 0
slot/0/right_color = Color(1, 1, 1, 1)
script = SubResource("1")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
offset_left = 16.0
offset_top = 24.0
offset_right = 463.0
offset_bottom = 88.0
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
offset_right = 447.0
offset_bottom = 30.0
[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer"]
offset_top = 8.0
offset_right = 7.0
offset_bottom = 22.0
text = "x"
[node name="TextEdit" type="TextEdit" parent="VBoxContainer/HBoxContainer"]
offset_left = 11.0
offset_right = 221.0
offset_bottom = 30.0
custom_minimum_size = Vector2(60, 30)
size_flags_horizontal = 7
[node name="Label2" type="Label" parent="VBoxContainer/HBoxContainer"]
offset_left = 225.0
offset_top = 8.0
offset_right = 232.0
offset_bottom = 22.0
text = "y"
[node name="TextEdit2" type="TextEdit" parent="VBoxContainer/HBoxContainer"]
offset_left = 236.0
offset_right = 447.0
offset_bottom = 30.0
custom_minimum_size = Vector2(60, 30)
size_flags_horizontal = 7
[node name="HBoxContainer2" type="HBoxContainer" parent="VBoxContainer"]
offset_top = 34.0
offset_right = 447.0
offset_bottom = 64.0
[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer2"]
offset_top = 8.0
offset_right = 101.0
offset_bottom = 22.0
text = "Mouse Location"
[node name="TextEdit" type="CheckBox" parent="VBoxContainer/HBoxContainer2"]
offset_left = 105.0
offset_right = 447.0
offset_bottom = 30.0
custom_minimum_size = Vector2(60, 30)
size_flags_horizontal = 7