Trail

Get help using Construct 2

Post » Thu Dec 20, 2012 4:18 pm

Ok. It has been a while since I have been able to work on anything game related because I am a SENIOR now! 1 year to go and I will be a hard working, money earning member of society!

I am trying to get a sprite that moves around but leaves a trail that is permanent until recalled. Think of it as a plumber snake. You send it down a hold and then you roll it back up the same path.

How would I go about this? Has anyone ventured in to this area?
B
12
S
1
G
1
Posts: 50
Reputation: 1,228

Post » Thu Dec 20, 2012 5:20 pm

Just a thought. You could try the new Pin options. One of them is a rope behaviour. There is an example template in the newer C2 versions.
B
87
S
18
G
9
Posts: 2,455
Reputation: 14,834

Post » Thu Dec 20, 2012 6:03 pm

Is it simple shape or an animated character?

I've produced a great trail effect in the past by having a duplicate image with the fade behaviour spawn every half a second or so at my player object's position (With the conditional of movement), the only hiccup being you have to get creative with layers as the z-order is messed up with the spawned objects.

EDIT// Just read you want it permanent, you could keep the fade but have the conditional for fade start as a key release or boolean flag?Mr E Bear2012-12-20 18:05:30
B
49
S
14
G
3
Posts: 540
Reputation: 5,611

Post » Thu Dec 20, 2012 7:30 pm

First of all thank you. But what I am trying to accomplish is a little different.

The plumber sends the "snake" down the hole to unclog the drain. As the "TIP" of the plumber snake goes down the hold it leaves behind a trail of snake wire , since it is connected to the PLUMBER above ground.

In addition just to be MORE difficult, the plumber eventually needs to get the snake OUT of the hole.

B
12
S
1
G
1
Posts: 50
Reputation: 1,228

Post » Thu Dec 20, 2012 7:38 pm

you could do that with an animation.And when the plumber decides to retrieve the snake you just reverse the animation.
B
22
S
3
G
6
Posts: 1,356
Reputation: 7,141

Post » Thu Dec 20, 2012 7:54 pm

What it if the hold turns left, right, up down, etc? Like an underground sewer maze?
B
12
S
1
G
1
Posts: 50
Reputation: 1,228


Return to How do I....?

Who is online

Users browsing this forum: R0J0hound, SpartCrafter, Yahoo [Bot] and 24 guests