I’m creating a flappy bird type game by following this unity tutorial. I now want to integrate videos ads. Once the player dies, the user should have the option of watching a video ad and then continuing from the place where the player died along with the same score as well. How can I achieve this. Most of the tutorials I have seen on youtube allow the user to get some points rather than allow him to continue from where the player died.
I was also looking for this answer, but I think the best way to do it is this:
-
When the player dies, store the score on a playerPrefs variable
-
After the Ad is finished, load the game scene again
-
Set the score to thee playerPrefs variable.
-
Reset the Player Prefs Variable
-
I Hope this helped!