truth
truth copied to clipboard
There ARE anm files with multiple entries for the same image file
TH11 pl01.anm has these:
entry {
path: "face/pl01/face_pl01no.png",
img_width: 256,
img_height: 128,
memory_priority: 0,
sprites: {sprite77: {x: 0.0, y: 0.0, w: 256.0, h: 128.0}},
}
entry {
path: "face/pl01/face_pl01no.png",
img_width: 256,
img_height: 128,
offset_y: 128,
memory_priority: 0,
sprites: {
sprite91: {x: 0.0, y: 0.0, w: 256.0, h: 128.0},
sprite92: {x: 0.0, y: 0.0, w: 256.0, h: 128.0},
},
}
entry {
path: "face/pl01/face_pl01no.png",
img_width: 256,
img_height: 64,
offset_y: 256,
memory_priority: 0,
sprites: {
sprite93: {x: 0.0, y: 0.0, w: 256.0, h: 64.0},
sprite94: {x: 0.0, y: 0.0, w: 256.0, h: 64.0},
sprite95: {x: 0.0, y: 0.0, w: 256.0, h: 64.0},
sprite96: {x: 0.0, y: 0.0, w: 256.0, h: 64.0},
sprite97: {x: 0.0, y: 0.0, w: 256.0, h: 64.0},
sprite98: {x: 0.0, y: 0.0, w: 256.0, h: 64.0},
sprite99: {x: 0.0, y: 0.0, w: 256.0, h: 64.0},
sprite100: {x: 0.0, y: 0.0, w: 256.0, h: 64.0},
},
}
Truth should be stitching together three images for this.