Name: | Generic Player-Following Meter |
Author: | Fernap |
Added: | |
Tool: | PIXI |
Type: | Standard |
Dynamic: | No |
Disassembly: | No |
Includes GFX: | Yes |
Description: | This is a meter that follows Mario which can be used in a couple different scenarios. It includes one version that displays the time remaining time for the P-switch (either blue or silver). It also includes an air meter that will decrease as the player stays underwater, killing the player when it runs out. It also supports coding your own type using this as a base. Both versions have various graphical customization options, and the behavior of the air meter can be further customized. See the readme for more details. P-switch version requested by RZRider. |
Tags: | air lorom meter p-switch sa-1 |
Comments: | 4 (jump to comments) |
Rating: |
Download
11.14 KiB | 475 downloads
Comments (4)
FWIW, when I went to change the GFX page from the second to the first, changing it in the actual Uber define did nothing; I had to (also) manually change it in the actual sprite CFG file itself.
As it currently stands, the meter also acts as solid for Mario fireballs. I changed the tweaker byte to disable fireball killing, but that just prevented it from being destroyed.
(Tested on what should be a clean rom other than UberASM retry.)
to
I'm planning on updating this one of these days, hopefully just avoiding making this a sprite and drawing directly, avoiding these weird little issues.
- Lunar Magic v3.31
- SA-1 Pack v1.40
- UberASM v1.4
- BSNES v115
Personally, this is more an UberASM code than a sprite since the main code runs there while the sprite solely exists for the graphics (and I'll refer to it as an UberASM code from now on).Either way, this is a fully functional UberASM code with an alternative way to provide a generic meter (a bar meter to be precise as mentioned below).
I particularly like it how you insert the UberASM code. A library would have been better IMO (due to actually saving space) but using incsrc does reduce the code overhead for the coders a bit.
One suggestion which would be nice is to play a sound effect when the meter turns low. This is the only thing which is missing compared to the existing air meter.