Creating my health bar

screenshot (47)
Using the program adobe illustrator and Photoshop I was able to create and import this health bar into my game using different shapes in illustrator I was able to create the health bar and using Photoshop I was able to able to import it.
screenshot (43)
This is what allowed my health in the health bar to go up when my character walked into a box.
screenshot (46)
Just like the mini map I had to put the health bar sprite in the hierarchy in order for to show up on the screen.
screenshot (45)
Here you can see that the health bar is now displayed on the screen with a small green bar inside of it the is because my character has consumed the boxes and the number has add to it’s health.

Leave a comment