forked from team-sg/hero-mark-2
started work on menus
This commit is contained in:
parent
6e16aead24
commit
51601d5ad1
9 changed files with 232 additions and 0 deletions
94
menus/main_menu.tscn
Normal file
94
menus/main_menu.tscn
Normal file
|
@ -0,0 +1,94 @@
|
|||
[gd_scene load_steps=6 format=2]
|
||||
|
||||
[ext_resource path="res://ui/theme.tres" type="Theme" id=1]
|
||||
[ext_resource path="res://graphics/borders/skaborder.png" type="Texture" id=2]
|
||||
[ext_resource path="res://graphics/hud/sg_menu.png" type="Texture" id=3]
|
||||
[ext_resource path="res://graphics/hud/pause_arrow.png" type="Texture" id=4]
|
||||
[ext_resource path="res://menus/main_menu.gd" type="Script" id=5]
|
||||
|
||||
[node name="MainMenu" type="Node"]
|
||||
script = ExtResource( 5 )
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="."]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
texture = ExtResource( 2 )
|
||||
expand = true
|
||||
stretch_mode = 2
|
||||
|
||||
[node name="TextureRect2" type="TextureRect" parent="."]
|
||||
margin_left = 176.0
|
||||
margin_top = 40.0
|
||||
margin_right = 242.0
|
||||
margin_bottom = 187.0
|
||||
texture = ExtResource( 3 )
|
||||
|
||||
[node name="Panel" type="Panel" parent="."]
|
||||
margin_left = 16.0
|
||||
margin_top = 32.0
|
||||
margin_right = 136.0
|
||||
margin_bottom = 112.0
|
||||
theme = ExtResource( 1 )
|
||||
|
||||
[node name="Body" type="Label" parent="Panel"]
|
||||
margin_left = 16.0
|
||||
margin_top = 8.0
|
||||
margin_right = 112.0
|
||||
margin_bottom = 57.0
|
||||
text = "continue
|
||||
file select
|
||||
marathon mode
|
||||
augmentations
|
||||
options"
|
||||
|
||||
[node name="GreyedContinue" type="Label" parent="Panel/Body"]
|
||||
visible = false
|
||||
margin_right = 56.0
|
||||
margin_bottom = 10.0
|
||||
custom_colors/font_color = Color( 0.690196, 0.690196, 0.690196, 1 )
|
||||
text = "Continue"
|
||||
|
||||
[node name="Continue" type="TextureButton" parent="Panel"]
|
||||
margin_left = 8.0
|
||||
margin_top = 9.0
|
||||
margin_right = 16.0
|
||||
margin_bottom = 17.0
|
||||
focus_neighbour_top = NodePath("../Augmentations")
|
||||
focus_neighbour_bottom = NodePath("../FileSelect")
|
||||
texture_focused = ExtResource( 4 )
|
||||
|
||||
[node name="FileSelect" type="TextureButton" parent="Panel"]
|
||||
margin_left = 8.0
|
||||
margin_top = 22.0
|
||||
margin_right = 16.0
|
||||
margin_bottom = 30.0
|
||||
focus_neighbour_top = NodePath("../Continue")
|
||||
focus_neighbour_bottom = NodePath("../MarathonMode")
|
||||
texture_focused = ExtResource( 4 )
|
||||
|
||||
[node name="MarathonMode" type="TextureButton" parent="Panel"]
|
||||
margin_left = 8.0
|
||||
margin_top = 35.0
|
||||
margin_right = 16.0
|
||||
margin_bottom = 43.0
|
||||
focus_neighbour_top = NodePath("../FileSelect")
|
||||
focus_neighbour_bottom = NodePath("../Augmentations")
|
||||
texture_focused = ExtResource( 4 )
|
||||
|
||||
[node name="Augmentations" type="TextureButton" parent="Panel"]
|
||||
margin_left = 8.0
|
||||
margin_top = 48.0
|
||||
margin_right = 16.0
|
||||
margin_bottom = 56.0
|
||||
focus_neighbour_top = NodePath("../MarathonMode")
|
||||
focus_neighbour_bottom = NodePath("../Options")
|
||||
texture_focused = ExtResource( 4 )
|
||||
|
||||
[node name="Options" type="TextureButton" parent="Panel"]
|
||||
margin_left = 8.0
|
||||
margin_top = 61.0
|
||||
margin_right = 16.0
|
||||
margin_bottom = 69.0
|
||||
focus_neighbour_top = NodePath("../Augmentations")
|
||||
focus_neighbour_bottom = NodePath("../Continue")
|
||||
texture_focused = ExtResource( 4 )
|
Loading…
Add table
Add a link
Reference in a new issue