WordHunt/scenes/Main.tscn

138 lines
3.7 KiB
Plaintext
Raw Normal View History

2022-02-10 19:38:18 +10:30
[gd_scene load_steps=3 format=2]
2022-02-10 20:42:37 +10:30
[ext_resource path="res://scenes/WordContainer.tscn" type="PackedScene" id=1]
[ext_resource path="res://src/KeyboardPanel.gd" type="Script" id=2]
2022-02-10 19:38:18 +10:30
[node name="Control" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VBoxContainer" type="VBoxContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="GuessesPanel" type="GridContainer" parent="VBoxContainer"]
margin_right = 420.0
margin_bottom = 478.0
size_flags_horizontal = 3
size_flags_vertical = 3
columns = 2
[node name="lbl_guess" type="Label" parent="VBoxContainer/GuessesPanel"]
margin_right = 208.0
margin_bottom = 14.0
size_flags_horizontal = 3
text = "Computer's Guess"
align = 1
[node name="lbl_solution" type="Label" parent="VBoxContainer/GuessesPanel"]
margin_left = 212.0
margin_right = 420.0
margin_bottom = 14.0
size_flags_horizontal = 3
text = "Your Solution"
align = 1
2022-02-10 20:42:37 +10:30
[node name="WordContainer" parent="VBoxContainer/GuessesPanel" instance=ExtResource( 1 )]
2022-02-10 19:38:18 +10:30
margin_right = 208.0
2022-02-10 20:42:37 +10:30
[node name="WordContainer2" parent="VBoxContainer/GuessesPanel" instance=ExtResource( 1 )]
2022-02-10 19:38:18 +10:30
margin_left = 212.0
margin_right = 420.0
2022-02-10 20:42:37 +10:30
[node name="WordContainer3" parent="VBoxContainer/GuessesPanel" instance=ExtResource( 1 )]
2022-02-10 19:38:18 +10:30
margin_top = 54.0
margin_right = 208.0
margin_bottom = 86.0
2022-02-10 20:42:37 +10:30
[node name="WordContainer4" parent="VBoxContainer/GuessesPanel" instance=ExtResource( 1 )]
2022-02-10 19:38:18 +10:30
margin_left = 212.0
margin_top = 54.0
margin_right = 420.0
margin_bottom = 86.0
2022-02-10 20:42:37 +10:30
[node name="WordContainer5" parent="VBoxContainer/GuessesPanel" instance=ExtResource( 1 )]
2022-02-10 19:38:18 +10:30
margin_top = 90.0
margin_right = 208.0
margin_bottom = 122.0
2022-02-10 20:42:37 +10:30
[node name="WordContainer6" parent="VBoxContainer/GuessesPanel" instance=ExtResource( 1 )]
2022-02-10 19:38:18 +10:30
margin_left = 212.0
margin_top = 90.0
margin_right = 420.0
margin_bottom = 122.0
2022-02-10 20:42:37 +10:30
[node name="WordContainer7" parent="VBoxContainer/GuessesPanel" instance=ExtResource( 1 )]
2022-02-10 19:38:18 +10:30
margin_top = 126.0
margin_right = 208.0
margin_bottom = 158.0
2022-02-10 20:42:37 +10:30
[node name="WordContainer8" parent="VBoxContainer/GuessesPanel" instance=ExtResource( 1 )]
2022-02-10 19:38:18 +10:30
margin_left = 212.0
margin_top = 126.0
margin_right = 420.0
margin_bottom = 158.0
2022-02-10 20:42:37 +10:30
[node name="WordContainer9" parent="VBoxContainer/GuessesPanel" instance=ExtResource( 1 )]
2022-02-10 19:38:18 +10:30
margin_top = 162.0
margin_right = 208.0
margin_bottom = 194.0
2022-02-10 20:42:37 +10:30
[node name="WordContainer10" parent="VBoxContainer/GuessesPanel" instance=ExtResource( 1 )]
2022-02-10 19:38:18 +10:30
margin_left = 212.0
margin_top = 162.0
margin_right = 420.0
margin_bottom = 194.0
2022-02-10 20:42:37 +10:30
[node name="WordContainer11" parent="VBoxContainer/GuessesPanel" instance=ExtResource( 1 )]
2022-02-10 19:38:18 +10:30
margin_top = 198.0
margin_right = 208.0
margin_bottom = 230.0
2022-02-10 20:42:37 +10:30
[node name="WordContainer12" parent="VBoxContainer/GuessesPanel" instance=ExtResource( 1 )]
2022-02-10 19:38:18 +10:30
margin_left = 212.0
margin_top = 198.0
margin_right = 420.0
margin_bottom = 230.0
[node name="KeyboardPanel" type="PanelContainer" parent="VBoxContainer"]
margin_top = 482.0
margin_right = 420.0
margin_bottom = 600.0
size_flags_horizontal = 3
2022-02-10 20:42:37 +10:30
script = ExtResource( 2 )
2022-02-10 19:38:18 +10:30
[node name="PlayGameDialog" type="ColorRect" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
2022-02-10 20:42:37 +10:30
color = Color( 0, 0, 0.129412, 0.27451 )
2022-02-10 19:38:18 +10:30
[node name="Label" type="Label" parent="PlayGameDialog"]
anchor_right = 1.0
anchor_bottom = 1.0
2022-02-10 20:42:37 +10:30
margin_bottom = -320.0
2022-02-10 19:38:18 +10:30
text = "A bot is trying to hunt you down!
When it guesses a word, choose a word to hide behind.
You can change words each turn,
but you can't contradict your previous clues!
Try to last 6 turns!"
align = 1
2022-02-10 20:42:37 +10:30
valign = 2
2022-02-10 19:38:18 +10:30
[node name="NewGameButton" type="Button" parent="PlayGameDialog"]
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = -300.0
text = "Play New Game"
__meta__ = {
"_edit_use_anchors_": false
}