I'm making a game similar to Banjo Kazooie, in which collectables are used to unlock more levels. The issue with this is tracking the collectables within the levels, as I want to track how many of a specific collectable was tracked within a level(ex 100 coins in level a with 50 coins in level b). My only idea as to do this is some way of a level specific variable of some kind.