Alright so its not really a sprite, not really datachanging or HEX so please move this since I couldn't figure out where to put it.
Most people who have messed around with gaining HP sometimes have come across this annoying bug where the red bar will go over the lifebar or disappear completely.
![[Image: 41236765.png]](http://img220.imageshack.us/img220/3010/41236765.png)
But by using a neat trick you can use this bug to give your game an entire new feature. I stuck a little heart at the end of the lifebar, which fills up when you collect food. The food are just "injury: -xx" which will knock your health bar up, any other moves that allow you to gain HP or whatever can use this feature.
![[Image: 49245036.png]](http://img837.imageshack.us/img837/9936/49245036.png)
![[Image: 83325229.png]](http://img18.imageshack.us/img18/1527/83325229.png)
And if you collect enough food you can gain a yellow heart.
![[Image: 15889387.png]](http://img207.imageshack.us/img207/5552/15889387.png)
Which is the same as this bug but cleaned up
![[Image: 45727229.png]](http://img29.imageshack.us/img29/1750/45727229.png)
Not much of a "tutorial" really I know but there isn't much to explain. Its mostly just a cheap trick to work around a bug. Here are the templates, feel free to use
FRAME
![[Image: 73588122.png]](http://img638.imageshack.us/img638/3696/73588122.png)
BAR
![[Image: 54078874.png]](http://img263.imageshack.us/img263/3051/54078874.png)
Theoretically you can also use this for the MP bar too but I haven't come across that happening to me yet.
*edit*
I'll make a tutorial later maybe but another trick to use this is to combine it with moves that will take up certain amounts of HP. You can work around it so that some moves will take up 600 HP, or in other words a full health bar with one heart, in order for the move to work. etc.
Most people who have messed around with gaining HP sometimes have come across this annoying bug where the red bar will go over the lifebar or disappear completely.
![[Image: 41236765.png]](http://img220.imageshack.us/img220/3010/41236765.png)
But by using a neat trick you can use this bug to give your game an entire new feature. I stuck a little heart at the end of the lifebar, which fills up when you collect food. The food are just "injury: -xx" which will knock your health bar up, any other moves that allow you to gain HP or whatever can use this feature.
![[Image: 49245036.png]](http://img837.imageshack.us/img837/9936/49245036.png)
![[Image: 83325229.png]](http://img18.imageshack.us/img18/1527/83325229.png)
And if you collect enough food you can gain a yellow heart.
![[Image: 15889387.png]](http://img207.imageshack.us/img207/5552/15889387.png)
Which is the same as this bug but cleaned up
![[Image: 45727229.png]](http://img29.imageshack.us/img29/1750/45727229.png)
Not much of a "tutorial" really I know but there isn't much to explain. Its mostly just a cheap trick to work around a bug. Here are the templates, feel free to use
FRAME
![[Image: 73588122.png]](http://img638.imageshack.us/img638/3696/73588122.png)
BAR
![[Image: 54078874.png]](http://img263.imageshack.us/img263/3051/54078874.png)
Theoretically you can also use this for the MP bar too but I haven't come across that happening to me yet.
*edit*
I'll make a tutorial later maybe but another trick to use this is to combine it with moves that will take up certain amounts of HP. You can work around it so that some moves will take up 600 HP, or in other words a full health bar with one heart, in order for the move to work. etc.