freettrpg/scenes/menu/create.tscn
Patrick_Pluto e5911fd155 Version: 0.0.1
First major release, refined the creator, added stats to the main game, added a menu to view stats.
2024-06-15 20:33:37 +02:00

54 lines
1.2 KiB
Text

[gd_scene load_steps=2 format=3 uid="uid://b6t6yd7qnid1i"]
[ext_resource type="Script" path="res://scripts/createStats.gd" id="1_xsj3b"]
[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
script = ExtResource("1_xsj3b")
[node name="input_name" type="TextEdit" parent="."]
offset_left = 16.0
offset_top = 72.0
offset_right = 272.0
offset_bottom = 112.0
placeholder_text = "Name"
[node name="input_id" type="TextEdit" parent="."]
layout_mode = 0
offset_left = 16.0
offset_top = 16.0
offset_right = 272.0
offset_bottom = 56.0
placeholder_text = "ID"
[node name="input_hp" type="TextEdit" parent="."]
layout_mode = 0
offset_left = 16.0
offset_top = 128.0
offset_right = 272.0
offset_bottom = 168.0
placeholder_text = "HP"
[node name="input_level" type="TextEdit" parent="."]
layout_mode = 0
offset_left = 16.0
offset_top = 184.0
offset_right = 272.0
offset_bottom = 224.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"]