Hello guys
I need help:
I have a game divided in 10 levels, then I created 10 file.lua… in each level there is a man that run (and the time flow) , when he finishes to run the timer will pause and this should rapresent the score that the player done.
The problem is that when the man finish to run the game (through a storyboard) is redirected in another file.lua (the Winning page) that should show the Time (then the Score) that the player has done.
This score should be summed to the other Score that the player will do on the other 9 levels.
So the questions are two:
-
How to show the Time ,made in a file.lua , to another one (for example file2.lua)?
-
How can I sum all the scores made in all different levels??
Sorry for my bad english I hope you can help me.
PS: I prefer and example and please don’t tell me to read the Corona Docs bewcause I already did it and it wasn’t helpfull for me. Also if you have a good Tutorial for example a video I will be happy