By M-Tee:
Energy Bar
4 separate bars, each with a fidelity of 3. (So, energy max points of 12).
I can do this with 6 sprites. (3 in pink, and 3 in white for some transitional animations, similar to what I pitched for 5-star’s)
At first, I was thinking we could do a solid 30-point bar, with 1-pixel fidelity and display the value by altering the H-position of the rightmost visible sprite. (with a masking sprite on the left when displaying a count less than 8)
But, I think having the 4 separate bars is easier for a player to see and know exactly how much they have left to make the decision of whether to charge or not, or how soon to prioritize getting fruit, whatever.
Anyway, with a max of 12 points, I’m thinking…
We start the player with 9.
Fruit adds 3 points.
Charging costs 1 point.
Getting hit by Miroh costs 3
I’m not sure about decay rate (fairly slow to encourage charging though).
----
I'm thinking every change of the energy bar should use the following transition (the same flashing animation I had said we'd use often for 5-Star)
Current State
(action occurs)
Next State (4 frames)
Prior State (4 frames)
Next State (4 frames)
Prior State (4 frames)
-----
Next State
So in this animation, the player charges (-3). Then picks up a fruit (+3). Then decays thrice (-1), (-1), (-1), then picks up another fruit (+3). Each transition, even the decay, I think should use this animation, to draw the player's eye to it when it's happening.
...However, with the decay, I think the flashing should precede the decay (like a warning). That way, if the player picks up a fruit while the decay animation is occurring, the increase from the fruit is more impactful (for example, as the energy bar is decreasing from 6 to 5 points, picking up fruit would increase to 9 because the energy bar hasn't yet decreased to 5 until that 16-frame transition animation has completed).
Energy Bar sprites should use TileIDs $31, $32, or $33 for 1, 2, or 3 points respectively, should use subpal 0 (the same as the player). and should be lined up to the nametable grid, 8px apart from each other.
Also, by having the energy bar segmented like this, we could still bring in some kind of multiplier/effect on score from it if we so wanted to.