Dialogue backdrop looks much lighter than its 0.85 alpha suggests

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

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
Half a day
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Active
Tech stack
javascript
Domain
game-dev

Research direction

Start with DialogueManager.createOverlay() and check the overlay's alpha and its depth relative to the day/night layer. Reproduce by opening a dialogue in headless Chrome and comparing the screenshot against the 0.85 alpha value. Done means either the dimming matches the intended 0.85 or the issue records why it does not and what should change.

Written by the indexing model from the issue text.

Description

DialogueManager.createOverlay() fills a black overlay at alpha 0.85, but in headless Chrome screenshots the world behind an open dialogue is only mildly dimmed and stays clearly readable. This predates #9 and was not investigated. Possibly a Phaser 4 graphics-alpha or day/night layering interaction. Worth checking whether the dimming is as intended.

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.