first commit

This commit is contained in:
pennyrigate 2022-12-07 02:00:47 -05:00
commit 096ebe5aa4
275 changed files with 3937 additions and 0 deletions

View file

@ -0,0 +1,15 @@
extends Node2D
export var value = 1
func _ready():
#Sync all coinframes
$AnimatedSprite.play()
func _on_Area2D_area_entered(area):
#Collect
if area.is_in_group("player"):
Game.stars += value
#5 Star reward
if Game.stars == 5: Game.shards += 1
queue_free()