initial commit
This commit is contained in:
117
Main.tscn
Normal file
117
Main.tscn
Normal file
@@ -0,0 +1,117 @@
|
||||
[gd_scene load_steps=10 format=2]
|
||||
|
||||
[ext_resource path="res://Main.gd" type="Script" id=1]
|
||||
[ext_resource path="res://Input.tscn" type="PackedScene" id=2]
|
||||
[ext_resource path="res://Keyboard.tscn" type="PackedScene" id=3]
|
||||
|
||||
[sub_resource type="Theme" id=3]
|
||||
LineEdit/colors/background_color = Color( 0.698039, 0.141176, 0.141176, 1 )
|
||||
TextEdit/colors/background_color = Color( 0.498039, 0.72549, 0.0941176, 0.788235 )
|
||||
|
||||
[sub_resource type="InputEventKey" id=8]
|
||||
pressed = true
|
||||
scancode = 16777221
|
||||
|
||||
[sub_resource type="ShortCut" id=2]
|
||||
shortcut = SubResource( 8 )
|
||||
|
||||
[sub_resource type="InputEventAction" id=6]
|
||||
action = "delete"
|
||||
|
||||
[sub_resource type="ShortCut" id=7]
|
||||
shortcut = SubResource( 6 )
|
||||
|
||||
[sub_resource type="Theme" id=4]
|
||||
Label/colors/font_color = Color( 0, 0, 0, 1 )
|
||||
|
||||
[node name="Main" type="Control"]
|
||||
anchor_right = 0.395
|
||||
anchor_bottom = 0.43
|
||||
margin_right = -0.480011
|
||||
rect_pivot_offset = Vector2( 328, 264 )
|
||||
script = ExtResource( 1 )
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="."]
|
||||
margin_left = -5.0
|
||||
margin_top = -5.0
|
||||
margin_right = 418.0
|
||||
margin_bottom = 508.0
|
||||
|
||||
[node name="Submit" type="Button" parent="."]
|
||||
margin_left = 135.0
|
||||
margin_top = 460.0
|
||||
margin_right = 192.0
|
||||
margin_bottom = 480.0
|
||||
focus_mode = 0
|
||||
theme = SubResource( 3 )
|
||||
enabled_focus_mode = 0
|
||||
shortcut = SubResource( 2 )
|
||||
text = "Submit"
|
||||
|
||||
[node name="Delete" type="Button" parent="."]
|
||||
margin_left = 235.0
|
||||
margin_top = 461.0
|
||||
margin_right = 290.0
|
||||
margin_bottom = 481.0
|
||||
focus_mode = 0
|
||||
enabled_focus_mode = 0
|
||||
shortcut = SubResource( 7 )
|
||||
text = "Delete"
|
||||
|
||||
[node name="Try1" parent="." instance=ExtResource( 2 )]
|
||||
margin_left = 7.0
|
||||
margin_top = 14.0
|
||||
margin_right = 407.0
|
||||
margin_bottom = 47.0
|
||||
|
||||
[node name="Try2" parent="." instance=ExtResource( 2 )]
|
||||
margin_left = 7.0
|
||||
margin_top = 54.0
|
||||
margin_right = 407.0
|
||||
margin_bottom = 85.0
|
||||
|
||||
[node name="Try3" parent="." instance=ExtResource( 2 )]
|
||||
margin_left = 7.0
|
||||
margin_top = 96.0
|
||||
margin_right = 406.0
|
||||
margin_bottom = 129.0
|
||||
|
||||
[node name="Try4" parent="." instance=ExtResource( 2 )]
|
||||
anchor_bottom = 0.155
|
||||
margin_left = 7.0
|
||||
margin_top = 139.0
|
||||
margin_right = 408.0
|
||||
margin_bottom = 150.938
|
||||
|
||||
[node name="Try5" parent="." instance=ExtResource( 2 )]
|
||||
margin_left = 7.0
|
||||
margin_top = 180.0
|
||||
margin_right = 408.0
|
||||
margin_bottom = 212.0
|
||||
|
||||
[node name="Try6" parent="." instance=ExtResource( 2 )]
|
||||
margin_left = 6.0
|
||||
margin_top = 219.0
|
||||
margin_right = 415.0
|
||||
margin_bottom = 251.0
|
||||
|
||||
[node name="Keyboard" parent="." instance=ExtResource( 3 )]
|
||||
margin_left = 34.0
|
||||
margin_top = 327.0
|
||||
margin_right = 403.0
|
||||
margin_bottom = 454.0
|
||||
|
||||
[node name="Message" type="Label" parent="."]
|
||||
margin_left = 9.0
|
||||
margin_top = 260.0
|
||||
margin_right = 402.0
|
||||
margin_bottom = 321.0
|
||||
theme = SubResource( 4 )
|
||||
text = "You Win"
|
||||
align = 1
|
||||
|
||||
[node name="MessageTimer" type="Timer" parent="."]
|
||||
wait_time = 5.0
|
||||
|
||||
[connection signal="pressed" from="Submit" to="." method="_on_Submit_pressed"]
|
||||
[connection signal="pressed" from="Delete" to="." method="_on_Delete_pressed"]
|
||||
Reference in New Issue
Block a user