Why do you need to validate? Every now and then when you are creating your game you get errors like this: these are the result of the game trying to access something that was not properly initialized. There are several ways to do validation of variables. I created this example […]