Mostly music
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=10 format=3 uid="uid://cxet2lvdco2ak"]
|
||||
[gd_scene load_steps=14 format=3 uid="uid://cxet2lvdco2ak"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://y5h2sfhsyn7f" path="res://Game/Menu/mapselector.gd" id="1_cnef1"]
|
||||
[ext_resource type="Texture2D" uid="uid://bgy114b67j3kg" path="res://Assets/Others/8-bit-graphics-pixels-scene-with-castle.jpg" id="1_jteil"]
|
||||
@ -20,6 +20,32 @@ texture = ExtResource("3_2uj2s")
|
||||
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_cg1t8"]
|
||||
texture = ExtResource("3_2uj2s")
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_cnef1"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_mjmwi"]
|
||||
bg_color = Color(0.485703, 0.485704, 0.485703, 0.447059)
|
||||
corner_radius_top_left = 20
|
||||
corner_radius_top_right = 20
|
||||
corner_radius_bottom_right = 20
|
||||
corner_radius_bottom_left = 20
|
||||
shadow_size = 5
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_udeaf"]
|
||||
bg_color = Color(0.117647, 0.117647, 0.117647, 0.682353)
|
||||
corner_radius_top_left = 20
|
||||
corner_radius_top_right = 20
|
||||
corner_radius_bottom_right = 20
|
||||
corner_radius_bottom_left = 20
|
||||
shadow_size = 5
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_5yqcp"]
|
||||
bg_color = Color(1, 1, 1, 0.447059)
|
||||
corner_radius_top_left = 20
|
||||
corner_radius_top_right = 20
|
||||
corner_radius_bottom_right = 20
|
||||
corner_radius_bottom_left = 20
|
||||
shadow_size = 5
|
||||
|
||||
[node name="mapselector" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
@ -101,4 +127,33 @@ layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
text = "Score: 10 / "
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 12
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_top = -8.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 0
|
||||
alignment = 1
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="HBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 20
|
||||
theme_override_constants/margin_top = 20
|
||||
theme_override_constants/margin_right = 20
|
||||
theme_override_constants/margin_bottom = 20
|
||||
|
||||
[node name="Button" type="Button" parent="HBoxContainer/MarginContainer"]
|
||||
custom_minimum_size = Vector2(250, 0)
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0, 0, 0, 1)
|
||||
theme_override_font_sizes/font_size = 30
|
||||
theme_override_styles/focus = SubResource("StyleBoxEmpty_cnef1")
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_mjmwi")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_udeaf")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_5yqcp")
|
||||
text = "Main Menu"
|
||||
|
||||
[connection signal="pressed" from="VBoxContainer/HBoxContainer/first/Button" to="." method="_on_button_pressed"]
|
||||
|
Reference in New Issue
Block a user