Second Prototype

This commit is contained in:
Exobyt 2024-08-18 21:59:35 +02:00
parent 885351b624
commit 632eeddc64
60 changed files with 680 additions and 1013 deletions

View file

@ -1,7 +1,10 @@
extends Area2D
func _physics_process(delta: float) -> void:
if get_overlapping_areas().size() == 10 and GLOBAL.currentBlock.stopped:
for i in get_overlapping_areas():
GLOBAL.points += i.points
i.queue_free()#get_parent().get_parent().split()
#func _physics_process(delta: float) -> void:
#if get_overlapping_areas().size() == 10:
#for i in get_overlapping_areas():
#GLOBAL.points += i.points
#i.queue_free()#get_parent().get_parent().split()
func getRow():
return get_overlapping_areas()