summaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-05-24 22:05:00 -0400
committerbd <bdunahu@operationnull.com>2025-05-24 22:05:00 -0400
commitd229286f70b619497bc946a36e5440df3d04f674 (patch)
tree21f41eca440ce960b81a322049929ee287173171 /resources
parenteca6f608a81cc9aa7d2cd3824cbfebdbfe5f7096 (diff)
Add a title screen and music
Diffstat (limited to 'resources')
-rw-r--r--resources/oscillating_text.gdshader10
-rw-r--r--resources/oscillating_text.gdshader.uid1
2 files changed, 11 insertions, 0 deletions
diff --git a/resources/oscillating_text.gdshader b/resources/oscillating_text.gdshader
new file mode 100644
index 0000000..cd26160
--- /dev/null
+++ b/resources/oscillating_text.gdshader
@@ -0,0 +1,10 @@
+shader_type canvas_item;
+
+uniform float height = 2.0;
+uniform float freq = 3.0;
+uniform float speed = 5.0;
+
+void vertex() {
+ VERTEX.y += height * sin((freq * UV.x) + speed * TIME);
+}
+
diff --git a/resources/oscillating_text.gdshader.uid b/resources/oscillating_text.gdshader.uid
new file mode 100644
index 0000000..6d40d6a
--- /dev/null
+++ b/resources/oscillating_text.gdshader.uid
@@ -0,0 +1 @@
+uid://d3ktu01mh01ao