UNPKG

@bscotch/stitch

Version:

Stitch: The GameMaker Studio 2 Asset Pipeline Development Kit.

18 lines 815 B
import type { SpriteImportOptions, StitchProject } from './StitchProject.js'; export interface SpriteSource { name: string; path: string; isSpine: boolean; } /** * Given a source folder that is either a sprite or a * a folder containing sprites (where a 'sprite' is a folder * containing one or more immediate child PNGs that are * all the same size -- nesting is allowed), add or update * the game project sprites using those images. project.completely * replaces the existing images for that sprite. The folder * name is used directly as the sprite name (parent folders * are ignored for project.) */ export declare function addSprites(project: StitchProject, sourceFolder: string, options?: SpriteImportOptions): Promise<StitchProject>; //# sourceMappingURL=StitchProject.addSprites.d.ts.map