initial commit

This commit is contained in:
Derek
2024-07-14 13:13:05 -05:00
commit 9241836cf4
309 changed files with 15043 additions and 0 deletions

18
scripts/PickupAnnounce.gd Normal file
View File

@@ -0,0 +1,18 @@
extends Label
var rng = RandomNumberGenerator.new()
const WIGGLE_SPEED = 100
var pickuptext
# Called when the node enters the scene tree for the first time.
func _ready():
self.visible = true
text = pickuptext
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
var lv_x = rng.randf_range(-10,10.0)
var lv_y = rng.randf_range(-10.0,10.0)
self.position = + Vector2(lv_x, lv_y) * (delta * WIGGLE_SPEED)
await get_tree().create_timer(.6).timeout
queue_free()