feat: initial commit

This commit is contained in:
installer
2025-01-22 17:54:21 +01:00
commit 288f889130
69 changed files with 1525 additions and 0 deletions

19
scenes/laser.gd Normal file
View File

@@ -0,0 +1,19 @@
extends Area2D
@export var speed = 500;
func _ready() -> void:
var tween = create_tween();
tween.tween_property(
$Sprite2D,
'scale',
Vector2(1.,1.),
0.2
).from(Vector2(0., 0.));
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
position.y -= speed * delta;
if position.y < 0:
queue_free();