Second Prototype
This commit is contained in:
parent
885351b624
commit
632eeddc64
60 changed files with 680 additions and 1013 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue