Side Scrolling Health Bar

Superior Games

  • Posts: 6
Hello, I am working on a side scroller and basically I want the health bar to stay in the top left corner (where I want to make my HUD), no matter what the position of my player. Currently when I test the game it does stay in the top left corner, but does not follow me when I begin moving right. (which does make sense, because I haven't told it to move at all). I've tried a few basic things but have yet to figure it out.

Example, your score in mario is always visible in the exact same spot no matter which way you move or jump, the score stays relative to its original position.

Thanks for any help! Its appreciated!

Luyren

  • *
  • Posts: 2802
https://youtu.be/diMrZg95Oqw

This video explains all the basics of the drawing blocks, and it should give you the means to figure out what you need to do to fix it.
My Stencyl resources are available here: https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.

Superior Games

  • Posts: 6
Thanks for the help Luyren! Will be checking out more of your videos in the future!