Health bar problem

Get help using Construct 2

Post » Mon Nov 12, 2012 1:58 am

Hi,
I followed the tutorial to make the life bar for the hero but i got a problem.
http://www.scirra.com/tutorials/182/making-a-fancy-lifebar

I set my hero life and maxlife variable to 100


But when i set the hero's life to 10 it become like this, i dont know why


Can anyone help me solve it and explain why, please?

Thanks
B
3
Posts: 5
Reputation: 485

Post » Mon Nov 12, 2012 5:42 pm

Looks like you centered the origin point of the health bar sprite. Place the origin to the left edge for this to work correctly.
B
21
S
6
G
10
Posts: 1,024
Reputation: 7,445

Post » Tue Nov 13, 2012 2:15 am

thanks, i will try it out.
B
3
Posts: 5
Reputation: 485


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 30 guests