मुख्य सामग्री पर जाएँ
Skillpedia
इमेज और आइकन9.3k · #12282

asset-pipeline

यह क्या करती है

यह स्किल स्प्राइट और टेक्सचर तैयार करती है ताकि गेम उन्हें इस्तेमाल कर सके, जिसमें कटआउट, आकार बदलना, स्प्राइट शीट और रंग मास्क शामिल हैं। यह उन मोडर्स के लिए है जो बिना हाथ के सुधार के चाहते हैं कि नई कला गेम में काम करे।

कब इस्तेमाल करें

  • ✓जब आपके पास नई कला हो और उसे वह सटीक फ़्रेम आकार और फ़ॉर्मेट चाहिए जो गेम चाहता है।
  • ✓जब आप बैकग्राउंड काटना चाहें या कला को स्प्राइट शीट बनाना चाहें।
  • ✓जब आपको किसी स्प्राइट का खिलाड़ी या टीम रंग वाला संस्करण चाहिए।

Skill का लिंक

https://github.com/rehan-remade/universal-modder/blob/main/.agents/skills/asset-pipeline/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/rehan-remade/universal-modder/blob/main/.agents/skills/asset-pipeline/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“इस बनाई गई कैरेक्टर तस्वीर को गेम के फ़्रेम आकार से मेल खाती स्प्राइट शीट में बदलिए।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट पहले गेम की अपनी फ़ाइलों से आकार, दिशा और फ़ाइल प्रकार जाँचता है, फिर कटआउट, ट्रिमिंग, आकार बदलने और पैलेट चरणों से आपकी कला को मिलाता है। वह 3D मॉडल को भी स्प्राइट फ़्रेम में रेंडर कर सकता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Asset pipeline: from art to engine-ready files

The fal-assets skill makes pictures. This skill makes files the game accepts: the right size, frame layout, orientation, alpha, palette and format. All commands are um sprite ... and um render3d ...; each has --help with examples.

1. Learn the target format from the game itself

