How do I...make a GRADIENT "fancy lifebar" ?

Get help using Construct 2

Post » Fri Jan 11, 2013 3:42 pm

I've read the post about "fancy lifebar" and it's working very well with one color bar or vertical gradient bar (as seen in the post: cyan on top and dark cyan on bottom), but what about an horizontal gradient like Street Fighter bar? (red on the left and yellow on the right)

Using hints in that post, the bar resize itself and so the gradient, because I'm using a sprite already with the gradient (done in paint shop pro).

Last but not least, the bottom layer of the bar is a transparent grid as in the "fancy lifebar" post.

Anyone has an idea about this? My head is blowin' :D
B
12
S
2
Posts: 36
Reputation: 1,949

Post » Fri Jan 11, 2013 4:27 pm

It's simpler than you think. TiledBackground is your friend ;)

https://dl.dropbox.com/u/666574/peppo%20-%20health%20bar.capx
B
15
S
5
G
7
Posts: 877
Reputation: 5,650

Post » Fri Jan 11, 2013 4:55 pm

Man, I owe you one! I was thinkin' about it for 2 days. Thanks a lot! :)
B
12
S
2
Posts: 36
Reputation: 1,949

Post » Fri Jan 11, 2013 5:00 pm

Owe me one what? 1 million? Want my bank details? ;p

No problem. Glad it helped :)
B
15
S
5
G
7
Posts: 877
Reputation: 5,650


Return to How do I....?

Who is online

Users browsing this forum: Khamsou and 20 guests