How do I make or where is the filled sprite function?

Get help using Construct 2

Post » Fri Dec 18, 2015 1:32 am

Message: LordViperion can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
Filled: The image is displayed as with the Simple method but can also be made to “grow” gradually from an empty image to a completely filled one (see below).

I need this functions:
radial fill, vertical fill, horizontal fill.

If you do not know what I want , then check this out :
http://docs.unity3d.com/Manual/script-Image.html
B
14
S
2
Posts: 66
Reputation: 776

Post » Fri Dec 18, 2015 2:07 am

I would probably do this by way of animation. Create each frame with how much you want the image filled and then play it as some kind of filling animation.
B
45
S
14
G
71
Posts: 1,953
Reputation: 42,236

Post » Fri Dec 18, 2015 2:52 am

this mooh technique , i dont want this.
pls another answer.
B
14
S
2
Posts: 66
Reputation: 776

Post » Fri Dec 18, 2015 7:15 am

Look at blend modes, with them you can do masks which is similar to the effect in the link. There is a blend mode example that comes with C2.

A simple how to would be:
Add a layer
Set it's property "force own texture" to true.
Add a Sprite to that layer that you want to display.
Add a second Sprite for your erase mask. Set it's blend mode to destination out.

Now the second Sprite erases from the first where they overlap.
B
91
S
31
G
98
Posts: 5,192
Reputation: 65,170


Return to How do I....?

Who is online

Users browsing this forum: COGames, Meqara and 4 guests