UNPKG

@bscotch/stitch

Version:

Stitch: The GameMaker Studio 2 Asset Pipeline Development Kit.

17 lines 856 B
import { Pathy } from '@bscotch/pathy'; import type { Gms2Sprite } from './Gms2Sprite.js'; export interface SpriteSyncResult { changed: boolean; yyChanged: boolean; filesChanged: Pathy[]; } /** * Ensure that the dimensions of the sprite and its bounding * box match the dimensions of the source image. If not, assuming * linear scaling and adjust all dims. */ export declare function setSpriteDims(this: Gms2Sprite, width: number, height: number, isNew: boolean): void; export declare function deleteExtraneousSpriteImages(this: Gms2Sprite): Gms2Sprite; export declare function syncSpineSource(this: Gms2Sprite, spineSourceJson: string): Promise<SpriteSyncResult>; export declare function syncSpriteSource(this: Gms2Sprite, spriteDirectory: string, isNew: boolean): Promise<SpriteSyncResult>; //# sourceMappingURL=Gms2Sprite.update.d.ts.map