Name: | Screen Constrain |
Author: | TheBiob |
Added: | |
Tool: | Asar |
Requires Free Space: | Yes |
Bug Fix: | No |
Featured: | No |
Description: | This patch will constrain the player's hitbox to inside the camera causing blocks that are placed on the edge of the screen to "extend" infinitely. Useful for water levels and to prevent players from getting above the level. |
Tags: | blocks extending lorom needs remoderation screen border |
Comments: | 16 (jump to comments) |
Download
771 bytes | 257 downloads
Comments (16)
Can you link a patch of a rom where that happens so I can look at it?
I can't reproduce that, everything works perfectly fine for me.
Are you sure you don't have any freeram conflicts?
Ah, I see. Still makes me wonder why I couldn't find it.
Oh right. Yeah that's not really possible unless you move the camera one pixel up to leave space.EDIT: Actually, you can work around that with a simple custom block:
Players can walk over this tile just normal.
And I guess not having collectibles on the edges is a small price to pay for such a nice feature. The bottom row is hidden and the top one is usually obstructed by a HUD of sorts, anyway.
EDIT: I did it the way I did not only because of collectibles, but also because I still wanted over-the-level secrets to be possible, so corner and grass tiles wouldn't block Mario with my method. Also, slopes.
Huh interesting. Did you ever release that? I couldn't find anything like this.
Depends on what you mean.
The patch simply restrains the player's collision points to inside the screen essentially "extending" every collision from the last pixel visible on screen to where the player actually is.
Now, that does mean that you'd be able to collect collectibles way above/below the screen if they're on the edge. If that's what you're referring to then I guess they aren't working well together.
I didn't try it, but does your patch play well with collectible blocks being placed on the edge of the screen?
Though I couldn't find one that actually extends the blocks inifinitely so... If anyone knows of a patch that already does this I'll remove this one since we don't need two.
Could be that I missed something so if there really is a patch like this already here I'll just remove it.