player-health-bar

Creating a Player Health Bar in GameMaker Studio 2

Tutorial 13: Creating a Player Healthbar In this tutorial we will learn how to create a player health bar by setting up a variable for the player health. The number assigned to this variable are the number of frames on the GIF. This tutorial could be replicated for lives. Create a Health Bar Sprite Create a new sprite called sprHealthBar and import sprHealthBar.gif  below. (right click and save this image to your computer) Setup Health for your Player object In the Create event of your player object you will need a variable to track the players health. Set the variable

******************************************

The remainder of this content is restricted to site members.
It is free to join.
New users please register below.
If you are an existing user, please log in.

Existing Users Log In
   
New User Registration
*Required field

Similar Posts