open-duelyst/duelyst

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

Open

#290 opened on 2023年5月31日

GitHub で見る
 (0 comments) (0 reactions) (0 assignees)JavaScript (526 forks)batch import
bugfrontendhelp wanted

Repository metrics

Stars
 (3,443 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

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)

コントリビューターガイド