Files
skelly/scenes/main/PressAnyKeyScreen.tscn
Vladimir nett00n Budylnikov afc808f0d6 match-3 grid generation
make game scene modular
global debug mode
2025-09-24 10:45:14 +04:00

139 lines
3.8 KiB
Plaintext

[gd_scene load_steps=16 format=3 uid="uid://gbe1jarrwqsi"]
[ext_resource type="Script" uid="uid://cxw2fjj5onja3" path="res://scenes/main/PressAnyKeyScreen.gd" id="1_0a4p2"]
[ext_resource type="Texture2D" uid="uid://bcr4bokw87m5n" path="res://assets/sprites/characters/skeleton/Skeleton Idle.png" id="2_rjjcb"]
[ext_resource type="PackedScene" path="res://scenes/ui/DebugToggle.tscn" id="3_debug"]
[sub_resource type="AtlasTexture" id="AtlasTexture_l6pue"]
atlas = ExtResource("2_rjjcb")
region = Rect2(0, 0, 24, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_3h5mc"]
atlas = ExtResource("2_rjjcb")
region = Rect2(24, 0, 24, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_gqpp5"]
atlas = ExtResource("2_rjjcb")
region = Rect2(48, 0, 24, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_ff5uo"]
atlas = ExtResource("2_rjjcb")
region = Rect2(72, 0, 24, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_e7oxa"]
atlas = ExtResource("2_rjjcb")
region = Rect2(96, 0, 24, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_urgkb"]
atlas = ExtResource("2_rjjcb")
region = Rect2(120, 0, 24, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_xfg50"]
atlas = ExtResource("2_rjjcb")
region = Rect2(144, 0, 24, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_sy0v8"]
atlas = ExtResource("2_rjjcb")
region = Rect2(168, 0, 24, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_kfv8w"]
atlas = ExtResource("2_rjjcb")
region = Rect2(192, 0, 24, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_lvvje"]
atlas = ExtResource("2_rjjcb")
region = Rect2(216, 0, 24, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_vvh7w"]
atlas = ExtResource("2_rjjcb")
region = Rect2(240, 0, 24, 32)
[sub_resource type="SpriteFrames" id="SpriteFrames_wtrhp"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_l6pue")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_3h5mc")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_gqpp5")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ff5uo")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_e7oxa")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_urgkb")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_xfg50")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_sy0v8")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_kfv8w")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_lvvje")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_vvh7w")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[node name="PressAnyKeyScreen" type="Control" groups=["localizable"]]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_0a4p2")
[node name="PressKeyContainer" type="VBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -80.5
offset_top = -25.0
offset_right = 80.5
offset_bottom = 25.0
grow_horizontal = 2
grow_vertical = 2
metadata/_edit_use_anchors_ = true
[node name="AspectRatioContainer" type="AspectRatioContainer" parent="PressKeyContainer"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 0
alignment_horizontal = 0
alignment_vertical = 0
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="PressKeyContainer/AspectRatioContainer"]
sprite_frames = SubResource("SpriteFrames_wtrhp")
autoplay = "default"
offset = Vector2(0, -30)
[node name="TitleLabel" type="Label" parent="PressKeyContainer"]
layout_mode = 2
text = "Skelly"
horizontal_alignment = 1
[node name="PressKeyLabel" type="Label" parent="PressKeyContainer"]
layout_mode = 2
text = "`press_ok_continue`"
[node name="DebugToggle" parent="." instance=ExtResource("3_debug")]
layout_mode = 1