Teleportation

Get help using Construct 2

Post » Fri Aug 14, 2015 11:37 am

I want to set a teleportation system wich work between 2 instances of the same objects (when the player collide "sprite1", he's moved to an other "sprite1" instance position)

I tried many things with variables, instances variables and others ways but this take at least 10 events all time I try to do it. I guess there is a way to do it simplier, but I haven't the required skill.

Any idea?
B
7
S
1
Posts: 64
Reputation: 585

Post » Sat Aug 15, 2015 10:00 am

You could try something like this:

Image


Capx
B
15
S
6
Posts: 105
Reputation: 1,356

Post » Sat Aug 15, 2015 2:47 pm

so efficient...

Thank you very much!

I have a question :

Why do you use "pick all" AND "pick by evaluating" on the same event? Is "pick by evaluating" not enough?
B
7
S
1
Posts: 64
Reputation: 585

Post » Sat Aug 15, 2015 4:45 pm

The condition on the first line ("Is overlapping sPod") just select the sPod the sPlayer is overlapping, so the destination sPod is not 'available' for the "pick by evaluating".
B
15
S
6
Posts: 105
Reputation: 1,356

Post » Sun Aug 16, 2015 9:03 am

Definitely a good tip for me :)

than you again
B
7
S
1
Posts: 64
Reputation: 585


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 22 guests