Spaces:
Sleeping
Sleeping
File size: 2,595 Bytes
8cbe088 |
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 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
import { SpritesheetData } from './types';
export const data: SpritesheetData = {
frames: {
left: {
frame: { x: 0, y: 96, w: 32, h: 32 },
sourceSize: { w: 32, h: 32 },
spriteSourceSize: { x: 0, y: 0 },
},
left2: {
frame: { x: 32, y: 96, w: 32, h: 32 },
sourceSize: { w: 32, h: 32 },
spriteSourceSize: { x: 0, y: 0 },
},
left3: {
frame: { x: 64, y: 96, w: 32, h: 32 },
sourceSize: { w: 32, h: 32 },
spriteSourceSize: { x: 0, y: 0 },
},
left4: {
frame: { x: 96, y: 96, w: 32, h: 32 },
sourceSize: { w: 32, h: 32 },
spriteSourceSize: { x: 0, y: 0 },
},
right: {
frame: { x: 0, y: 128, w: 32, h: 32 },
sourceSize: { w: 32, h: 32 },
spriteSourceSize: { x: 0, y: 0 },
},
right2: {
frame: { x: 32, y: 128, w: 32, h: 32 },
sourceSize: { w: 32, h: 32 },
spriteSourceSize: { x: 0, y: 0 },
},
right3: {
frame: { x: 64, y: 128, w: 32, h: 32 },
sourceSize: { w: 32, h: 32 },
spriteSourceSize: { x: 0, y: 0 },
},
right4: {
frame: { x: 96, y: 128, w: 32, h: 32 },
sourceSize: { w: 32, h: 32 },
spriteSourceSize: { x: 0, y: 0 },
},
up: {
frame: { x: 128, y: 128, w: 32, h: 32 },
sourceSize: { w: 32, h: 32 },
spriteSourceSize: { x: 0, y: 0 },
},
up2: {
frame: { x: 160, y: 128, w: 32, h: 32 },
sourceSize: { w: 32, h: 32 },
spriteSourceSize: { x: 0, y: 0 },
},
up3: {
frame: { x: 192, y: 128, w: 32, h: 32 },
sourceSize: { w: 32, h: 32 },
spriteSourceSize: { x: 0, y: 0 },
},
up4: {
frame: { x: 224, y: 128, w: 32, h: 32 },
sourceSize: { w: 32, h: 32 },
spriteSourceSize: { x: 0, y: 0 },
},
down: {
frame: { x: 128, y: 32, w: 32, h: 32 },
sourceSize: { w: 32, h: 32 },
spriteSourceSize: { x: 0, y: 0 },
},
down2: {
frame: { x: 160, y: 32, w: 32, h: 32 },
sourceSize: { w: 32, h: 32 },
spriteSourceSize: { x: 0, y: 0 },
},
down3: {
frame: { x: 192, y: 32, w: 32, h: 32 },
sourceSize: { w: 32, h: 32 },
spriteSourceSize: { x: 0, y: 0 },
},
down4: {
frame: { x: 224, y: 32, w: 32, h: 32 },
sourceSize: { w: 32, h: 32 },
spriteSourceSize: { x: 0, y: 0 },
},
},
meta: {
scale: '1',
},
animations: {
left: ['left', 'left2', 'left3','left4'],
right: ['right', 'right2', 'right3','right4'],
up:['up', 'up2', 'up3','up4'],
down: ['down', 'down2', 'down3','down4'],
},
}; |