Player name label draws on top of roofs and landmarks while the player is hidden behind them

Abierto
#76 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
Medio día
Aptitud para principiantes
45/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
javascript
Área
frontend

Línea de trabajo

The label depth is set in src/GameScene.js, where the player name text sits at depth 900 above the map sprites. Read how depth and sprite ordering are assigned there, then reproduce by walking the player behind a tall landmark. Done when the label no longer draws over covered sprites, either via Y-sorting with the player or by hiding it while the cell is covered.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

The yellow name label is at depth 900, so when the player walks behind a tall sprite (under the Dotonbori arch sign for about three cells, behind Tokyo Tower, roofs, torii tops) the sprite is hidden but the label floats over the art. Pre-existing behaviour, more noticeable with the #17 landmarks. Options: Y-sort the label with the player, or hide/fade it while the player's cell is covered by a higher-depth sprite (src/GameScene.js).

Found while implementing #17.

Lenguaje dominante
JavaScript
Estrellas
1
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de devhou-se/game

Todos los issues de devhou-se/game

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.