Skip to content

Atlas & Sprites

Sharp Stock provides professional texture atlas (Atlas / Plist) and sprite sequence (Sprites) management tools for 2D game developers, deeply optimizing the art slicing and packing workflow experience.

1. Atlas Resource Management (Atlas / Plist)

Atlases are a key solution for optimizing performance in 2D games. Sharp Stock supports deep parsing, sub-region preview, and reverse-slicing for various mainstream atlases.

Core Features

  • Intelligent Slicing Tools:
    • Alpha Slicing: Automatically analyzes image transparency to intelligently identify and extract individual sprite files.
    • Config-based Slicing: Reads .plist / .atlas description files exported from Cocos or TexturePacker to precisely restore the original boundaries and names of all sub-regions.
  • Interactive Sub-region Preview: In the right detail panel, you can use the dropdown list or previous/next buttons on the toolbar to view all sub-regions contained within the atlas. The preview area supports zooming and dragging, and provides an automatic rotation mode.

2. Virtual Sprite Assets (Sprites)

"Sprites" is a core virtual asset concept introduced by Sharp Stock. It aims to aggregate scattered sprite image sequences (e.g., run_01.png, run_02.png) on the physical disk into a single logical object.

Core Advantages

  • Maintain Grid Cleanliness: Consolidates hundreds of tiny frame images into a single "Sprites" card, significantly reducing visual noise in the main view.
  • Interactive Simulation Playback: Supports directly loop-playing sequences in the asset card or preview viewport to review animation smoothness in real-time.

Operation Guide

  • One-click Merge: Select multiple individual images -> Context Menu -> Select "Merge to Sprites."
  • Deconstruct & Restore: If you need to edit individual frames, right-click and select "Deconstruct Sprites" to revert the aggregated item back into independent disk files.

3. Packing & Slicing Workflow

Sharp Stock integrates lightweight atlas generation features:

  • Automated Packing (Generate Atlas):
    • Select a "Sprites" asset or multiple individual images.
    • Right-click and select "Generate Atlas" or "Generate Plist."
    • The system will call a built-in Packing algorithm to output a compact large texture and accompanying coordinate configuration file for you.

4. Important Tips

  • Virtual Management Logic: Sprites are a logical view within the software. While they greatly facilitate management, the original images still exist on the physical disk in a specific metadata directory (automatically managed by the system).
  • Synchronization Suggestion: We recommend committing generated atlases to the SVN server promptly to ensure team members can share the latest atlas configurations.