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

Offen
#3,395 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
30/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
typescript
Bereich
frontend, game-dev

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.
Vorherrschende Sprache
Go
Sterne
97
Forks
61
Ø Merge
4 Std. 14 Min.
Gemergte PRs (30 T.)
913

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus opensro-dev/opensro

Alle Issues in opensro-dev/opensro

Ähnliche Issues

Weitere Issues zu Go

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.