CyberCRI / Hero.Coli

Hero.Coli is a single-player 2D top-down adventure game.
http://herocoli.com
MIT License
6 stars 4 forks source link

A cutscene played again after dying in first ampicillin wall just after GFP tutorial #447

Closed raphik12 closed 7 years ago

raphik12 commented 7 years ago

I couldn't see which cutscene played since the camera didn't pan. Based on duration it seemed to be the ampicillin tutorial.

raphik12 commented 7 years ago

It is the ampicillin tutorial, as there is no NPC left in the chamber where there should be two of them, swimming in a circle. It seems to indicate that, for some reason, the cutscene plays on respawn. The bug is also reproducible when dying right after playing it by triggering it with GFP.

raphik12 commented 7 years ago

Chronology of occurence of this bug: 1) the player dies just after the cut scene - the door that triggered the cut scene is therefore left open 2) the cell is respawned 3) the cell is respawned at the location that triggers the reinstantiation of the cut scene 4) the cut scene starts because the door that triggers it was not reset and therefore triggers the newly instantiated cut scene