Closed maccxs closed 4 years ago
The end condition can easily be implemented in EndLevelControllerBase, each EndLevelCotroller that inherits can the decide whether or not to apply it.
With 'continue' do you mean: Continue this level as an infected human and see what happens, or continue to the next level?
Continue this level as infected human.
Am Mo., 4. Mai 2020 um 10:56 Uhr schrieb holke notifications@github.com:
The end condition can easily be implemented in EndLevelControllerBase, each EndLevelCotroller that inherits can the decide whether or not to apply it.
With 'continue' do you mean: Continue this level as an infected human and see what happens, or continue to the next level?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/youvsvirus/youvsvirus-unity/issues/95#issuecomment-623342699, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALXB3RYG55LUTGQGCJAQUMLRPZ7L7ANCNFSM4MXX2LYA .
Yes, thats the better option. This fits into my plans for #87 and could be developed in conjunction with it. A GameManager that knows the order of levels/scenes and in which scene we are currently in. So that the levels do not have to care about what level comes next. This game manager can then also call your new menu and give control back to the level or restart it.
That sounds like a plan.
My idea is that the game pauses when the player is infected. Then a text appears which tells the user to continue with 'c' or retry with 'r'. This should be kept general so that it can be applied without further ado to all levels where we need it.