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

Aperta
#3,395 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
30/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
frontend, game-dev

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.
Lingua principale
Go
Stelle
97
Fork
61
Merge medio
4h 14m
PR unite (30g)
913

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di opensro-dev/opensro

Tutte le issue di opensro-dev/opensro

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.