I have two questions about having multiple level scenes.
There are multiple scenes for different levels. All those scenes make use of the same Bit Mask Categories and other variables defined in their .h file. Is there a way to define the Bit Mask Categories and other variables in one single file, in stead of the .h file of every single level scene?
In the update method of a level scene, I detect if the float 'score' is higher or equal to 100. If that is the case, change the scene to the next level. But because the update method runs every frame, It just freezes and tries to change the scene over and over. Is there a way to run an if-statement in the update method just once?