How do I get the mirror effect on a liquid material?

Get help using Construct 2

Post » Sat Jul 26, 2014 12:13 pm

I have been searching for some kind of help, but I wasn't able.
I have seen some games made in Construct which uses this effect. It seems it's not neccesary using any third party plugin. But I don't know how.

I mean, some kind of character is walking and jumping over a portion of earth at the beach, and all his movements are reflected on the water. All the actions that happen in the world are reflected on the liquid under it.

Some light throw, please?
Thank you, constructers.
;)
B
25
S
3
G
1
Posts: 53
Reputation: 1,417

Post » Sat Jul 26, 2014 12:30 pm

Couldn't you just a use a vertically mirrored version of the sprite?
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Sat Jul 26, 2014 12:37 pm

In the thread you responded to, for the reflection she uses the canvas plugin..
Copying all sprites that need to be reflected to the canvas and then flipping it vertically..

Right now if you'd like a similar thing, using the paster plugin by Rojohound would probably be a better alternative, because in cases like this it is faster..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Sat Jul 26, 2014 12:40 pm

Meanwhile, I'll take a look for the R0j0hound plugin.
I'll post my impressions about it.
Thanks LittleStain.
B
25
S
3
G
1
Posts: 53
Reputation: 1,417

Post » Sat Jul 26, 2014 12:41 pm

No, LittleStain. It take so much costs with all the elements in the visible world. Every enemy, every event, explosion, flying bird, etc, should take its own procedure in the internal code. Maybe Christina's post was a good solution, but I have no idea, because the capx are not available yet.
Last edited by thegodo on Sun Jul 27, 2014 1:21 pm, edited 1 time in total.
B
25
S
3
G
1
Posts: 53
Reputation: 1,417

Post » Sat Jul 26, 2014 12:48 pm

Maybe there a WebGl effect will do this.
B
60
S
10
G
10
Posts: 1,013
Reputation: 9,155

Post » Sun Jul 27, 2014 11:45 am

The paster plugin from R0j0hound is amazing, as usually, but it doesn't achieve the desired effect, or I cannot get it. One of the last posted "screenshots of you're worinkg on" (attached image) , shows this mirroring in the water, making possible (I supposed it) that every movement is been inverted on a logical way, for example, avoiding obstacles like in the real world the character would have done.
You do not have the required permissions to view the files attached to this post.
Last edited by thegodo on Sun Jul 27, 2014 1:08 pm, edited 1 time in total.
B
25
S
3
G
1
Posts: 53
Reputation: 1,417

Post » Sun Jul 27, 2014 12:28 pm

The paster object doesn't achieve the desired effect, or you can't achieve the desired effect with it?

I tried and it wasn't a problem, actually..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Sun Jul 27, 2014 1:07 pm

LittleStain wrote:The paster object doesn't achieve the desired effect, or you can't achieve the desired effect with it?

I tried and it wasn't a problem, actually..


Yes, LittleStain. Maybe, the true is the second option "I can't".
Could you help with that please?
Some instructions about it? I mean, It's a question about complex code, or this effect can be achieved with only settings in the paster plugin?
B
25
S
3
G
1
Posts: 53
Reputation: 1,417

Post » Sun Jul 27, 2014 1:47 pm

It's not that complex,
you paste the sprites you want to mirror into the paster object and after that flip it..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Next

Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, cb130felix, duditon, Kermad, Lancifer and 8 guests