From d229286f70b619497bc946a36e5440df3d04f674 Mon Sep 17 00:00:00 2001 From: bd Date: Sat, 24 May 2025 22:05:00 -0400 Subject: Add a title screen and music --- resources/oscillating_text.gdshader | 10 ++++++++++ resources/oscillating_text.gdshader.uid | 1 + 2 files changed, 11 insertions(+) create mode 100644 resources/oscillating_text.gdshader create mode 100644 resources/oscillating_text.gdshader.uid (limited to 'resources') 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 -- cgit v1.2.3