i have an enemy object spawn a certain number of "coins" and only after collecting said coins i can continue to the next area, but i cant figure out how to have only a certain number of coins to be spawned, can ya please help me with that? also the enemy object follows a path in ping-pong style and the main character has limited mobility
You can't spawn a certain amount of coins. Your only option is to add the set amount of coins you require then use the event observer to check for the required amount to either end the game or move to the next level. Remember to add a delay or a 'next level' UI for the observer to link to, otherwise it will just end the game without any achievement showing