Request: Add support for maps and assets in assets/extension

Offen
#226 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
48/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
typescript
Bereich
desktop, tooling

Rechercherichtung

Start with the referenced path resolver, API controller, and new-map dialog to trace how map paths are discovered and listed. The issue also says extension media must load as sprites, so check the asset lookup path alongside map discovery. Done means maps and their sprites from the extension directory appear in the editor, including DLC and console exclusive maps.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

enhancement

Currently, the editor only looks for maps under data/maps:

https://github.com/CCDirectLink/crosscode-map-editor/blob/0a41bfebb84e5b01e5feb2a6bb6ac63bea5a2aa5/webapp/src/app/shared/path-resolver.ts#L2

https://github.com/CCDirectLink/crosscode-map-editor/blob/0a41bfebb84e5b01e5feb2a6bb6ac63bea5a2aa5/common/src/controllers/api.ts#L175

https://github.com/CCDirectLink/crosscode-map-editor/blob/631891d480fb3bcdbe3fc3d63993d262714fe87f/webapp/src/app/components/dialogs/new-map/new-map.component.ts#L52

This means that maps included via the extension directory (the "console exclusive" maps, all of the DLC maps), won't show up in the list of maps in the editor.

You can still load them manually, but any sprites/media that are also in the extension directory won't show as sprites in the editor.

Vorherrschende Sprache
TypeScript
Sterne
59
Forks
19
Ø Merge
32 Min.
Gemergte PRs (30 T.)
2

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

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 CCDirectLink/crosscode-map-editor

Alle Issues in CCDirectLink/crosscode-map-editor

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

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