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

Đang mở
#226 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
typescript
Lĩnh vực
desktop, tooling

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
TypeScript
Star
59
Fork
19
Merge trung bình
32 phút
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của CCDirectLink/crosscode-map-editor

Tất cả issue của CCDirectLink/crosscode-map-editor

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.