new title screen

This commit is contained in:
pennyrigate 2023-09-17 03:08:55 -04:00
parent 0356dcf2b2
commit 27c8407992

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=17 format=2] [gd_scene load_steps=19 format=2]
[ext_resource path="res://tilesets/t_grass.tres" type="TileSet" id=1] [ext_resource path="res://tilesets/t_grass.tres" type="TileSet" id=1]
[ext_resource path="res://shaders/wibble_border.gdshader" type="Shader" id=2] [ext_resource path="res://shaders/wibble_border.gdshader" type="Shader" id=2]
@ -12,6 +12,7 @@
[ext_resource path="res://graphics/particles/smoke.png" type="Texture" id=10] [ext_resource path="res://graphics/particles/smoke.png" type="Texture" id=10]
[ext_resource path="res://shaders/color_noise.gdshader" type="Shader" id=11] [ext_resource path="res://shaders/color_noise.gdshader" type="Shader" id=11]
[ext_resource path="res://graphics/backgrounds/moon.png" type="Texture" id=12] [ext_resource path="res://graphics/backgrounds/moon.png" type="Texture" id=12]
[ext_resource path="res://graphics/hud/title_credits.png" type="Texture" id=13]
[sub_resource type="ShaderMaterial" id=3] [sub_resource type="ShaderMaterial" id=3]
shader = ExtResource( 8 ) shader = ExtResource( 8 )
@ -40,6 +41,23 @@ shader_param/delay = Vector2( 1, 0 )
shader_param/border_color = Color( 0.219608, 0.219608, 0.219608, 1 ) shader_param/border_color = Color( 0.219608, 0.219608, 0.219608, 1 )
shader_param/border_corners = false shader_param/border_corners = false
[sub_resource type="Animation" id=6]
resource_name = "blink"
length = 0.6
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath("Label:visible")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.3 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 1,
"values": [ true, false ]
}
[node name="TitleScreen" type="Node"] [node name="TitleScreen" type="Node"]
script = ExtResource( 5 ) script = ExtResource( 5 )
next_menu = ExtResource( 6 ) next_menu = ExtResource( 6 )
@ -112,9 +130,17 @@ tile_data = PoolIntArray( 589832, 3, 196609, 589833, 3, 196610, 589834, 3, 3, 58
[node name="Label" type="Label" parent="."] [node name="Label" type="Label" parent="."]
material = ExtResource( 4 ) material = ExtResource( 4 )
margin_top = 159.0 margin_top = 136.0
margin_right = 256.0 margin_right = 256.0
margin_bottom = 182.0 margin_bottom = 159.0
theme = ExtResource( 3 ) theme = ExtResource( 3 )
text = "Press start!" text = "Press start!"
align = 1 align = 1
[node name="TitleCredits" type="Sprite" parent="."]
position = Vector2( 128, 96 )
texture = ExtResource( 13 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
autoplay = "blink"
anims/blink = SubResource( 6 )