Home Report an Issue /docs/custom-health-icons/

Modding Guide: Custom Health Icons

Basic Health Icons

To create a basic health icon for your mod, perform the following steps.

This image is expected to be a 2-icon spritesheet, of size 300x150, like what Kade Engine uses.

Advanced Health Icons

You may be wondering why an entire page was necessary for two sentences, here’s why.

With a little extra work, and no extra code, you can create and implement animated health icons. This is more elaborate than even the implementation in Entity Origins: Breakout (the first mod I’ve seen use animated icons).

Here are the steps to create an animated health icon.

For example, you can have your character’s health icon play a normal animation, then play an animation of the character becoming angry, then play an angry animation until the player’s health drops back down again.

See the flow graph below:

[INSERT IMAGE HERE]