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

Corpse Synchronization #17

Open TheYellowArchitect opened 2 years ago

TheYellowArchitect commented 2 years ago
  1. When an enemy dies, he doesnt move while dying. This part should run locally, once death is detected (aka override client restrictions, see desynced client)

  2. While desynced, killing a monster for one player, kills it wherever it was in the other player. This means monsters die on the spot for the other player, and their corpses are located at the spawn locations. Could be easily solved by also sending a Vector2 position on death, so the enemy is relocated there right before .Die() is triggered