I've resized the Bony Beetle NPC to be a bit bigger, (Specifically 38px - 38px) but upon doing this the frames mess up in game.

I'm assuming it is because of how the frames are done in the NPC-296.Lua file, perhaps specifically this bit of code:
Code: Select all
function bonybeetle.onStart()
--calculate frame count based on sheet
frames = Graphics.sprites.npc[npcID].img.height / configFile.gfxheight
frameMod = {(frames - 8) * 0.5,2,2}
NPC.config[npcID].frames = frames
collapseFrames = {
[-1] = frames - 4,
[0] = frames - 4,
[1] = frames - 2
}
spikeFrames = {
[-1] = frames - 8,
[0] = frames - 8,
[1] = frames - 6
}
walkFrames = {
[-1] = 0,
[0] = 0,
[1] = (frames - 8) * 0.5
}
end
Thanks.