(PATCHED) (4.5.9) (Arcade Platformer) Collision bug when jumping on 1 tile solid, below null

Subotai

Active member
Hi NesMaker community,

it has been a while since this bug is there.
I've search the forum, and didn't find something about that bug.
The player is 4 tiles Height by 2 tiles width.
I've tried with the MetroVania module too, and it does the same problem.

When the player is jumping near a solid block, he can pass under if the under block is null. See the video below.

block-collision.gif

Here's the collision type :

collision1.png


Here is the bounding box :

bouding box1.png


I know that a solution would be to have the block under the rock to be solid, but I don't want to.

It is probably something on the physic script, but I don't know how to fix it.

Any ideas ?
 

Subotai

Active member
After a few research into Discord, it seems there's no patch for that bug.
I found a way to bypass that problem.

I've made a new tile type that appear to be solid ONLY for the player, a monster is able to passthrough.
 

Bucket Mouse

Active member
The issue is if your sprite is colliding with two different tiles at the same time, it will only pick the qualities of one of them, usually the null tile.
No one's figured out how to fix it yet, we just use duct-tape fixes like the one you just made.
 
Top Bottom