PressAnyKeyScreen → SplashScreen
This commit is contained in:
@@ -1,7 +1,72 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://m8lf3eh3al5j"]
|
||||
[gd_scene load_steps=13 format=3 uid="uid://m8lf3eh3al5j"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://b2x0kw8f70s8q" path="res://scenes/ui/MainMenu.gd" id="1_b00nv"]
|
||||
[ext_resource type="PackedScene" uid="uid://df2b4wn8j6cxl" path="res://scenes/ui/DebugToggle.tscn" id="2_debug"]
|
||||
[ext_resource type="Texture2D" uid="uid://btfjyc4jfhiii" path="res://assets/sprites/characters/skeleton/Skeleton Hit.png" id="2_iwbf0"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_2ysvc"]
|
||||
atlas = ExtResource("2_iwbf0")
|
||||
region = Rect2(0, 0, 30, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_xpiny"]
|
||||
atlas = ExtResource("2_iwbf0")
|
||||
region = Rect2(30, 0, 30, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_bhu4a"]
|
||||
atlas = ExtResource("2_iwbf0")
|
||||
region = Rect2(60, 0, 30, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_e2per"]
|
||||
atlas = ExtResource("2_iwbf0")
|
||||
region = Rect2(90, 0, 30, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_7mi0g"]
|
||||
atlas = ExtResource("2_iwbf0")
|
||||
region = Rect2(120, 0, 30, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_nqjyj"]
|
||||
atlas = ExtResource("2_iwbf0")
|
||||
region = Rect2(150, 0, 30, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_7vr37"]
|
||||
atlas = ExtResource("2_iwbf0")
|
||||
region = Rect2(180, 0, 30, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_kncl5"]
|
||||
atlas = ExtResource("2_iwbf0")
|
||||
region = Rect2(210, 0, 30, 32)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_clp4r"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_2ysvc")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_xpiny")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_bhu4a")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_e2per")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_7mi0g")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_nqjyj")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_7vr37")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_kncl5")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[node name="MainMenu" type="Control"]
|
||||
layout_mode = 3
|
||||
@@ -13,6 +78,7 @@ grow_vertical = 2
|
||||
script = ExtResource("1_b00nv")
|
||||
|
||||
[node name="MenuContainer" type="VBoxContainer" parent="."]
|
||||
custom_minimum_size = Vector2(200, 100)
|
||||
layout_mode = 1
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
@@ -25,6 +91,17 @@ offset_right = 20.0
|
||||
offset_bottom = 20.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="SpriteContainer" type="Control" parent="MenuContainer"]
|
||||
custom_minimum_size = Vector2(30, 32)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="MenuContainer/SpriteContainer"]
|
||||
sprite_frames = SubResource("SpriteFrames_clp4r")
|
||||
autoplay = "default"
|
||||
frame_progress = 0.574348
|
||||
|
||||
[node name="NewGameButton" type="Button" parent="MenuContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
Reference in New Issue
Block a user