Added an interim title with shader effect.

This commit is contained in:
Henry 2025-12-28 13:38:13 +00:00
parent b5d97c0ffb
commit 6b3270bbb2
8 changed files with 155 additions and 1 deletions

View file

@ -1,8 +1,10 @@
[gd_scene load_steps=10 format=3 uid="uid://cc2dnhuv4qx7m"]
[gd_scene load_steps=13 format=3 uid="uid://cc2dnhuv4qx7m"]
[ext_resource type="Script" uid="uid://c51huloycn5as" path="res://main.gd" id="1_h2yge"]
[ext_resource type="Texture2D" uid="uid://jj8b7vqj3ihx" path="res://Mini Pixel Pack 3/Space_BG (2 frames) (64 x 64).png" id="1_ig7tw"]
[ext_resource type="PackedScene" uid="uid://s6wf3egdqtmh" path="res://ui.tscn" id="4_1bvp3"]
[ext_resource type="Texture2D" uid="uid://db2v7dea5wi4" path="res://title - no border.png" id="4_7mycd"]
[ext_resource type="Shader" uid="uid://x02irwg8ynvp" path="res://pixel_highlight.gdshader" id="4_272bh"]
[ext_resource type="Texture2D" uid="uid://bonoqs5pisflo" path="res://Mini Pixel Pack 3/UI objects/START (48 x 8).png" id="5_lquwl"]
[ext_resource type="Texture2D" uid="uid://bubqwoum50gf8" path="res://Mini Pixel Pack 3/UI objects/GAME_OVER (72 x 8).png" id="6_7mycd"]
@ -46,6 +48,15 @@ _data = {
&"scroll": SubResource("Animation_h2yge")
}
[sub_resource type="ShaderMaterial" id="ShaderMaterial_kek77"]
shader = ExtResource("4_272bh")
shader_parameter/speed = 3.0000001425
shader_parameter/line_width = 0.1530000072675
shader_parameter/line_color = Color(1, 1, 1, 1)
shader_parameter/pause_duration = 5.314000252415
shader_parameter/offset = 2.0
shader_parameter/pixelate_line = 0
[node name="Main" type="Node2D"]
script = ExtResource("1_h2yge")
@ -70,6 +81,14 @@ autoplay = "scroll"
offset_right = 196.0
offset_bottom = 36.0
[node name="Title" type="TextureRect" parent="CanvasLayer"]
material = SubResource("ShaderMaterial_kek77")
offset_left = 28.0
offset_top = 74.0
offset_right = 212.0
offset_bottom = 141.0
texture = ExtResource("4_7mycd")
[node name="CenterContainer" type="CenterContainer" parent="CanvasLayer"]
anchors_preset = 15
anchor_right = 1.0