Name: | Offscreen Indicator |
Author: | Thomas |
Added: | |
Version History: | View |
Type: | Level |
Includes GFX: | No |
Includes Hijack: | No |
Featured: | No |
Description: | This will display an 8x8 or 16x16 sprite tile at the top or bottom of the screen at Mario's X position whenever he goes offscreen. This way, the player can tell where he is even though they can't see him. This update makes it so you can optionally have the marker scale away from the edge of the screen based on how far Mario is offscreen, as well. Note: due to the timing of how sprite graphical data is handled, this code only works in level ASM, not game mode ASM. If you want to apply this to all levels, use the patch version. |
Tags: | lorom player sa-1 sprite |
Comments: | 13 (jump to comments) |
Rating: |
Download
1.53 KiB | 789 downloads
Comments (13)
Note that the scaling effect can be customized. The update also hides the indicator during Mario's death animation.
Tested with: Lunar Magic 3.40, SA-1 Pack 1.40, UberASMTool 1.6, Snes9x 1.62.3.
I wholeheartedly support this
This is because JSL $7F8000 is executed before processing the OAM to be displayed on the screen, check this code:
Edit: Got it. Just didn't have to update the oamIndex address, convert all other 4 digit addresses to be SA-1 compatible. I know it says not to but it's in the same number range as other addresses that need to be converted to work with SA-1 so I just figured...
But yeah, works great now!