Upgrade phaser 3.90 to 4.x

Đang mở
#25 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ó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript, vite
Lĩnh vực
game-dev

Hướng nghiên cứu

Start with package.json:16, then read shared/phaser-config.ts, shared/ui.ts, shared/controls.ts, shared/menu.ts, and games/_template/main.ts to understand the shared integration before assessing each game. Run npm install, npm run dev, npm run typecheck, and npm run build as you migrate. Done means all ten games and the template run on Phaser 4 with no behavior change.

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

Mô tả

dependencies severity: low

Summary

Phaser 3.90.0 is the last 3.x release; new fixes land in 4.x. It is the only shipped runtime dependency and is imported by every scene. No advisories exist against 3.90.0, so there is no urgency.

Where

  • package.json:16

Suggested fix

Plan the migration game by game, starting with games/_template and the shared modules (shared/phaser-config.ts, shared/ui.ts, shared/controls.ts, shared/menu.ts).

Acceptance criteria

  • All ten games and the template run on Phaser 4 with no behaviour change

Getting started

  • Relevant files: package.json, shared/phaser-config.ts, games/_template/main.ts
  • Run locally: npm install, then npm run dev
  • Checks: npm run typecheck and npm run build (there is no test suite yet)
  • Related docs: README.md

Filed by repo-audit/full-audit at b001f5d. Severity: low. Effort: L. audit-key: dependencies|package.json|phaser-major

Ngôn ngữ chính
TypeScript
Star
3
Fork
3
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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 TMHSDigital/GH-Arcade

Tất cả issue của TMHSDigital/GH-Arcade

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.