I am currently working on a platform game where the player is required to pick up a series of keys to unlock the door before being allowed to the next level.
As there are multiple keys to collect, how would I be able to check whether all the keys have been collected?
I first though I could use a Boolean variable to check, but I'm not sure how to do it, or whether that is the correct way of doing it.
Any help would be greatly appreciated.