Animated HUD?

Get help using Construct 2

Post » Tue Apr 02, 2013 8:21 pm

Hey, I didn't know where to put this post, so I decided to write it here. I hope no one minds if it's wrong.

Anyway, I'm wondering how to do Animated HUD bars, (hp, mana) I got no idea what program should I use and just how to do it. Here is an example:
https://www.youtube.com/watch?v=4iiZ_OqC1TM&hd=1

I would appreciate any tips, links or anything. Thanks, and sorry if my english is a little bit bad.
B
11
S
1
Posts: 76
Reputation: 1,664

Post » Tue Apr 02, 2013 8:57 pm

It would be hard to pull off with out having frames on a tiled background object. Perhaps if tiled bg had the ability to offset its texture, you could maybe do something like the plasma object did in CC.
The non webgl blend modes might even be enough.
Image Image
B
161
S
48
G
89
Posts: 7,347
Reputation: 66,249

Post » Wed Apr 03, 2013 2:51 pm

Dammit, wrong topic. You can delete this post, sorry :DMeloo2013-04-03 16:02:11
B
11
S
1
Posts: 76
Reputation: 1,664

Post » Wed Apr 03, 2013 3:43 pm

I can't speak to what program would be best to animate the bars.

As far as displaying the animations in C2, I agree with newt that it gets tricky without an option to animate tiled background. You could create different tiled backgrounds for each frame, and create your own animation system using events, but that solution is pretty ugly. Another option would be to do something like this:

Demo
Capx

I'm using a sprite for the bar's animations, and a masking sprite on top of it. Changing the width of the masking sprite makes it appear as if the animated bar is growing. It's also kind of ugly, but it may work for you.
B
44
S
13
G
7
Posts: 338
Reputation: 10,379

Post » Wed Apr 03, 2013 4:05 pm

Thank you, I will take a closer look at this demo later on, but I think that will do the job.
B
11
S
1
Posts: 76
Reputation: 1,664


Return to How do I....?

Who is online

Users browsing this forum: suicidenutella and 1 guest