How do I reduce the energy bar?

Get help using Construct 2

Post » Mon Sep 11, 2017 7:36 pm

hi here its one of my graphics for the game im working on, with construct 2, how can i reduce the size of the energy bars, without deforming the right curved edge for the boss and the player?

https://s26.postimg.org/qp61aygh3/BLAKA_V04b.jpg

Image


here others graphics :D

https://s26.postimg.org/e1lokpc6f/BLAKA_V01.jpg

https://s26.postimg.org/uqn4gm8rr/BLAKA_V02.jpg


thanks
B
39
S
16
G
7
Posts: 1,727
Reputation: 9,865

Post » Tue Sep 12, 2017 1:44 am

You can put a black sprite with a rounded notch on top of your energy bar and set blend mode "Destination out".
Both the bar and black sprite should be on a separate layer I think.
Image


Or if your energy bar reduces in large decrements (say -10% every hit), you can just prepare 10 frames.

Nice graphics by the way!
Check out my awesome game Doptrix
B
17
S
9
G
50
Posts: 829
Reputation: 27,967

Post » Tue Sep 12, 2017 7:31 am

Message: tostasifone can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
For my bar, I've used this simple method ( https://www.scirra.com/tutorials/447/health-bar ).

But I don't know if it will deforming the right curved edge.
B
9
Posts: 11
Reputation: 351

Post » Tue Sep 12, 2017 8:45 am

yes it will deform the curved edge :s
B
39
S
16
G
7
Posts: 1,727
Reputation: 9,865

Post » Tue Sep 12, 2017 9:05 am

Message: tostasifone can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
Then sorry, but I don't know how to do it.

Maybe you can help me here ( how-do-i-store-data-in-local_t195887 )
B
9
Posts: 11
Reputation: 351

Post » Tue Sep 12, 2017 11:22 am

Hey @imothep85!

You could try a mask. Check the capx below.

https://www.dropbox.com/s/n2sf9qwgg9q0l ... .capx?dl=0

Hope it helps! Cheers!
Bruno

I like to eat, but I'm no cook. Why liking to play games would make you a game designer?
B
20
S
6
G
3
Posts: 624
Reputation: 3,750


Return to How do I....?

Who is online

Users browsing this forum: blackhornet and 24 guests