feat(client): the guide's hunting grounds on dungeon pages (Donwhang, tomb)

Aberta
#3,395 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
30/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
typescript
Domínio
frontend, game-dev

Direção de pesquisa

Start in cave-map.ts, where the cave floor frame is defined, and compare it with the world page's guide overlay that already tints a picked monster's hunting ground. Map each v1.696 dungeon page's origin, tile size and sectors per tile onto that frame, then check the result against the sub_e75d50 placement rule given in the issue. Done means a picked Donwhang or tomb monster's masks and icon draw on the cave floor in 0x80e9c624, and a test pins one Donwhang and one tomb ground to their known positions.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

area: client enhancement priority: high

Follow-up from #3390 (PR #3381).

The guide overlay tints a picked monster's hunting ground on the world page (field). Monster rows on the later client's dungeon pages (dunhuang1-4, jinsi1-6; their region tiles are published as masks too) only open the matching floor of our cave map today. They draw no tint and no icon, because our cave pages are the v1.188 Dungeonmap images and their pixel frame differs from v1.696's map_manager pages. dunhuang uses 256 px tiles at 1 sector per tile, origin 127x128; jinsi1 uses 128 px, origin 125x132; and so on.

Done when:

  • Each v1.696 dungeon page's origin, tile size and sectors per tile are mapped onto our cave page's frame (cave-map.ts), checked against the BN placement rule (sub_e75d50: x = ((sx - ox) / perTile) * tileW, y = ((oy - sy) / perTile) * tileH).
  • A picked dungeon monster's masks and icon draw on the cave floor, tinted 0x80e9c624, the same as the world page.
  • A test pins one Donwhang and one tomb ground against their known positions.
Linguagem predominante
Go
Estrelas
97
Forks
61
Merge médio
4h 14min
PRs com merge (30d)
913

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de opensro-dev/opensro

Todas as issues de opensro-dev/opensro

Issues semelhantes

Mais issues de Go

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.