Version: 0.0.1
First major release, refined the creator, added stats to the main game, added a menu to view stats.
This commit is contained in:
parent
8f78f8e5cb
commit
e5911fd155
11 changed files with 264 additions and 42 deletions
|
@ -12,25 +12,34 @@ 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 = "Name"
|
||||
placeholder_text = "ID"
|
||||
|
||||
[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="."]
|
||||
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="."]
|
||||
|
|
|
@ -13,20 +13,37 @@ script = ExtResource("1_xc6y7")
|
|||
|
||||
[node name="Button" type="Button" parent="."]
|
||||
layout_mode = 0
|
||||
offset_left = 3.05176e-05
|
||||
offset_top = 1.52588e-05
|
||||
offset_right = 90.0
|
||||
offset_right = 96.0
|
||||
offset_bottom = 32.0
|
||||
scale = Vector2(5, 5)
|
||||
text = "Test"
|
||||
scale = Vector2(4, 4)
|
||||
text = "Play"
|
||||
|
||||
[node name="Button2" type="Button" parent="."]
|
||||
layout_mode = 0
|
||||
offset_top = 192.0
|
||||
offset_right = 90.0
|
||||
offset_bottom = 224.0
|
||||
scale = Vector2(5, 5)
|
||||
text = "Test2"
|
||||
offset_top = 184.0
|
||||
offset_right = 96.0
|
||||
offset_bottom = 216.0
|
||||
scale = Vector2(4, 4)
|
||||
text = "View
|
||||
"
|
||||
|
||||
[node name="Button3" type="Button" parent="."]
|
||||
layout_mode = 0
|
||||
offset_top = 368.0
|
||||
offset_right = 96.0
|
||||
offset_bottom = 400.0
|
||||
scale = Vector2(4, 4)
|
||||
text = "Creator"
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
layout_mode = 0
|
||||
offset_left = 488.0
|
||||
offset_top = 432.0
|
||||
offset_right = 592.0
|
||||
offset_bottom = 455.0
|
||||
scale = Vector2(3, 3)
|
||||
text = "Version: 0.0.1"
|
||||
|
||||
[connection signal="pressed" from="Button" to="." method="_on_button_pressed"]
|
||||
[connection signal="pressed" from="Button2" to="." method="_on_button_2_pressed"]
|
||||
[connection signal="pressed" from="Button3" to="." method="_on_button_3_pressed"]
|
||||
|
|
58
scenes/menu/view.tscn
Normal file
58
scenes/menu/view.tscn
Normal file
|
@ -0,0 +1,58 @@
|
|||
[gd_scene load_steps=2 format=3 uid="uid://btl7r0wvecyd3"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/getStats.gd" id="1_dcehj"]
|
||||
|
||||
[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_dcehj")
|
||||
|
||||
[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="output_name" type="TextEdit" parent="."]
|
||||
layout_mode = 0
|
||||
offset_left = 16.0
|
||||
offset_top = 72.0
|
||||
offset_right = 272.0
|
||||
offset_bottom = 112.0
|
||||
placeholder_text = "Name"
|
||||
editable = false
|
||||
|
||||
[node name="output_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"
|
||||
editable = false
|
||||
|
||||
[node name="output_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"
|
||||
editable = false
|
||||
|
||||
[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 = "Get"
|
||||
|
||||
[connection signal="pressed" from="button" to="." method="_on_button_pressed"]
|
Loading…
Add table
Add a link
Reference in a new issue