Spaces:
Sleeping
Sleeping
File size: 2,008 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 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 |
import { SpritesheetData } from './types';
export const data: SpritesheetData = {
frames: {
down: {
frame: { x: 96, y: 128, w: 32, h: 32 },
sourceSize: { w: 32, h: 32 },
spriteSourceSize: { x: 0, y: 0 },
},
down2: {
frame: { x: 128, y: 128, w: 32, h: 32 },
sourceSize: { w: 32, h: 32 },
spriteSourceSize: { x: 0, y: 0 },
},
down3: {
frame: { x: 160, y: 128, w: 32, h: 32 },
sourceSize: { w: 32, h: 32 },
spriteSourceSize: { x: 0, y: 0 },
},
left: {
frame: { x: 96, y: 160, w: 32, h: 32 },
sourceSize: { w: 32, h: 32 },
spriteSourceSize: { x: 0, y: 0 },
},
left2: {
frame: { x: 128, y: 160, w: 32, h: 32 },
sourceSize: { w: 32, h: 32 },
spriteSourceSize: { x: 0, y: 0 },
},
left3: {
frame: { x: 160, y: 160, w: 32, h: 32 },
sourceSize: { w: 32, h: 32 },
spriteSourceSize: { x: 0, y: 0 },
},
right: {
frame: { x: 96, y: 192, w: 32, h: 32 },
sourceSize: { w: 32, h: 32 },
spriteSourceSize: { x: 0, y: 0 },
},
right2: {
frame: { x: 128, y: 192, w: 32, h: 32 },
sourceSize: { w: 32, h: 32 },
spriteSourceSize: { x: 0, y: 0 },
},
right3: {
frame: { x: 160, y: 192, w: 32, h: 32 },
sourceSize: { w: 32, h: 32 },
spriteSourceSize: { x: 0, y: 0 },
},
up: {
frame: { x: 96, y: 224, w: 32, h: 32 },
sourceSize: { w: 32, h: 32 },
spriteSourceSize: { x: 0, y: 0 },
},
up2: {
frame: { x: 128, y: 224, w: 32, h: 32 },
sourceSize: { w: 32, h: 32 },
spriteSourceSize: { x: 0, y: 0 },
},
up3: {
frame: { x: 160, y: 224, w: 32, h: 32 },
sourceSize: { w: 32, h: 32 },
spriteSourceSize: { x: 0, y: 0 },
},
},
meta: {
scale: '1',
},
animations: {
left: ['left', 'left2', 'left3'],
right: ['right', 'right2', 'right3'],
up: ['up', 'up2', 'up3'],
down: ['down', 'down2', 'down3'],
},
};
|