0 votes

I want the main menu look a bit nicer but I have no idea how to make the tittle wiggle around and stuff. Thanks for the help.

in Engine by (12 points)

1 Answer

+1 vote

use water shaders on your title node! (i assume you're using a label)

try this one out:

shader_type canvas_item;

uniform float time_factor = 0.2;
uniform vec2 amplitude = vec2(20.0,5.0)

void vertec(){
    VERTEX.X += cos(TIME * time_factor + VERTEC.x, + VERTEX.y) * amplitude.x
    VERTEX.X += sin(TIME * time_factor + VERTEC.y, + VERTEX.x) * amplitude.y

incase you dont know how shaders work,
watch this video from GDQuest for the basics of how shaders work!

by (439 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.