Page 1 of 2

(Lunadll) My First Graphics Pack

Posted: Tue Apr 19, 2016 11:33 pm
by King Godzilla
ATTENTION! YOU WILL NEED THE LATEST VERSION OF LUNALUA Or SMBX 2.0

Here is my first Graphics pack. Most of them are recolors which are Hammer Bros from Super Princess Peach. Here are what the Npcs do.

Boomerang Bro:The Boomerang Bro shoots boomerangs into the air then they come down homing towards Mario since there is no way for to make them go back and forth and i'm very limited in lunalua. Throws Rinka-like Boomerangs

Bill Bro:Well this one is a bit glitchy but it still works. The glitch will be shown in the screenshots. Thows glitchy bills.

Bob-omb Bro:This was inspired by Squishy Rex's SMB3 Bob-omb bor. I just made my own version. Throws Bob-ombs.

Goomba Bro:I got this idea from Fantendo. Just throws goombas.

Para-Goomba Bro: Nothing special, just throws para-goombas.

Fire Bro: I actually got this Idea from FanofSMBX. Throws bouncing fireballs.

Ice Bro: This one is the same as the Fire Bro but throws bouncing Ice Balls instead.

Flying BoomBoom: This is just Valterri's Flying Boom Boom but used Lunadll to make it so it changes to the regular boom boom (npc-15).

Here are some screenshots.
Spoiler: show
ImageImageImageImageImageImageImageImageImageImageImageImage
Download:
http://www.mediafire.com/download/1l46z ... +me.%29.7z
Note that the download is a 7z file so you will need a program like winrar or 7zip to extract it.

I DO NOT OWN THE GRAPHICS. ALL GRAPHICS BELONG TO THEIR RESPECTIVE OWNERS. THEY ARE ONLY RECOLORS AND EDITS.

Feel free to use but credit me and the original owners of the graphics.

Re: (Lunadll) My First Graphics Pack

Posted: Tue Apr 19, 2016 11:47 pm
by FanofSMBX
Great graphics! I like how it's SPP Hammer Bros. because those graphics are uncommon. You do need to make a npc-30 text file to have the bullet bill graphics render at the correct size.

Re: (Lunadll) My First Graphics Pack

Posted: Tue Apr 19, 2016 11:52 pm
by King Godzilla
FanofSMBX wrote:Great graphics! I like how it's SPP Hammer Bros. because those graphics are uncommon. You do need to make a npc-30 text file to have the bullet bill graphics render at the correct size.
Thanks! Somehow, I want to know the correct npc-30 text file which will fix the bullet bill graphic.

Re: (Lunadll) My First Graphics Pack

Posted: Wed Apr 20, 2016 2:33 am
by PROX
just measure a frame and then use the measurements for height=,width=, gfxheight=,and gfxwidth=. The first 2 are used for the hitbox and the last 2 are used for the sprite itself. Anyway, this is actually very useful to me. The boom boom will be very useful as well as the ice and fire bros. Not sure about the goomba and bomb ones though. Also your signature just informed me about the new Godzilla movie. So far, it looks promising.

Re: (Lunadll) My First Graphics Pack

Posted: Wed Apr 20, 2016 6:07 am
by MirzaBM
This is accutally a cool graphic pack! Plus the lunalua things are awesome keep up the good work!

Re: (Lunadll) My First Graphics Pack

Posted: Wed Apr 20, 2016 9:44 pm
by King Godzilla
PROX wrote:just measure a frame and then use the measurements for height=,width=, gfxheight=,and gfxwidth=. The first 2 are used for the hitbox and the last 2 are used for the sprite itself. Anyway, this is actually very useful to me. The boom boom will be very useful as well as the ice and fire bros. Not sure about the goomba and bomb ones though. Also your signature just informed me about the new Godzilla movie. So far, it looks promising.
Somehow, I tried doing it but it still comes with the same results.

Here is a screenshot of what I did:
Image

Re: (Lunadll) My First Graphics Pack

