TheYellowArchitect / doubledamnation

Exclusively Co-Op Metroidvania with Movement as smooth as Smash Bros Melee
GNU General Public License v3.0
19 stars 2 forks source link

Level Skip - Level-End #25

Open TheYellowArchitect opened 2 years ago

TheYellowArchitect commented 2 years ago

If a player joins the other player while he is on the levelendcutscene (so, dialogue happens in front of that gate), the client will skip that cutscene and load the next level. Luckily, the game is fully functional, as in, when both players finish dialogue, the game continues as normal.

To fix this ugly (visual) desync, what needs to be done is call DontSkipAllDialogues not with a hacky timer. Possible position is:

  1. Start of Level (needs skipped dialogue)
  2. End of Level (needs not-skipped dialogue)
  3. Anywhere else (needs not-skipped dialogue)

So detect if start of level, and then skip or something. will certainly be used.