How do I use sprites for a lives indicator

Get help using Construct 2

Post » Tue Mar 24, 2015 3:51 am

Hi,
Just like it said, how do I make a lives indicator with 3 sprites I want to use?
I am very new at this. Most of the stuff I found that I needed to do but not this one.

Thanks
Tom
B
3
Posts: 7
Reputation: 194

Post » Tue Mar 24, 2015 8:33 am

Why not have a simple 3 frame animation. One frame showing 3 lives one showing 2 and one showing 1 life. Then if you lose a life just set the correct frame.
B
46
S
16
G
9
Posts: 1,096
Reputation: 11,153

Post » Tue Mar 24, 2015 3:16 pm

Thanks For the Reply.
The only problem i have is that I am not any good at making .png files. Do you know any easy editors for doing this?


Thanks

Tom
B
3
Posts: 7
Reputation: 194

Post » Tue Mar 24, 2015 6:26 pm

http://www.piskelapp.com
You could try this online editor, if you want to create something simple.
Visual Novel 'Engine' in 100 Events
if you ever have to choose between buying Construct 2 on scirra.com or on Steam, read this: Review
B
20
S
9
G
1
Posts: 786
Reputation: 3,729

Post » Tue Mar 24, 2015 7:39 pm

If you plan on having your indicator on a single line or column, a tiled background would do the trick. Simply adjust its width or height accordingly.
B
54
S
21
G
20
Posts: 871
Reputation: 15,450

Post » Wed Mar 25, 2015 12:01 am

I Am Going nutz here. I have a 3 frame animation but can not get the right event so when the I loose a live it go to the frame I need.. I get it to work from 3 lives to 2 lives but I cant seem to get it to 1 live..

I am stumped!!!

any help would be great..

Tom
B
3
Posts: 7
Reputation: 194

Post » Wed Mar 25, 2015 12:25 am

Frames are 0 base indexed. 0,1,2
So go to frame(lives-1)
Or similar should display proper frame.

Assuming lives are 1,2 and 3 etc
B
27
S
8
G
1
Posts: 226
Reputation: 2,835

Post » Wed Mar 25, 2015 1:10 am

So What you are saying is, make 3 live left frame 3, 2 lives frame 2 and so on?


Tom
B
3
Posts: 7
Reputation: 194

Post » Wed Mar 25, 2015 11:21 pm

Got It done ..

Thanks
Tom
B
3
Posts: 7
Reputation: 194


Return to How do I....?

Who is online

Users browsing this forum: 20170217 and 0 guests