Hi,
I made a family for the game enemies, I would like to spawn different enemy in the family depends on a global variable "score", like at the beginning spawn score =0, spawn enemy "Sprite1", when the score >100,spawn enemy "Sprite2" and so on. but the problem is I do not know how to spawn different family enmey depend on score. please help. thanks
file: https://www.dropbox.com/s/oqrc08yu7nnmn ... .capx?dl=0