Didn't think this would be so difficult..
Each of my game's levels has coins you can collect. I want to save which coins are collected to a dictionary so they don't re-spawn when you die or load the game.
I got it somewhat working by looping through the coins at the start and giving them an ID, saving the ID of the coins collected to a dictionary, then looping through the dictionary and destroying the coins with the same ID. It was something like that at least -w-;
Problem is I've got a bunch of different levels so I have to factor that in, else Coin #1 you collected in 1-1 will also be destroyed in 1-2 and so on. I attempted this but it ended in a mess of loops and substrings and str/int conversion and so on. Ugh.
Any ideas?