How do I X-Ray System

Get help using Construct 2

Post » Tue Jul 11, 2017 7:07 pm

I slightly modified @99Instances2Go 's example to show how to handle animations and the Inverse effect:
https://1drv.ms/u/s!AnY-pqlx8I0coqcPw5b3Db8uftp8CA

Basically, since you have 2 sprites, one with the Inverse effect and the other one that works as the base, you have to make certain that both sprites have the same animations, with the same frames, so they are synchronized.

You also have to be careful to mirror, or modify, both sprites at the same time to keep the illusion in place.
B
57
S
11
G
3
Posts: 35
Reputation: 7,963

Post » Tue Jul 11, 2017 10:59 pm

@hielo777

Did you know that you can make a exact copy this way ?
Including position, mirror, angle, size, even calculated paths ... etc ...
https://www.dropbox.com/s/k36bpemu9j891 ... .capx?dl=0
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Mon Jul 17, 2017 11:16 pm

@99Instances2Go

Actually I did not know you could do that. Quite helpful. I wonder if it could affect performance if you did that with many sprites since it is setting the Xray sprite via JSon every tick.

Quite ingenuous solution. I may try it for one of my games.
B
57
S
11
G
3
Posts: 35
Reputation: 7,963

Post » Wed Jul 19, 2017 5:39 pm

willmonteirofx wrote:This effect! Exatly this!

Here's what I came up with last night after reading your post and this is close as I can get. Not sure if this is what you're looking for but check out my tutorial below.

X-ray vision

https://youtu.be/_acA0EHkX-U

Image
B
17
S
4
Posts: 86
Reputation: 1,211

Post » Wed Jul 19, 2017 5:41 pm

conker23 wrote:It's a great question as I was wondering the same lately ^^ I'll need it as well very soon.

Here's for you also to look at. See if this is what you need. I made this last night.

https://youtu.be/_acA0EHkX-U

I think it could be made with blends effects but frankly I don't know how. But check blends effects ;)
B
17
S
4
Posts: 86
Reputation: 1,211

Previous

Return to How do I....?

Who is online

Users browsing this forum: littlesaigon2 and 8 guests