I'm making a game where you have to collect coins. But I ran into a problem that occurs. When you restart the round - coins appear in the same place. I figured out that the ID of coins that are collected player - must enroll in the array and persist in using the web storage. When loading a new round should come check IDs stored in an array of IDs and coins which are present in the array - should retire. But I can `t realize all this. Please help me figure out how to save the ID in the array and the array according to remove objects when loading rounds.
Links to Capx: dan-it.ru/Arr.capx