zuri
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
extends Control
|
||||
|
||||
@onready var bg = $TextureRect
|
||||
@onready var title1 = $title1
|
||||
@onready var title2 = $title2
|
||||
|
||||
var timer := 0.0
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
timer += delta
|
||||
|
||||
bg.position = get_local_mouse_position() / 200 - Vector2(16, 8)
|
||||
|
||||
title1.position.y = 120 + sin(timer) * 16
|
||||
title2.position.y = 120 + sin(timer) * 16
|
||||
|
||||
|
||||
func _on_play_button_mouse_entered() -> void:
|
||||
pass # Replace with function body.
|
||||
Reference in New Issue
Block a user