A perfect script to create fully customizable bar in your game. The asset contains an example for the creation of a bar of life and experience. There will also be provided magnificent sprite that you can free to use in your projects (gui bar, red bar, green bar)!
Version 1.0.0. Published July 6, 2014
Created with GameMaker: Studio v1.99.170
You can only review assets you've bought.
Cool but needs to be done as GUI
The bar works really good but if you draw other objects it may not be on top. A simple solution is to change it to the draw GUI event.
Not terribly flexible
Looked though the code to see how its done. Both bars are drawn by the same script call so customizing would require editing the script. The bar also is sized based on the size of the sprite rather than using a tile method to repeat a shorter/smaller sprite across an arbitrary bar length. A decent starting point, but not a drop-in solution fit for any project.
Thanks for the asset!
The only issue I have is that I cannot figure out how to add a third bar to the darned thing!! It works just great as is, though!! Now to figure out a mana bar.....
Total size 3.85 KB