open-duelyst/duelyst

Game gifs - hero & map - does not render if the screen size is too small

Open

#290 创建于 2023年5月31日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)JavaScript (3,443 star) (526 fork)batch import
bugfrontendhelp wanted

描述

Summary

When the screen is too small, the assets don't load in the game, this includes the map and the characters such as heros & character gifs, making it not really possible to play.

Impacted services

  • The frontend app

Steps to reproduce

  1. Start a local server and open the game in the chrome browser.
  2. Open the chrome inspector and use the device toolbar to use Pixel 4 dimensions, 353 * 745 in the webapp.
  3. Restart the game
  4. Load a practice match

The map does not render in the game & the heros don't load. (This also happens if you open the webapp on a phone like Pixel 6). Expected behaviour is that the characters load.

Environment information

  • Operating system: E.g. Linux
  • Browser: E.g. Chrome or Safari (could repro in both)

贡献者指南