fixed entrance to waking world
This commit is contained in:
parent
a60ba90f6b
commit
70f053a78b
2 changed files with 10 additions and 18 deletions
|
@ -16,9 +16,6 @@ func _ready():
|
||||||
$Body/Restart.disabled = true
|
$Body/Restart.disabled = true
|
||||||
$Body/Restart.focus_mode = Control.FOCUS_NONE
|
$Body/Restart.focus_mode = Control.FOCUS_NONE
|
||||||
$"%GreyedRestart".visible = true
|
$"%GreyedRestart".visible = true
|
||||||
$Body.text = "RESUME\nRESTART\nOPTIONS\nQUIT GAME"
|
|
||||||
else:
|
|
||||||
$Body.text = "RESUME\nRESTART\nOPTIONS\nEXIT LEVEL"
|
|
||||||
#Random lore
|
#Random lore
|
||||||
if lore_entries != null and not lore_entries.empty():
|
if lore_entries != null and not lore_entries.empty():
|
||||||
current_lore = randi() % lore_entries.size()
|
current_lore = randi() % lore_entries.size()
|
||||||
|
|
|
@ -18,7 +18,7 @@ script = ExtResource( 4 )
|
||||||
margin_left = 64.0
|
margin_left = 64.0
|
||||||
margin_top = 25.0
|
margin_top = 25.0
|
||||||
margin_right = 192.0
|
margin_right = 192.0
|
||||||
margin_bottom = 82.0
|
margin_bottom = 57.0
|
||||||
texture = ExtResource( 8 )
|
texture = ExtResource( 8 )
|
||||||
patch_margin_left = 3
|
patch_margin_left = 3
|
||||||
patch_margin_top = 3
|
patch_margin_top = 3
|
||||||
|
@ -30,7 +30,7 @@ pause_mode = 2
|
||||||
margin_left = 67.0
|
margin_left = 67.0
|
||||||
margin_top = 28.0
|
margin_top = 28.0
|
||||||
margin_right = 189.0
|
margin_right = 189.0
|
||||||
margin_bottom = 79.0
|
margin_bottom = 54.0
|
||||||
color = Color( 0.239216, 0.239216, 0.443137, 1 )
|
color = Color( 0.239216, 0.239216, 0.443137, 1 )
|
||||||
|
|
||||||
[node name="Paused" type="Label" parent="."]
|
[node name="Paused" type="Label" parent="."]
|
||||||
|
@ -49,12 +49,10 @@ pause_mode = 2
|
||||||
margin_left = 64.0
|
margin_left = 64.0
|
||||||
margin_top = 29.0
|
margin_top = 29.0
|
||||||
margin_right = 192.0
|
margin_right = 192.0
|
||||||
margin_bottom = 78.0
|
margin_bottom = 55.0
|
||||||
theme = ExtResource( 2 )
|
theme = ExtResource( 2 )
|
||||||
text = "RESUME
|
text = "RESUME
|
||||||
RESTART
|
OPTIONS"
|
||||||
OPTIONS
|
|
||||||
EXit level"
|
|
||||||
align = 1
|
align = 1
|
||||||
|
|
||||||
[node name="Resume" type="TextureButton" parent="Body"]
|
[node name="Resume" type="TextureButton" parent="Body"]
|
||||||
|
@ -64,9 +62,8 @@ margin_left = 36.0
|
||||||
margin_top = 1.0
|
margin_top = 1.0
|
||||||
margin_right = 44.0
|
margin_right = 44.0
|
||||||
margin_bottom = 9.0
|
margin_bottom = 9.0
|
||||||
focus_neighbour_left = NodePath(".")
|
focus_neighbour_top = NodePath("../Settings")
|
||||||
focus_neighbour_right = NodePath(".")
|
focus_neighbour_bottom = NodePath("../Settings")
|
||||||
focus_neighbour_bottom = NodePath("../Restart")
|
|
||||||
texture_focused = ExtResource( 3 )
|
texture_focused = ExtResource( 3 )
|
||||||
|
|
||||||
[node name="Restart" type="TextureButton" parent="Body"]
|
[node name="Restart" type="TextureButton" parent="Body"]
|
||||||
|
@ -96,13 +93,11 @@ text = "Restart"
|
||||||
pause_mode = 2
|
pause_mode = 2
|
||||||
material = ExtResource( 1 )
|
material = ExtResource( 1 )
|
||||||
margin_left = 32.0
|
margin_left = 32.0
|
||||||
margin_top = 27.0
|
margin_top = 14.0
|
||||||
margin_right = 40.0
|
margin_right = 40.0
|
||||||
margin_bottom = 35.0
|
margin_bottom = 22.0
|
||||||
focus_neighbour_left = NodePath(".")
|
focus_neighbour_top = NodePath("../Resume")
|
||||||
focus_neighbour_top = NodePath("../Restart")
|
focus_neighbour_bottom = NodePath("../Resume")
|
||||||
focus_neighbour_right = NodePath(".")
|
|
||||||
focus_neighbour_bottom = NodePath("../ExitLevel")
|
|
||||||
texture_focused = ExtResource( 3 )
|
texture_focused = ExtResource( 3 )
|
||||||
|
|
||||||
[node name="ExitLevel" type="TextureButton" parent="Body"]
|
[node name="ExitLevel" type="TextureButton" parent="Body"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue