settings, small fixes

This commit is contained in:
Daniel Kauss Serna 2026-02-15 16:17:51 +01:00
parent b12c193636
commit e08e3ebb13
174 changed files with 997 additions and 1040 deletions

12
scripts/floattt.gd Normal file
View file

@ -0,0 +1,12 @@
extends Node2D
@export var float_str = 10.0
@export var float_time = 2.0
@export var float_offset = -12.0
var time = 0
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
time += delta
# Calculate the new Y position using a sine wave
position.y = sin(time * float_time) * float_str + float_offset