Overlay text is very small on phone-sized landscape viewports

Open
#57 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
javascript
Domain
frontend, mobile

Research direction

The issue concerns the intro overlay and the other overlays, which use fixed-pixel sizes that shrink with the canvas scale at 844x390. Start by finding where overlay text and panel sizes are set and how the canvas is scaled to the viewport. Done means a shared small-viewport approach is agreed and text is readable at that size. Check #39 first, since this was found while implementing it.

Written by the indexing model from the issue text.

Description

At 844x390 the canvas scales to about 0.4x, so the intro's 18-22px text (and every other overlay's, which use the same fixed-pixel sizing) renders at roughly 7-9 CSS px. Nothing is clipped, but the intro is the first thing a mobile player has to read. Consider a shared larger-type or larger-panel layout for small viewports across all overlays.

Found while implementing #39.

Dominant language
JavaScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from devhou-se/game

All issues in devhou-se/game

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.