Posted: Wed Apr 20, 2016 10:31 pm
by FanofSMBX
King Godzilla wrote:
PROX wrote:just measure a frame and then use the measurements for height=,width=, gfxheight=,and gfxwidth=. The first 2 are used for the hitbox and the last 2 are used for the sprite itself. Anyway, this is actually very useful to me. The boom boom will be very useful as well as the ice and fire bros. Not sure about the goomba and bomb ones though. Also your signature just informed me about the new Godzilla movie. So far, it looks promising.
Somehow, I tried doing it but it still comes with the same results.

Here is a screenshot of what I did:
Image
It doesn't matter that the hammer looks glitchy because it will look correct when it is changed to a bullet bill.

Re: (Lunadll) My First Graphics Pack

Posted: Wed Apr 20, 2016 10:53 pm
by King Godzilla
FanofSMBX wrote:
King Godzilla wrote:
PROX wrote:just measure a frame and then use the measurements for height=,width=, gfxheight=,and gfxwidth=. The first 2 are used for the hitbox and the last 2 are used for the sprite itself. Anyway, this is actually very useful to me. The boom boom will be very useful as well as the ice and fire bros. Not sure about the goomba and bomb ones though. Also your signature just informed me about the new Godzilla movie. So far, it looks promising.
Somehow, I tried doing it but it still comes with the same results.

Here is a screenshot of what I did:
Image
It doesn't matter that the hammer looks glitchy because it will look correct when it is changed to a bullet bill.
Actually, even with the correct text file, it still shows the glitchy bullet bill.

Screenshot:
Image

Re: (Lunadll) My First Graphics Pack

Posted: Wed Apr 20, 2016 11:10 pm
by FanofSMBX
King Godzilla wrote:
FanofSMBX wrote:
King Godzilla wrote:
Somehow, I tried doing it but it still comes with the same results.

Here is a screenshot of what I did:
Image
It doesn't matter that the hammer looks glitchy because it will look correct when it is changed to a bullet bill.
Actually, even with the correct text file, it still shows the glitchy bullet bill.

Screenshot:
Image
...try frames=1 and framestyle=1?

Re: (Lunadll) My First Graphics Pack

Posted: Wed Apr 20, 2016 11:18 pm
by King Godzilla
FanofSMBX wrote:
King Godzilla wrote:
FanofSMBX wrote: It doesn't matter that the hammer looks glitchy because it will look correct when it is changed to a bullet bill.
Actually, even with the correct text file, it still shows the glitchy bullet bill.

Screenshot:
Image
...try frames=1 and framestyle=1?
Still doesn't work.

Re: (Lunadll) My First Graphics Pack

Posted: Thu Apr 21, 2016 4:23 am
by MirzaBM
King Godzilla wrote:
FanofSMBX wrote:
King Godzilla wrote:
Actually, even with the correct text file, it still shows the glitchy bullet bill.

Screenshot:
Image
...try frames=1 and framestyle=1?
Still doesn't work.
Okay i have a note for all of you: Hammers can't use framestyle=1 i tried it but it doesn't work but i think frames=1 does work.

Re: (Lunadll) My First Graphics Pack

Posted: Thu Apr 21, 2016 11:33 am
by Enjl
Explanation for why the bullet doesn't work:

The hammer object is 32x32 pixels, the bullet bill sprite is 32x28. If you change the id of the hammer to be the bullet bill, the object itself is still 32x32 pixels. You have to change the height and gfxheight within lunalua.

Re: (Lunadll) My First Graphics Pack

Posted: Thu Apr 21, 2016 11:52 am
by FanofSMBX
Enjl wrote:Explanation for why the bullet doesn't work:

The hammer object is 32x32 pixels, the bullet bill sprite is 32x28. If you change the id of the hammer to be the bullet bill, the object itself is still 32x32 pixels. You have to change the height and gfxheight within lunalua.
Darn, I forgot. I had to use lunadll's internal height and width changer for my gold flower. Otherwise, the iceblock->coins looked glitchy.

Re: (Lunadll) My First Graphics Pack

Posted: Thu Apr 21, 2016 9:41 pm
by King Godzilla
Enjl wrote:Explanation for why the bullet doesn't work:

The hammer object is 32x32 pixels, the bullet bill sprite is 32x28. If you change the id of the hammer to be the bullet bill, the object itself is still 32x32 pixels. You have to change the height and gfxheight within lunalua.
Is there a tutorial for this? I am not very skilled at Lunalua.

