Jofthomas's picture
Jofthomas HF staff
upload spritsheets
827c4c4
raw
history blame
1.99 kB
import { SpritesheetData } from './types';
export const data: SpritesheetData = {
frames: {
down: {
frame: { x: 96, y: 0, w: 32, h: 32 },
sourceSize: { w: 32, h: 32 },
spriteSourceSize: { x: 0, y: 0 },
},
down2: {
frame: { x: 128, y: 0, w: 32, h: 32 },
sourceSize: { w: 32, h: 32 },
spriteSourceSize: { x: 0, y: 0 },
},
down3: {
frame: { x: 160, y: 0, w: 32, h: 32 },
sourceSize: { w: 32, h: 32 },
spriteSourceSize: { x: 0, y: 0 },
},
left: {
frame: { x: 96, y: 32, w: 32, h: 32 },
sourceSize: { w: 32, h: 32 },
spriteSourceSize: { x: 0, y: 0 },
},
left2: {
frame: { x: 128, y: 32, w: 32, h: 32 },
sourceSize: { w: 32, h: 32 },
spriteSourceSize: { x: 0, y: 0 },
},
left3: {
frame: { x: 160, y: 32, w: 32, h: 32 },
sourceSize: { w: 32, h: 32 },
spriteSourceSize: { x: 0, y: 0 },
},
right: {
frame: { x: 96, y: 64, w: 32, h: 32 },
sourceSize: { w: 32, h: 32 },
spriteSourceSize: { x: 0, y: 0 },
},
right2: {
frame: { x: 128, y: 64, w: 32, h: 32 },
sourceSize: { w: 32, h: 32 },
spriteSourceSize: { x: 0, y: 0 },
},
right3: {
frame: { x: 160, y: 64, w: 32, h: 32 },
sourceSize: { w: 32, h: 32 },
spriteSourceSize: { x: 0, y: 0 },
},
up: {
frame: { x: 96, y: 96, w: 32, h: 32 },
sourceSize: { w: 32, h: 32 },
spriteSourceSize: { x: 0, y: 0 },
},
up2: {
frame: { x: 128, y: 96, w: 32, h: 32 },
sourceSize: { w: 32, h: 32 },
spriteSourceSize: { x: 0, y: 0 },
},
up3: {
frame: { x: 160, y: 96, 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'],
},
};