LightningFire wrote:The reason that I want to do it is that I've been liking working with sprites (Thanks to my avatar :P). But I won't be starting yet. I need to get my own laptop and finish my planned mappack so I can start.
Okay, cool. By the way, be prepared for some weird coding. Even after making more than 30 hats, the codes still mess me up.
Small Hat Code:
table.insert(hat, {x=
5, y=
-6, height = 8, graphic = love.graphics.newImage("graphics/SMB/hats/mudkip_small.png")})
Big Hat Code:
table.insert(bighat, {x =
-2, y =
-4, height = 13, graphic = love.graphics.newImage("graphics/SMB/bighats/mudkip_big.png")})
Making the number greater makes it closer to the bottom. (-4 is higher than 2.)
Making the number greater makes it closer to the right. (-4 is farther left than 2.)
(I might be wrong! Let me know.)
Remember, the game treats the middle of the sprite as where you are going to put it. My Mudkip hat and my original Ninja hat both cover the same amount of sprite
rows but the axis is different because the Mudkip hat is taller than my original Ninja hat.
Hope I helped!