Spaces:
Sleeping
Sleeping
File size: 1,522 Bytes
827c4c4 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 |
import { SpritesheetData } from './types';
export const data: SpritesheetData = {
frames: {
left: {
frame: { x: 16, y: 16, w: 16, h: 16 },
sourceSize: { w: 16, h: 16 },
spriteSourceSize: { x: 0, y: 0 },
},
left2: {
frame: { x: 64, y: 16, w: 16, h: 16 },
sourceSize: { w: 16, h: 16 },
spriteSourceSize: { x: 0, y: 0 },
},
left3: {
frame: { x: 112, y: 16, w: 16, h: 16 },
sourceSize: { w: 16, h: 16 },
spriteSourceSize: { x: 0, y: 0 },
},
up: {
frame: { x: 32, y: 16, w: 16, h: 16 },
sourceSize: { w: 16, h: 16 },
spriteSourceSize: { x: 0, y: 0 },
},
up2: {
frame: { x: 80, y: 16, w: 16, h: 16 },
sourceSize: { w: 16, h: 16 },
spriteSourceSize: { x: 0, y: 0 },
},
up3: {
frame: { x: 128, y: 16, w: 16, h: 16 },
sourceSize: { w: 16, h: 16 },
spriteSourceSize: { x: 0, y: 0 },
},
down: {
frame: { x: 0, y: 16, w: 16, h: 16 },
sourceSize: { w: 16, h: 16 },
spriteSourceSize: { x: 0, y: 0 },
},
down2: {
frame: { x: 48, y: 16, w: 16, h: 16 },
sourceSize: { w: 16, h: 16 },
spriteSourceSize: { x: 0, y: 0 },
},
down3: {
frame: { x: 96, y: 16, w: 16, h: 16 },
sourceSize: { w: 16, h: 16 },
spriteSourceSize: { x: 0, y: 0 },
},
},
meta: {
scale: '1',
},
animations: {
left: ['left', 'left2', 'left3'],
up: ['up', 'up2', 'up3'],
down: ['down', 'down2', 'down3'],
},
};
|