First builds and stuff done yipewaho

This commit is contained in:
2026-02-01 05:32:22 +02:00
parent 12c1360ae7
commit d910018b7b
62 changed files with 1886 additions and 37 deletions
+16
View File
@@ -0,0 +1,16 @@
extends Node2D
@export var float_height := 2.0
@export var float_speed := 1.25
var start_y := 0.0
var time := 0.0
var phase := 0.0
func _ready():
start_y = position.y
phase = randf() * TAU # Random value between 0
func _process(delta):
time += delta * float_speed
position.y = start_y + sin(time + phase) * float_height