answersLogoWhite

0


Best Answer

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.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you make a health bar on game maker?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Basic Math

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

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 windowor a collision event with your character and a power up. put +10 or whatever in the collision on it.


What is the number below the fraction bar in a fraction?

The number below the fraction bar in a fraction is the denominator. The number above the fraction bar is the numerator.


What is 5.126126126 repeating decimal using bar notation?

5.126 with a bar over the 126


Is 0.3 with a bar over it a rational number?

Yes. 0.3 with a bar over it is 1/3, which is a rational number.


How do you write the decimal 0.384333 using the bar notation?

................................................................._0.384333 using the bar notation = 0.3843(the bar should be placed above the repeated decimal. In this case, it should be above the 2nd 3 from the decimal point.

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 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


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.


Who is the maker of vel soap?

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


Where is Shadows health bar in Shadow The Hedgehog?

Shadow doesn't have a health bar, but he loses 10 rings after taking damage


What is a good protein bar recipie?

You can go to the following website to learn how to make a good protein bar http://liftforlife.com/content/bodybuilding-fitness-diet-health-articles/diet-articles/727-protein-bar