"Small hitboxes" (1.3 hitboxes) minor problem [Fixed patch 27]

Description: Report bugs of SMBX-38A here.
Forum rules: https://wohlsoft.ru/forum/viewtopic.php?f=64&t=1069
Moderators: Lx Xzit, Yoshi021, 5438A38A, Semi-moderatos, Moderators

Lx Xzit M
Topic author, Moderator
Moderator
Avatar
Lx Xzit M
Topic author, Moderator
Moderator
Reputation: 402
Posts: 757
Joined: 9 Nov 2015
Website

Post #1by Lx Xzit » 29 Dec 2019, 22:48

I always felt like there was something wrong with "Small hitboxes", so today I checked and found it.

The hurtzone of the NPCs is OK, but its "stomp" zone isn't.

Look at this image (1.4.5):
Image

Now look at this one (1.3):
Image

Both have the same hurtzone, but in the first image the player doesn't stomp on the goomba and gets damage.
The hitbox should be like this:

Green: "Stomp zone". The player can stomp the enemy at any part of this hitbox, it's not exclusively always from the top. (Height: 10px)
Pink: Hurt zone
Spoiler
Image

This is the level I used (note that if the block was 1 pixel below it would kill the player). The level is in 1.3 format:
Attachments
b.lvl
(6.86 KiB) Downloaded 137 times
VISIT MY YOUTUBE CHANNEL! LX XZIT
Join our 38A Discord server!

Image

Wohlstand M
Lead Developer
Lead Developer
Avatar
Wohlstand M
Lead Developer
Lead Developer
Age: 30
Reputation: 493
Posts: 1747
Joined: 15 Feb 2014
English Pronouns: he/him
Location: Moscow, Russia
Website Youtube channel URL Skype Tencent QQ

Post #2by Wohlstand » 2 Jan 2020, 1:33

Wow! I was a very silly and I made an ugly workaround on PGE Engine side, why I didn't knew this before...? :comando:

Anyway, I did a small research of SMBX engine just now from my side, and the safe zone edge is this (I guess, yeah, you right, it's 10px height of a safe zone):
Снимок экрана_2020-01-02_01-31-50.png
Снимок экрана_2020-01-02_01-31-50.png (3.96 KiB) Viewed 359 times

If you'll move block 1 pixel down, player will feel a pain. :bomb:


Return to “SMBX-38A Bug reports”

Who is online (over the past 5 minutes)

Users browsing this forum: 1 guest