build-hybrid-game-assets
Skill này làm gì
Skill này hướng dẫn việc chọn và thiết lập tài sản game cho game Three.js hoặc game web. Nó dành cho người làm game cần quyết định giữa mô hình 3D nhập vào, hình khối dựng bằng code và tranh 2D cho từng phần của game.
Khi nào nên dùng
- ✓Khi bạn đang quyết định một tài sản game nên là mô hình 3D nhập vào hay hình khối dựng bằng code.
- ✓Khi một ảnh tham chiếu nên trở thành tranh giao diện 2D hay mô hình game.
- ✓Khi tài sản game phải nằm trong ngân sách tốc độ và bộ nhớ đã đặt ra.
Liên kết skill
https://github.com/MengTo/Skills/blob/main/agent-skills/game-development/build-hybrid-game-assets/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Quyết định tài sản nào trong game của tôi nên là mô hình 3D nhập vào và tài sản nào nên làm bằng code, rồi liệt kê ngân sách của chúng.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent phân loại từng tài sản theo mục đích, như nhân vật chính, vũ khí hay ảnh menu, rồi chọn cách biểu diễn phù hợp. Nó ghi lại nguồn, tỉ lệ và ngân sách cho từng tài sản.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Build Hybrid Game Assets
Choose the asset representation that best serves gameplay, readability, iteration speed, and runtime budget. Do not force every reference image through image-to-3D reconstruction.
Classify the asset before making it
| Need | Preferred representation |
|---|---|
| Hero character or complex authored animation | Imported rigged mesh, with verified license and scale |
| Weapon, relic, pickup, creature variant, architecture, or interaction prop | Procedural Three.js geometry when controllable silhouette, sockets, collision, or code-driven variants matter |
| Concept, class portrait, inventory icon, cursor, backdrop, or menu treatment | Generated or authored 2D image/video used directly as UI media |
| Level mood, composition, or spacing reference | Concept image used as visual guidance; author the actual playable level separately |
| Reference image whose visible form itself must become a code model | Use img2threejs with its quality gates and state the result is a reconstruction, not extracted geometry |
Create image-first work accurately
Generate a compact reference set: hero view, silhouette/side view when geometry matters, palette/material close-up, and usage context. Define camera distance, scale, pivot, collision, attachment sockets, animation needs, and budget before implementation. A single image cannot establish hidden geometry; request more views or select deliberate stylization.
Build the runtime asset
- For imported meshes, normalize coordinate system, scale, pivot, materials, animation clips, and ownership/license before scene integration.
- For procedural geometry, expose a factory with named parts, stable sockets, deterministic variation, collider guidance, and reusable materials.
- For 2D assets, export transparent media at the actual display density; provide alt text/labels where user-facing and avoid using raster art as fake 3D collision.
- Keep authored content identifiers separate from runtime state. Do not duplicate item, material, or gameplay facts in UI code.
Verify in the game, not the asset viewer
Check the real camera distance, lighting, readability, collision/contact, animation, mobile viewport, and performance. Measure representative draw calls, triangles, texture count, and frame time. Keep visuals original: use references for visual grammar, then create new identity, geometry, and media.
Record provenance
Track whether each runtime asset is imported, procedural, generated 2D, or reference-only, together with source/license and generation input where applicable. Do not claim an image-to-model pipeline unless source and runtime code actually demonstrate one.
Câu hỏi thường gặp
Một ảnh đơn có thể thành mô hình 3D đầy đủ không?
Không chính xác. Skill nói một ảnh đơn không thể cho thấy các hình ẩn, nên kết quả chỉ là một bản dựng lại.
Khi nào nên làm tài sản bằng code?
Khi hình dáng, điểm gắn, va chạm hoặc các biến thể do code điều khiển là quan trọng.
Nó có kiểm tra giấy phép không?
Có. Skill yêu cầu xác minh giấy phép và tỉ lệ của tài sản nhập vào.
Chi tiết
Mô tả gốc của tác giả
Plan, create, integrate, or audit a hybrid asset pipeline for a Three.js or web game. Use when choosing among imported meshes, procedural 3D geometry, AI-generated reference art, 2D UI media, sprites, VFX, and performance-ready runtime asset delivery.
repo: MengTo/Skills
Độ phổ biến
- Sao GitHub
- 7.2k
- Vị trí xếp hạng
- #13358
- Giấy phép
- MIT
- Cập nhật
- 1/11/2026
Bình luận
- …
Thêm skill từ kho mã này
3d-cloth-material
7.2kGiúp agent của bạn tạo vải dệt 3D trông thật trong Three.js, với sợi dệt, ánh bóng nhẹ, nếp gấp tự nhiên, viền gấu và đường may.
3d-falling-leaves
7.2kGiúp agent của bạn thêm lá rơi chân thực vào cảnh 3D, với lá xoay tròn, trôi theo gió và được tái sử dụng khi máy quay di chuyển.
3d-four-seasons
7.2kGiúp agent của bạn thêm diện mạo xuân, hạ, thu, đông vào cảnh 3D, thay đổi cây cối, ánh sáng, bầu trời và tuyết mà không cần dựng lại cảnh.
3d-high-poly-models
7.2kGiúp agent của bạn dựng mô hình 3D chi tiết với hình dạng mượt và cạnh trông thật, rồi tạo các phiên bản nhẹ hơn chạy tốt trên web.
Skill tương tự
angular-developer
280kGiúp agent của bạn viết code Angular và tư vấn cấu trúc dự án, hữu ích khi bắt đầu dự án mới hoặc cải thiện hiệu suất.
frontend-a11y
280kGiúp agent của bạn làm cho giao diện web dễ tiếp cận với mọi người. Đảm bảo website và ứng dụng hoạt động tốt với trình đọc màn hình và điều hướng bằng bàn phím.
frontend-patterns
280kGiúp agent của bạn áp dụng các mẫu hiện đại trong phát triển frontend. Tối ưu hiệu năng, quản lý trạng thái và tuân theo thực hành tốt nhất với React và Next.js.