Godot upload

This commit is contained in:
csd4ni3l
2026-02-28 13:55:12 +01:00
commit 738a94093a
94 changed files with 1902 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
extends Sprite2D
func scale_to_window():
var window_size = get_viewport_rect().size
var texture_size = texture.get_size()
scale = window_size / texture_size
position = window_size / 2 # Center it (origin is top-left by default)
func _process(delta: float) -> void:
scale_to_window()