Help With Thwomp-Like Brick Block NPC (SMBX1)

General discussion about Super Mario Bros. X.

Moderator: Userbase Moderators

mguadagni55555
Goomba
Goomba
Posts: 3
Joined: Mon Nov 09, 2020 7:49 pm
Flair: whatever a flair is supposed to be
Contact:

Help With Thwomp-Like Brick Block NPC (SMBX1)

Postby mguadagni55555 » Sat Feb 20, 2021 3:33 pm

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?

Hoeloe
Phanto
Phanto
Posts: 1465
Joined: Sat Oct 03, 2015 6:18 pm
Flair: The Codehaus Girl
Pronouns: she/her

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

Postby Hoeloe » Sat Feb 20, 2021 4:59 pm

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.


Return to “General”

Who is online

Users browsing this forum: Ahrefs [Bot], Semrush [Bot] and 2 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari