answersLogoWhite

0

Create an object without a Sprite and add a draw event. then add a draw health action (in score tab) and add the coordinates and colors you desire. (x1,y1) is the top left corner and (x2,y2) is the bottom right corner.

example: (x1:16, y1:16; x2:160, y2:32) will add a 16hx160w health bar near the top left corner. And you can mess around with it to put it anywhere on the screen and make it any size you want. but it will always be a rectangle using the top left corner (x1,y1) and the right bottom corner (x2,y2).

Then go to the object you want to put the health on and add a collision event with the object that will affect its health and add a set score action (score tab) to it and add the amount of health you want to add or loose for that object when it collides with a bullet etc.

example: for an enemy to loose 5/100 of its health when hit by a bullet add a collision event with a bullet to the enemy object and add a set score action (score tab) and put -5 (Relative) in the window

or a collision event with your character and a power up. put +10 or whatever in the collision on it.

User Avatar

Wiki User

11y ago

What else can I help you with?

Related Questions

How do you make a health bar in game maker?

How DON'T you make a health bar in Game Maker.


How do you make a health bar on game maker 7?

go here http://www.youtube.com/watch?v=S0iG_7tWPKg


How do you make a health bar on game maker?

Create a new object with no sprite. Add draw event and go to score tab. Drag 'N Drop 'Draw Health Bar' to the actions column. X2=Desired Height, Y1=0, Y2=Desired 'full' length,y.


How do you create rooms in Game Maker and set the order of them?

You put "create room" in the top bar. Then, you make some objective that makes it to go to the next room or simply put a key to make it


How do you make a health bar on a 3D game on game maker?

draw_set_color(c_black);d3d_set_projection_ortho(0,0,640,480,0);d3d_set_hidden(false);draw_healthbar(x+10, y+10, x+110, y+20, amount, c_black, c_lime, c_red, 0, true, true);draw_sprite(spr_coins,0,x+10,y+42);d3d_set_hidden(true);try this men


How do you make your scroll bar from going up and down while playing a game?

click where the game is then play


How do you make a free movie?

click on the start button on the home page. then type in the search bar movie maker. Then create your own movie for free.


How do you make a ice cream sandwich on club penguin?

1. Chocolate Bar 2. Cookies 3. Ice Cream Cone In the Sandwich Maker


Who is the maker of vel soap?

On the bar I have it says it was made by Colgate Palmolive.


How do you make car Johnson in gta san Andreas health bar full in ps2?

eat or drink


How do you get a longer health bar in Devil May Cry 3 the game?

Buying blue orbs or collecting blue orb fragments.


How much does an Ez bar weigh?

Depends on the maker of the bar. In general, gyms seem to have 45 lb barbells and EZ-bars