hughbagan / wfc-roguelike

webgame using wave function collapse
1 stars 0 forks source link

Blood vision momentarily appears when starting a level #8

Closed VeryPuzzling closed 1 month ago

VeryPuzzling commented 1 month ago

Starting at level 2, blood vision will turn on for ~1s unprompted.

Versions tested on: Windows, HTML not available

Steps to reproduce:

  1. Play the game until level 2
  2. Observe
hughbagan commented 1 month ago

Reproduced on 9304dde3de91bf9a91f8d06b396853ad536f511c HTML debug, Firefox and Chrome. Not sure why this happens yet but it doesn't appear in the live build, just in debug.

hughbagan commented 1 month ago

Fixed in https://github.com/hughbagan/wfc-roguelike/commit/af39965479b45068821711325917f3d199e726be. Problem was just the Enemy's RedLight being set to visible. Should be hidden to start.