ld38-blacksheep/menu.tscn

195 lines
4.3 KiB
Plaintext

[gd_scene load_steps=4 format=1]
[ext_resource path="res://menu.gd" type="Script" id=1]
[ext_resource path="res://assets/main_menu_bg.png" type="Texture" id=2]
[ext_resource path="res://assets/title.png" type="Texture" id=3]
[node name="Node" type="Node"]
script/script = ExtResource( 1 )
[node name="Background" type="CanvasLayer" parent="."]
layer = 1
offset = Vector2( 0, 0 )
rotation = 0.0
scale = Vector2( 1, 1 )
[node name="TextureFrame" type="TextureFrame" parent="Background"]
focus/ignore_mouse = true
focus/stop_mouse = true
size_flags/horizontal = 2
size_flags/vertical = 2
margin/left = -1.0
margin/top = 0.0
margin/right = 1023.0
margin/bottom = 600.0
texture = ExtResource( 2 )
stretch_mode = 0
[node name="Foreground" type="CanvasLayer" parent="."]
layer = 2
offset = Vector2( 0, 0 )
rotation = 0.0
scale = Vector2( 1, 1 )
[node name="Title" type="TextureFrame" parent="Foreground"]
focus/ignore_mouse = true
focus/stop_mouse = true
size_flags/horizontal = 2
size_flags/vertical = 2
margin/left = 312.0
margin/top = 50.0
margin/right = 712.0
margin/bottom = 250.0
texture = ExtResource( 3 )
stretch_mode = 0
[node name="Play" type="Button" parent="Foreground"]
focus/ignore_mouse = false
focus/stop_mouse = true
size_flags/horizontal = 2
size_flags/vertical = 2
margin/left = 362.0
margin/top = 275.0
margin/right = 662.0
margin/bottom = 375.0
toggle_mode = false
click_on_press = true
enabled_focus_mode = 2
shortcut = null
text = "Play"
flat = false
[node name="Quit" type="Button" parent="Foreground"]
focus/ignore_mouse = false
focus/stop_mouse = true
size_flags/horizontal = 2
size_flags/vertical = 2
margin/left = 362.0
margin/top = 400.0
margin/right = 662.0
margin/bottom = 500.0
toggle_mode = false
click_on_press = true
enabled_focus_mode = 2
shortcut = null
text = "Quit"
flat = false
[node name="Panel" type="Panel" parent="Foreground"]
focus/ignore_mouse = false
focus/stop_mouse = true
size_flags/horizontal = 2
size_flags/vertical = 2
margin/left = 836.0
margin/top = 106.0
margin/right = 986.0
margin/bottom = 416.0
[node name="Label" type="Label" parent="Foreground/Panel"]
focus/ignore_mouse = true
focus/stop_mouse = true
size_flags/horizontal = 2
size_flags/vertical = 0
margin/left = 45.0
margin/top = 20.0
margin/right = 98.0
margin/bottom = 51.0
text = "Controls"
percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1
[node name="Label1" type="Label" parent="Foreground/Panel"]
focus/ignore_mouse = true
focus/stop_mouse = true
size_flags/horizontal = 2
size_flags/vertical = 0
margin/left = 40.0
margin/top = 135.0
margin/right = 108.0
margin/bottom = 166.0
text = "Conditions"
percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1
[node name="Label 2" type="Label" parent="Foreground/Panel"]
focus/ignore_mouse = true
focus/stop_mouse = true
size_flags/horizontal = 2
size_flags/vertical = 0
margin/left = 5.0
margin/top = 50.0
margin/right = 145.0
margin/bottom = 95.0
text = "(1) Ram : Damage fences"
autowrap = true
percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1
[node name="Label3" type="Label" parent="Foreground/Panel"]
focus/ignore_mouse = true
focus/stop_mouse = true
size_flags/horizontal = 2
size_flags/vertical = 0
margin/left = 5.0
margin/top = 85.0
margin/right = 145.0
margin/bottom = 130.0
text = "(2) Eat : Grass make you stronger"
autowrap = true
percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1
[node name="Label4" type="Label" parent="Foreground/Panel"]
focus/ignore_mouse = true
focus/stop_mouse = true
size_flags/horizontal = 2
size_flags/vertical = 0
margin/left = 5.0
margin/top = 155.0
margin/right = 145.0
margin/bottom = 230.0
text = "Don't become too suspicious - the farmer will come for you. Act like a sheep."
autowrap = true
percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1
[node name="Label5" type="Label" parent="Foreground/Panel"]
focus/ignore_mouse = true
focus/stop_mouse = true
size_flags/horizontal = 2
size_flags/vertical = 0
margin/left = 5.0
margin/top = 235.0
margin/right = 145.0
margin/bottom = 310.0
text = "Get out of the pen and off the screen before the time runs out."
autowrap = true
percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1
[connection signal="released" from="Foreground/Play" to="." method="_on_Play_released"]
[connection signal="released" from="Foreground/Quit" to="." method="_on_Quit_released"]