Re: (Lunadll) My First Graphics Pack

Posted: Thu Apr 21, 2016 9:47 pm
by PixelPest
King Godzilla wrote:
Enjl wrote:Explanation for why the bullet doesn't work:

The hammer object is 32x32 pixels, the bullet bill sprite is 32x28. If you change the id of the hammer to be the bullet bill, the object itself is still 32x32 pixels. You have to change the height and gfxheight within lunalua.
Is there a tutorial for this? I am not very skilled at Lunalua.
You could probably do this, although you'll need to replace the things marked <bullet bill id> and <hammer id> with their respective numbers:

Code: Select all

function onTick()
    for _, v in pairs(NPC.get(<hammer id>, -1)) do
        v.id = <bullet bill id>
        v.height = 28
    end
end 

Re: (Lunadll) My First Graphics Pack

Posted: Thu Apr 21, 2016 10:10 pm
by King Godzilla
PixelPest wrote:
King Godzilla wrote:
Enjl wrote:Explanation for why the bullet doesn't work:

The hammer object is 32x32 pixels, the bullet bill sprite is 32x28. If you change the id of the hammer to be the bullet bill, the object itself is still 32x32 pixels. You have to change the height and gfxheight within lunalua.
Is there a tutorial for this? I am not very skilled at Lunalua.
You could probably do this, although you'll need to replace the things marked <bullet bill id> and <hammer id> with their respective numbers:

Code: Select all

function onTick()
    for _, v in pairs(NPC.get(<hammer id>, -1)) do
        v.id = <bullet bill id>
        v.height = 28
    end
end 
Do I keep the arrows over the words or not?

Re: (Lunadll) My First Graphics Pack

Posted: Thu Apr 21, 2016 10:16 pm
by PixelPest
King Godzilla wrote:
PixelPest wrote:
King Godzilla wrote: Is there a tutorial for this? I am not very skilled at Lunalua.
You could probably do this, although you'll need to replace the things marked <bullet bill id> and <hammer id> with their respective numbers:

Code: Select all

function onTick()
    for _, v in pairs(NPC.get(<hammer id>, -1)) do
        v.id = <bullet bill id>
        v.height = 28
    end
end 
Do I keep the arrows over the words or not?
No

Re: (Lunadll) My First Graphics Pack

Posted: Thu Apr 21, 2016 10:19 pm
by King Godzilla
PixelPest wrote:
King Godzilla wrote:
PixelPest wrote: You could probably do this, although you'll need to replace the things marked <bullet bill id> and <hammer id> with their respective numbers:

Code: Select all

function onTick()
    for _, v in pairs(NPC.get(<hammer id>, -1)) do
        v.id = <bullet bill id>
        v.height = 28
    end
end 
Do I keep the arrows over the words or not?
No
It still didn't work.

Re: (Lunadll) My First Graphics Pack

Posted: Fri Apr 22, 2016 7:31 am
by Enjl
You also need to use the gfxheight offset from the npc offsets page. Height changes the hitbox only.
http://wohlsoft.ru/pgewiki/SMBX_NPC_Offsets
v:mem(0xB8, FIELD_DFLOAT, 28) if I am not mistaken.

Re: (Lunadll) My First Graphics Pack

Posted: Fri May 27, 2016 6:02 pm
by Fennor
Where are those graphics from? Can't find the original green hammer bro.

Btw. a few small suggestions about the graphics. I think it is not a big deal, but the graphics have odd attributes. The hammer bros (at least the one I looked at) has a height of 639 and width of 41 (10 frames), 640 and 40 seems more fitting to me. As far as I know this won't really affect the game, but the gfxwidth in the textfile has an influence. You should set gfxwidth to 40, since that's where the right and left frames are actually mirrored, with a gfx width of 46 the hitboxes will be moved a little bit relatice to the graphics when the enemy changes directions. Also I recommend to change gfxoffsety to 2, because it looks like they are slightly hovering above the ground.

Edit: Don't mind the y offset thing. I just used the graphic for another NPC which has a different yoffset on default.