Title screen: touch controls cover the end characters on phone landscape

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

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
javascript
Domain
frontend, game-dev

Research direction

Start by reproducing the title screen at 844x390 with touch emulation and comparing it with the screenshot at shots/r9/c_title_land.png. The issue names the on-screen d-pad, the B button, the sprint pill and the canvas height as the parts to check, and says the character creator has the same canvas problem. Done means the d-pad and B button no longer cover James and Julia, the TAP TO START prompt is visible, and the choice between hiding the controls on the title and narrowing the cast spacing is recorded in the issue.

Written by the indexing model from the issue text.

Description

At 844x390 with touch emulation, the on-screen d-pad covers James and the B button covers Julia in the title line-up, and the "TAP TO START" prompt is below the visible area (screenshot from review: scratchpad shots/r9/c_title_land.png).

The off-screen prompt comes from the canvas being taller than the viewport at that size, which also affects the character creator and predates the title screen. The d-pad/B overlap is specific to the title layout. Dismissal works (A, B and canvas tap).

Options: hide or fade the d-pad and sprint pill while the title is up (only A/B or a tap are needed), or narrow the cast spacing when touch controls are enabled. Not checked on a real device.

Found while implementing #9.

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.