How do I clip fish coming out of water?

Get help using Construct 2

Post » Tue Sep 24, 2013 4:41 am

Hi,

I've got a nice water graphic, with the wave effect applied.

I'd like to have fish jumping out. For this to look good, they'd need to look like they were coming out from behind the water that's between them and the viewer - in other words the image would need to be clipped by the waves.

If I create another wave graphic, then they could only come out of that one horizontal point.

How do I make fish look like they're coming out of the water?

In other words, from this graphic:


I want to do this (notice the clipping on the lower part):
B
3
Posts: 5
Reputation: 187

Post » Tue Sep 24, 2013 7:54 am

Easiest way would be to use three layers, with two images for the waves: one in the foreground and one in the background. Place the fish on a layer between the two waves.
B
57
S
15
G
11
Posts: 912
Reputation: 12,606

Post » Tue Sep 24, 2013 9:54 am

You can try blend modes too: https://www.scirra.com/manual/146/effects

I used the source out (or destination out I don't remember) to make the illusion of a character going through a door, with a empty sprite filled with color.
B
12
S
5
G
2
Posts: 132
Reputation: 2,627

Post » Mon Sep 30, 2013 12:36 am

I've looked through the blend modes and don't see how they can be made to clip an object.

In the end, it is/was easier to split the graphics up and have them inhabit different Z-layers. But, that limits where the fish can come out of the water.
B
3
Posts: 5
Reputation: 187


Return to How do I....?

Who is online

Users browsing this forum: Armench, beohs, brunopalermo, farsen and 17 guests