Hello
This has most probably been asked many times but i need a bit of assistance with variables.
I am making a simple app, noughts and crosses.
It uses composer and creates a new scene for each stage, easy, medium, hard. These then go to scenes for win lose or draw and then onto show replay. The easy, medium, hard and show replay use a set of global variables to record the moves, the turn, tables for win moves etc. These variables are reset after each game.
What is the best way to setup variables that are used throughout the program either for reading or writing without using global variables?
Any advice would be appreciated.
Cheers
Gareth