Hi, I have a question, I don't know if you know. I've looked a little at the code for the penguin suit and I haven't found a way to add a new character to the penguin suit. In other custom powerups I've managed to add other extra characters such as "Wario" or "Ninjabomberman." How could I add a new character to the penguin suit?
Code: Select all
apt.penguinSettings = {
slideConstant = 1.5, --A constant used to determine how much you speed up upon starting to slide.
slopeConstant = 0.1, --A constant used to determine your acceleration down and up slopes.
waterAccelerationConstant = 1.5,
waterDecelerationConstant = 0.25,
slideMinimumSpeed = 3,
--{Idle, Idle2, Horizontal1, Horizontal2, Horizontal3, Up1, Up2, Up3, Down1, Down2, Down3, HoldIdle1, HoldIdle2, HoldSwim1, HoldSwim2, HoldSwim3}
normalFrameList = {28, 28, 29, 27, 28, 34, 32, 33, 35, 36, 37, 28, 28, 29, 27, 28},
SMM2FrameList = {20, 39, 40, 43, 20, 56, 67, 58, 59, 60, 61, 62, 63, 64, 65, 62},
animationList = {
["swimIdle"] = {1, 2, frameDelay = 12},
["swimHorizontal"] = {4, 3, 4, 5, 5, 5, 5, 5, 5, frameDelay = 4},
["swimUp"] = {7, 6, 7, 8, 8, 8, 8, 8, 8, frameDelay = 4},
["swimDown"] = {10, 9, 10, 11, 11, 11, 11, 11, 11, frameDelay = 4},
["swimHold"] = {15, 14, 15, 16, 16, 16, 16, 16, 16, frameDelay = 4},
["swimIdleHold"] = {12, 13, frameDelay = 12},
["swimShoot"] = {3, 4, 4, frameDelay = 4},
["penguinDanceOld"] = {68, -69, 68, 69, frameDelay = 6},
["penguinDance"] = {68, 68, -69, -69, 68, 68, 69, 69, 68, 69, 70, 71, -70, -70, 71, 71, 70, 70, 71, -70, -69, 68, 68,
74, 74, 83, 83, 82, 82, -82, -82, -83, -83, -74, -74, 74, 74, 83, 83, 82, 82, -82, -82, -83, -83,
-74, -74, 74, 74, 68, 75, 75, 68, 68, 75, 75, 68, 76, 76, 87, 87, 76, 76, 68, 75, 75, 68, 68, 75,
75, 68, -76, -76, -87, -87, -76, -76, 68, 75, 75, 68, 68, 75, 75, 68, 78, 99, 99, 99, 78, 68, 75,
75, 68, 68, 75, 75, 68, -78, -99, -99, -99, -78, frameDelay = 4},
},
slideOffsets = {
["SMM2-MARIO"] = 2,
["SMM2-LUIGI"] = 3,
["SMM2-TOAD"] = 1,
["SMM2-TOADETTE"] = 1,
["SMM2-YELLOWTOAD"] = 1,
["mario"] = 4,
["luigi"] = 0,
["toad"] = 0,
["peach"] = 0,
["link"] = 0,
["wario"] = 0,
},
}