Diablo-style HP Globe UI

Get help using Construct 2

Post » Mon Apr 22, 2013 8:51 am

Hi Guys,

I've been searching around the forum for various masking possibility but has not yet come to find the right solution for what I want to do.

Basically, I would like to make a Globe UI element that is able to reflect a HP variable in my game, sorta like the HP globe in Diablo. Is there like a shape mask function that I can make a square sprite with a circle shape so I can just adjust the height of my square sprite to achieve the globe UI ?

Hope to know if this is already done somewhere or is it even possible in Construct 2 ?
B
4
Posts: 5
Reputation: 735

Post » Mon Apr 22, 2013 10:52 am

@kristalize

you could just create an animation with and set the frame to reflect yout HP variable.
B
46
S
16
G
9
Posts: 1,096
Reputation: 11,153

Post » Mon Apr 22, 2013 11:31 am

You didn't really search, did you? (:

heartHUD.capx
simpleHPBar.capx
reallySimpleHPBar.capx
Last edited by Yann on Sun Sep 14, 2014 7:21 pm, edited 1 time in total.
B
62
S
22
G
14
Posts: 1,481
Reputation: 16,405

Post » Mon Apr 22, 2013 3:23 pm

That last one isn't working right @Yann.

Here's one using tiled bg: link

Also @Ashley think we could get a few more hot spot settings for tiled bg?
Rotating the angle seems kind of silly.
Image Image
B
164
S
49
G
123
Posts: 7,777
Reputation: 84,008

Post » Mon Apr 22, 2013 4:49 pm

@newt

Thanks somehow the texture got renamed into hpBar.png.rename ... weird... maybe it's a bug but I wouldn't know how to reproduce it.Yann2013-04-22 16:49:44
B
62
S
22
G
14
Posts: 1,481
Reputation: 16,405

Post » Tue Apr 23, 2013 7:45 am

I was searching on methods for masking, then i found things like collision mask and some color masking plugins... guess i didn't search the correct keywords. :P

but thanks all, its been a great help !! i have never used the blending mode effects in Construct2 before.. learn something new to play around with! kristalize2013-04-23 07:50:51
B
4
Posts: 5
Reputation: 735


Return to How do I....?

Who is online

Users browsing this forum: Brashmonkey and 11 guests