[gd_scene load_steps=4 format=3 uid="uid://cg11wahb2kyqs"] [ext_resource type="Script" uid="uid://byok0e08rgu4l" path="res://script/score_saver.gd" id="1_3aw1o"] [ext_resource type="Theme" uid="uid://b46gto6k33wqr" path="res://theme.tres" id="1_sa1is"] [sub_resource type="GDScript" id="GDScript_sa1is"] script/source = "extends ItemList func _ready() -> void: grab_focus() " [node name="score_saver" type="Node2D" node_paths=PackedStringArray("keyboard", "label_name")] script = ExtResource("1_3aw1o") keyboard = NodePath("Control/ItemList") label_name = NodePath("Control/Label") [node name="ColorRect" type="ColorRect" parent="."] custom_minimum_size = Vector2(640, 640) offset_right = 640.0 offset_bottom = 640.0 color = Color(0, 0, 0, 1) [node name="Control" type="Control" parent="."] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="ItemList" type="ItemList" parent="Control"] layout_mode = 0 offset_top = 426.0 offset_right = 640.0 offset_bottom = 640.0 theme = ExtResource("1_sa1is") auto_width = true item_count = 32 max_columns = 11 item_0/text = "A" item_1/text = "B" item_2/text = "C" item_3/text = "D" item_4/text = "E" item_5/text = "F" item_6/text = "G" item_7/text = "H" item_8/text = " " item_8/selectable = false item_8/disabled = true item_9/text = "Back" item_10/text = " " item_10/selectable = false item_10/disabled = true item_11/text = "I" item_12/text = "J" item_13/text = "K" item_14/text = "L" item_15/text = "M" item_16/text = "N" item_17/text = "O" item_18/text = "P" item_19/text = " " item_19/selectable = false item_19/disabled = true item_20/text = "Enter" item_21/text = " " item_21/selectable = false item_21/disabled = true item_22/text = "Q" item_23/text = "R" item_24/text = "S" item_25/text = "T" item_26/text = "U" item_27/text = "V" item_28/text = "W" item_29/text = "X" item_30/text = "Y" item_31/text = "Z" script = SubResource("GDScript_sa1is") [node name="Label" type="Label" parent="Control"] layout_mode = 1 offset_left = 2.0 offset_top = 2.0 offset_right = 638.0 offset_bottom = 424.0 theme = ExtResource("1_sa1is") theme_override_font_sizes/font_size = 64 text = "Player Name 0/15:" horizontal_alignment = 1 vertical_alignment = 1 [connection signal="item_activated" from="Control/ItemList" to="." method="_on_item_list_item_activated"] [connection signal="item_selected" from="Control/ItemList" to="." method="_on_item_list_item_selected"]