Page 1 of 1

Help With Thwomp-Like Brick Block NPC (SMBX1)

Posted: Sat Feb 20, 2021 3:33 pm
by mguadagni55555
First of all, I'm using SMBX1, not 2. Not only that, I'm using version 1.3.0.1. Why? Accessibility and forced creativeness. But that's not the point. I'm currently editing the npc parameters for a SMB3 Thwomp to make it less of a Thwomp and more of a brick block. That of which acts like a Thwomp. Basically, it's a Thwomp which looks like a brick block and doesn't have the shine animation. Anyways, here's the code I got:

gfxwidth=32
width=32
playerblocktop=1
height=32
gfxheight=48
npcblocktop=1
gfxoffsetx=-16

What's wrong here you ask? Well, 2 things.

1. I can't put brick blocks to the right of this npc. Kinda defeats the purpose of it.
2. It's hitbox looks weird when you touch it due to the fact that it has a graphics offset, but not a hitbox offset.

Is there anyway I could fix these two problems?

Re: Help With Thwomp-Like Brick Block NPC (SMBX1)

Posted: Sat Feb 20, 2021 4:59 pm
by Hoeloe
The gfx offset is the offset from the hitbox, a "hitbox offset" conceptually makes no sense, since that's all wrapped up in the gfx offset. As for putting blocks to the side of it, if you still can't after fixing the hitbox, I believe you could attach the block to a layer, hide it, then place the blocks. Or just use the PGE editor.