freettrpg/scenes/menu/create.tscn

46 lines
1.1 KiB
Text
Raw Normal View History

2024-06-14 10:34:06 +02:00
[gd_scene load_steps=2 format=3 uid="uid://b6t6yd7qnid1i"]
[ext_resource type="Script" path="res://scripts/createStats.gd" id="1_xsj3b"]
2024-06-14 09:44:34 +02:00
[node name="character_creator" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
2024-06-14 10:34:06 +02:00
script = ExtResource("1_xsj3b")
[node name="input_name" type="TextEdit" parent="."]
layout_mode = 0
offset_left = 16.0
offset_top = 16.0
offset_right = 272.0
offset_bottom = 56.0
placeholder_text = "Name"
[node name="input_hp" type="TextEdit" parent="."]
offset_left = 16.0
offset_top = 72.0
offset_right = 272.0
offset_bottom = 112.0
placeholder_text = "HP"
[node name="input_level" type="TextEdit" parent="."]
offset_left = 16.0
offset_top = 128.0
offset_right = 272.0
offset_bottom = 168.0
placeholder_text = "Level"
[node name="button" type="Button" parent="."]
layout_mode = 0
offset_left = 512.0
offset_top = 400.0
offset_right = 638.0
offset_bottom = 435.0
scale = Vector2(2, 2)
text = "Send"
[connection signal="pressed" from="button" to="." method="_on_button_pressed"]