level select menu indicator

This commit is contained in:
Haze Weathers 2024-12-09 14:50:19 -05:00
parent 93656bdcfa
commit 8252ff66b8
4 changed files with 68 additions and 1 deletions

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=53 format=2]
[gd_scene load_steps=56 format=2]
[ext_resource path="res://menus/level_select_scholar.gd" type="Script" id=1]
[ext_resource path="res://graphics/level_select/world_map.png" type="Texture" id=2]
@ -21,6 +21,8 @@
[ext_resource path="res://objects/hud/menu_sounds.tscn" type="PackedScene" id=19]
[ext_resource path="res://scripts/randomize_particle_start.gd" type="Script" id=20]
[ext_resource path="res://graphics/particles/shine.png" type="Texture" id=21]
[ext_resource path="res://graphics/hud/gamepad_buttons.png" type="Texture" id=22]
[ext_resource path="res://scripts/show_button.gd" type="Script" id=23]
[sub_resource type="AtlasTexture" id=33]
atlas = ExtResource( 15 )
@ -952,6 +954,11 @@ tracks/1/keys = {
"values": [ Vector2( 0, 0.02 ), Vector2( 1, 0.02 ), Vector2( 1, 1 ) ]
}
[sub_resource type="AtlasTexture" id=37]
resource_local_to_scene = true
atlas = ExtResource( 22 )
region = Rect2( 0, 0, 12, 10 )
[node name="LevelSelect" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
@ -1469,6 +1476,36 @@ theme = ExtResource( 4 )
custom_fonts/font = ExtResource( 12 )
text = "72"
[node name="MenuIndicator" type="HBoxContainer" parent="."]
margin_left = 3.0
margin_top = 23.0
margin_right = 47.0
margin_bottom = 33.0
custom_constants/separation = 2
script = ExtResource( 23 )
action = "ui_cancel"
[node name="Label" type="Label" parent="MenuIndicator"]
margin_right = 35.0
margin_bottom = 10.0
custom_fonts/font = ExtResource( 12 )
text = "Menu:"
[node name="KeyboardButton" type="Label" parent="MenuIndicator"]
margin_left = 37.0
margin_right = 44.0
margin_bottom = 10.0
custom_fonts/font = ExtResource( 12 )
text = "X"
[node name="GamepadButton" type="TextureRect" parent="MenuIndicator"]
visible = false
margin_left = 46.0
margin_right = 58.0
margin_bottom = 10.0
size_flags_vertical = 4
texture = SubResource( 37 )
[node name="Shard" parent="." instance=ExtResource( 11 )]
position = Vector2( 4, 5 )