Before converting anything, open two or three of the game's own assets and write down in MODLOG.md:

  • Dimensions: frame size, frames per sheet, and the layout (vertical strip / grid / one file per frame).
  • Orientation: which way the art faces (Terraria: items point right, NPCs face left, the engine flips them), and where the pivot or hotspot sits (AoE2: the unit's ground point at the canvas centre).
  • Alpha: hard 1-bit edges (BC1 punch-through, pixel art) or soft.
  • Style: palette size and outline (dark 1-2 px outline in most pixel-art games).
  • Format: PNG, DDS BC1/BC3/BC7, XNB, SLD, atlas + JSON...

The draw code is the final authority. In Terraria, NPC frame height = texture height / Main.npcFrameCount, so any consistent frame size works.

2. 2D pipeline

um sprite info raw.png                                    # size, alpha coverage, corner colour
um sprite cutout raw.png cut.png                          # flat bg → transparent (border flood fill keeps interior whites)
um sprite cutout raw.png cut.png --grey 150 --keep-top 0.8   # also remove a soft grey shadow / the floor under it
um sprite fit cut.png item.png --size 64x26 --hard-alpha  # trim + ONE nearest-neighbour scale into the frame
um sprite fit cut.png npc.png --size 38x34 --anchor bottom   # standing sprites sit on the frame's bottom edge
um sprite pixelate cut.png px.png --size 32x32 --colors 16 --outline   # true pixel art from painterly art
um sprite palette px.png px2.png --from stock_sprite.png  # snap to the game's own colours
um sprite frames npc.png frames/ --n 3 --kind bob          # cheap idle animation (bob/squash/wobble/flash)
um sprite sheet sheet.png frames/*.png --vertical         # Terraria-style strip (or --cols N grid)
um sprite slice sheet.png out/ --frame 32x32              # the other direction
um sprite team-mask unit.png unit_grey.png --hue blue     # player-colour mask (+ desaturated sprite)
um sprite preview item.png look.png --scale 6             # checkerboard + zoom: LOOK at it before shipping
  • Pixel art: scale once, with nearest neighbour, to the final size. Never scale pixel art twice.
  • Painted / HD art: use fit --smooth.
  • Real frames: for animation frames beyond bob/squash, generate each frame with the fal edit endpoint using the base sprite as reference ("same drone, rotors tilted, frame 2 of 4"), then cut out and fit each frame the same way. Or go 3D (below).

3. 3D → sprites (consistent angles and animations)

um fal model3d concept.png --name unit                   # textured GLB (Trellis 2 by default)
um render3d assets/gen/unit.glb frames/ --preset aoe2 --length 80 --forward-yaw -90 \
  --anims idle:10:bob,walk:12:walk,attack:16:lunge,death:20:die --shadows --samples 40
um render3d assets/gen/unit.glb side/ --preset side --canvas 128 --length 110 --engine eevee   # platformer facing R + L

Presets:

Preset Projection Camera Facings
aoe2 ortho 30° 16 clockwise from east
iso8 ortho 30° 8
trueiso ortho 35.264° 8
topdown ortho — 8
side ortho — 2 (right, left)
turntable persp — 24 (promo/icon spins)
  • --length sets the model's longest horizontal side in pixels at 1x, so match stock units.
  • --forward-yaw turns the model so its nose faces +X; check the first frame.
  • --shadows adds a shadow-only pass (*_s.png) for engines that keep shadows in their own layer.
  • Motions: bob, walk, lunge, die, wreck, spin.
  • Then pack with um sprite sheet, or with an engine writer (e.g. examples/aoe2-de-civ/sld.py).
  • Needs Blender (blender on PATH or BLENDER=...). Cycles uses the GPU when available.
  • Dark generated textures: raise --sun / --ambient, or brighten in post.
  • For game-ready 3D (not sprites), remesh with um fal run tripo3d/tripo/remesh mesh_url=@unit.glb face_limit:=8000, then convert in Blender (GLB → FBX/OBJ) with the engine's scale and axis convention: Unity Y-up metres, Unreal Z-up centimetres, Bethesda NIF via PyNifly.

4. Textures and materials

  • Tiling: um fal texture generates
अक्सर पूछे जाने वाले सवाल

क्या इसे गेम की अपनी फ़ाइलें चाहिए?

सबसे अच्छा तब चलता है जब आप पहले गेम की कुछ संपत्तियाँ देखें, ताकि नई कला उनसे मेल खाए।

क्या यह 3D मॉडल को स्प्राइट में बदल सकती है?

हाँ। यह Blender का इस्तेमाल करके गेम के कैमरा कोणों से 3D मॉडल को स्प्राइट फ़्रेम में रेंडर कर सकती है।

क्या यह कला खुद बनाती है?

नहीं। यह आपके पास पहले से मौजूद कला को बदलती है। छवि बनाना एक अलग स्किल में आता है।

जानकारी

लेखक का मूल विवरण

Turn generated or hand-made art into exactly what a game engine loads. Covers sprite cutout, trim and nearest-neighbour fitting to frame sizes, pixelation to a palette, sprite sheets and strips, player/team-colour masks, seamless textures, and rendering a 3D model into sprite frames from the game's own camera (isometric/RTS 8 or 16 headings, side view, top-down) with Blender. Use after generating assets, or when the user asks to make sprites, sprite sheets, animation frames, isometric unit sprites or icons for a game.

repo: rehan-remade/universal-modder

लोकप्रियता

GitHub स्टार
9.3k
रैंकिंग में स्थान
#12282
लाइसेंस
MIT
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

blitz3d-decomp

9.3k

आपके एजेंट को Blitz3D गेम को पढ़ने योग्य सोर्स में बदलने और उसे किसी दूसरे इंजन में पोर्ट करने की योजना बनाने में मदद करती है, मूल गेम को संदर्भ के रूप में रखते हुए।

कोडिंगसामान्य कोडिंग

fal-assets

9.3k

आपके एजेंट को fal.ai से गेम कला, ध्वनि प्रभाव, संगीत और 3D मॉडल बनाने में मदद करती है, स्प्राइट और टेक्सचर से लेकर वॉइस लाइन और वीडियो तक।

डिज़ाइनइमेज और आइकन

game-automation

9.3k

आपके एजेंट को असली गेम चलाने, स्क्रीनशॉट लेने, मेनू में क्लिक और टाइप करने और लॉग पढ़ने देती है, ताकि वह अपने गेम मॉड खुद टेस्ट कर सके।

कोडिंगटेस्टिंग

game-recon

9.3k

आपके एजेंट को इंस्टॉल किया गया गेम खोजने और यह पता लगाने में मदद करती है कि उसे कैसे मॉड किया जा सकता है, जिसमें इंजन, वर्ज़न, anti-cheat, सेव और कम्युनिटी मॉडिंग रास्ता शामिल हैं।

कोडिंगसामान्य कोडिंग

मिलती-जुलती skills