跳到正文
Skillpedia
网站与界面(前端)7.2k · #13358

build-hybrid-game-assets

它能做什么

这个技能指导为 Three.js 或网页游戏选择和设置游戏素材。适合需要为游戏的每个部分在导入模型、代码生成形状和 2D 美术之间做出选择的游戏制作者。

适用场景

  • ✓你在判断某个游戏素材应该是导入的 3D 模型还是代码生成的形状的时候。
  • ✓参考图片需要变成 2D 界面美术或游戏模型的时候。
  • ✓游戏素材必须控制在设定的速度和内存预算之内的时候。

技能链接

https://github.com/MengTo/Skills/blob/main/agent-skills/game-development/build-hybrid-game-assets/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/MengTo/Skills/blob/main/agent-skills/game-development/build-hybrid-game-assets/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请判断我游戏中哪些素材应该是导入的 3D 模型,哪些应该用代码制作,并列出它们的预算。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会根据用途对每个素材分类,例如主角、武器或菜单图片,并选择合适的表现形式。它会记录每个素材的来源、比例和预算。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

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.

常见问题

单张图片能变成完整的 3D 模型吗?

无法准确做到。技能说明,单张图片无法显示隐藏的形状,因此结果只是一种重建。

什么时候应该用代码制作素材?

当轮廓、附着点、碰撞或由代码驱动的变体很重要时。

它会检查授权吗?

会。技能要求核实导入素材的授权和比例。

详情

作者的原始描述

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

热度

GitHub 星标
7.2k
排名
#13358
许可证
MIT
更新时间
2026/11/1

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能