build-hybrid-game-assets
ما الذي تفعله
تُرشد هذه المهارة في اختيار أصول اللعبة وإعدادها للعبة Three.js أو لعبة ويب. وهي موجهة لصانعي الألعاب الذين يحتاجون إلى قرار بين النماذج المستوردة والأشكال المكتوبة بالشيفرة والفن ثنائي الأبعاد لكل جزء من اللعبة.
متى تستخدمها
- ✓عندما تقرر هل يكون أصل اللعبة نموذجًا مستوردًا أم شكلًا مكتوبًا بالشيفرة.
- ✓عندما يجب أن تتحول صورة مرجعية إلى فن واجهة ثنائي الأبعاد أو نموذج لعبة.
- ✓عندما يجب أن تبقى أصول اللعبة ضمن ميزانية محددة للسرعة والذاكرة.
رابط المهارة
https://github.com/MengTo/Skills/blob/main/agent-skills/game-development/build-hybrid-game-assets/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“حدد أي أصول في لعبتي يجب أن تكون نماذج ثلاثية الأبعاد مستوردة وأيها يجب أن يُصنع بالشيفرة، واذكر ميزانية كل منها.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يصنّف وكيلك كل أصل حسب غرضه، مثل شخصية البطل أو السلاح أو صورة القائمة، ويختار التمثيل المناسب له. ويسجّل المصدر والحجم والميزانية لكل أصل.
المحتوى التقني (ملف 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.
الأسئلة الشائعة
هل يمكن لصورة واحدة أن تصبح نموذجًا ثلاثي الأبعاد كاملًا؟
ليس بدقة. تنص المهارة على أن الصورة الواحدة لا تُظهر الأشكال المخفية، فالنتيجة إعادة بناء تقريبية فقط.
متى يُصنع الأصل بالشيفرة؟
عندما تكون صورته الظلية أو نقاط التثبيت أو التصادم أو المتغيرات التي تولّدها الشيفرة مهمة.
هل تتحقق من التراخيص؟
نعم. تنص المهارة على التحقق من ترخيص الأصول المستوردة ومقياسها.
التفاصيل
الوصف الأصلي من المؤلف
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
- آخر تحديث
- 1/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
3d-cloth-material
7.2kيساعد وكيلك على بناء قماش منسوج واقعي في Three.js، مع نسيج الخيوط والبريق الناعم والثنيات الطبيعية والأطراف والدروز.
3d-falling-leaves
7.2kيساعد وكيلك على إضافة أوراق متساقطة واقعية إلى مشهد ثلاثي الأبعاد، تتقلب وتنجرف مع الريح وتُعاد تدويرها مع حركة الكاميرا.
3d-four-seasons
7.2kيساعد وكيلك على إضافة مظاهر الربيع والصيف والخريف والشتاء إلى مشهد ثلاثي الأبعاد، بتغيير النباتات والضوء والسماء والثلج دون إعادة بناء المشهد.
3d-high-poly-models
7.2kيساعد وكيلك على بناء نماذج ثلاثية الأبعاد مفصلة بأشكال ناعمة وحواف مقنعة، ثم تجهيز نسخ أخف تعمل جيدًا على الويب.
مهارات مشابهة
angular-developer
280kيساعد وكيلك على كتابة شيفرة Angular وتقديم نصائح لبنية المشروع، ويفيد في بدء المشاريع الجديدة وإنشاء المكونات وتحسين الأداء وإمكانية الوصول.
frontend-a11y
280kيساعد وكيلك على جعل واجهات الويب متاحة للجميع، فيضمن أن المواقع والتطبيقات تعمل جيدًا مع قارئات الشاشة والتنقل بلوحة المفاتيح.
frontend-patterns
280kيطبّق وكيلك أنماط تطوير الواجهات الحديثة، فيحسّن الأداء ويدير الحالة ويتبع أفضل الممارسات في React وNext.js.