I can just only keep score page by page if i want to collect score on page 1,2,3.... then show summary score on last page what should i do ?
Describe about my game :
My game is multiple choice when you choose correct answer will get score 1.
If i have 10 page then page 11 want to summary total score which collect from each page .
please see picture per below now i just keep score page by page but don't know how to collect them then summary show on last page.
Develop games in your browser. Powerful, performant & highly capable.
Your global Score variable is exactly that, global.
When you are on page 1 and add 1 to score
On page 2 you add 1 to score
Now on page 11 you can display score directly and it would show 2
Hope that makes sence