Compare commits
2 Commits
bfcf61c51b
...
82a98acc6f
Author | SHA1 | Date |
---|---|---|
Just Dzhi | 82a98acc6f | |
Just Dzhi | fc94c6b6c9 |
|
@ -1,13 +1,21 @@
|
|||
[gd_scene load_steps=3 format=2]
|
||||
[gd_scene load_steps=5 format=2]
|
||||
|
||||
[ext_resource path="res://src/scenes/menu/menu.gd" type="Script" id=1]
|
||||
[ext_resource path="res://src/scenes/menu/background/background.png" type="Texture" id=2]
|
||||
[ext_resource path="res://res/themes/default.tres" type="Theme" id=3]
|
||||
[ext_resource path="res://src/scenes/menu/button/button_outline.png" type="Texture" id=4]
|
||||
|
||||
[node name="Menu" type="Node"]
|
||||
script = ExtResource( 1 )
|
||||
|
||||
[node name="View" type="Node2D" parent="."]
|
||||
|
||||
[node name="Background" type="Sprite" parent="View"]
|
||||
texture = ExtResource( 2 )
|
||||
centered = false
|
||||
region_enabled = true
|
||||
region_rect = Rect2( 0, 0, 320, 180 )
|
||||
|
||||
[node name="UI" type="Control" parent="."]
|
||||
margin_right = 160.0
|
||||
margin_bottom = 90.0
|
||||
|
@ -19,6 +27,17 @@ margin_right = 140.0
|
|||
margin_bottom = 60.0
|
||||
theme = ExtResource( 3 )
|
||||
text = "Play"
|
||||
flat = true
|
||||
|
||||
[node name="Button_Outline" type="NinePatchRect" parent="UI/PlayButton"]
|
||||
margin_right = 120.0
|
||||
margin_bottom = 40.0
|
||||
rect_clip_content = true
|
||||
texture = ExtResource( 4 )
|
||||
patch_margin_left = 2
|
||||
patch_margin_top = 2
|
||||
patch_margin_right = 2
|
||||
patch_margin_bottom = 2
|
||||
|
||||
[node name="SettingsButton" type="Button" parent="UI"]
|
||||
margin_left = 20.0
|
||||
|
@ -27,6 +46,17 @@ margin_right = 140.0
|
|||
margin_bottom = 110.0
|
||||
theme = ExtResource( 3 )
|
||||
text = "Settings"
|
||||
flat = true
|
||||
|
||||
[node name="Button_Outline" type="NinePatchRect" parent="UI/SettingsButton"]
|
||||
margin_right = 120.0
|
||||
margin_bottom = 40.0
|
||||
rect_clip_content = true
|
||||
texture = ExtResource( 4 )
|
||||
patch_margin_left = 2
|
||||
patch_margin_top = 2
|
||||
patch_margin_right = 2
|
||||
patch_margin_bottom = 2
|
||||
|
||||
[node name="ExitButton" type="Button" parent="UI"]
|
||||
margin_left = 20.0
|
||||
|
@ -35,6 +65,17 @@ margin_right = 140.0
|
|||
margin_bottom = 160.0
|
||||
theme = ExtResource( 3 )
|
||||
text = "Exit"
|
||||
flat = true
|
||||
|
||||
[node name="Button_Outline" type="NinePatchRect" parent="UI/ExitButton"]
|
||||
margin_right = 120.0
|
||||
margin_bottom = 40.0
|
||||
rect_clip_content = true
|
||||
texture = ExtResource( 4 )
|
||||
patch_margin_left = 2
|
||||
patch_margin_top = 2
|
||||
patch_margin_right = 2
|
||||
patch_margin_bottom = 2
|
||||
|
||||
[node name="Label" type="Label" parent="UI"]
|
||||
margin_left = 212.0
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 3.9 KiB |
|
@ -0,0 +1,35 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/background.png-ebca5d93cc16882530af3ae8f4b2c1b7.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://src/scenes/menu/background/background.png"
|
||||
dest_files=[ "res://.import/background.png-ebca5d93cc16882530af3ae8f4b2c1b7.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=1
|
||||
flags/filter=false
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=false
|
||||
svg/scale=1.0
|
Binary file not shown.
After Width: | Height: | Size: 133 B |
|
@ -0,0 +1,35 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/button_outline.png-77c63f9f20743f87408afd074242b2ba.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://src/scenes/menu/button/button_outline.png"
|
||||
dest_files=[ "res://.import/button_outline.png-77c63f9f20743f87408afd074242b2ba.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=false
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=false
|
||||
svg/scale=1.0
|
Loading…
Reference in New Issue