hello
I want to make a clone game from sally wizard, for my next journey on defold… the game look like the screenshoot
for now I’m using game_controller.script to create an instance enemy gameobject, and when enemy.go is init, it will create another gameobject called target_spell.go.
then if I click one of the buttons, it will send to the game_controller.script to call all instance had been created (using table), then the instance will check is first of table is same image as the button I clicked.
the question is how do I get the return value when their no one object on array(table)? or anyone have better solution for my problem?
anyway I have repository for the game