chrahunt / TagProReplays

Record yourself in TagPro!
GNU General Public License v3.0
21 stars 14 forks source link

Render replays more reliably #268

Closed chrahunt closed 2 years ago

chrahunt commented 2 years ago

When new tiles are added to the game, users could not render or preview replays.

This fixes the issue in two ways:

  1. When an unrecognized tile is present in the TagPro map of a replay, we substitute a blank tile (which renders as a black square)
  2. When an unrecognized dynamic tile is present in the dynamic floor tiles of a replay, we log once and skip that tile - previously we would log every time and skip the rest of the dynamic tiles for that frame, but that leads to a poor user experience since many tiles may be skipped

Fixes #257.