pandemonium_demo_projects/3d/voxel/menu/main/splash_text.gd

9 lines
129 B
GDScript

extends Control
var time := 0.0
func _process(delta):
time += delta
rect_scale = Vector2.ONE * (1 - abs(sin(time * 4)) / 4)