How to automatically draw lines that will work as paths

Get help using Construct 2

Post » Thu Aug 13, 2015 8:44 pm

Demo
my fault
Image Image
B
22
S
13
G
129
Posts: 868
Reputation: 67,314

Post » Thu Aug 13, 2015 9:06 pm

MadSpy wrote:Demo
my fault


Kinda, but without the main object moving from position (cant use scroll-to either as it has been use on another object already). So, only solution as I see it, is to make the path moving instead. Like in my gif example, the object never change position,
Image
B
14
S
4
Posts: 145
Reputation: 1,943

Post » Thu Aug 13, 2015 9:59 pm

@janlindso
Link updated Demo
Image Image
B
22
S
13
G
129
Posts: 868
Reputation: 67,314

Post » Fri Aug 14, 2015 5:35 pm

@MadSpy
Yes, this works! Not 100% sure if it will work in my project. How did you do it? Did you use any plugins?
Image
B
14
S
4
Posts: 145
Reputation: 1,943

Post » Fri Aug 14, 2015 10:48 pm

The action is currently partially scripted... except for the part where the player chooses the path .
no plugin
Just a movement of lines according to the position and angle of the player (less than 40 events )
The player followed the lines at each intersection in the first example .
in the last version, the lines that follow the direction of the player ... I " just " reversed the process
Image Image
B
22
S
13
G
129
Posts: 868
Reputation: 67,314

Post » Fri Aug 14, 2015 11:04 pm

@MadSpy
From what I understand, your example is a drawn path, right? I need the path to be generated automatically, making it a bit more advanced. The object moves down the path, the path split into right/left (one of them is a dead end), then repeats.
Image
B
14
S
4
Posts: 145
Reputation: 1,943

Post » Fri Aug 14, 2015 11:12 pm

the procedure remains the same , I have not yet had time to look to do this automatically
Image Image
B
22
S
13
G
129
Posts: 868
Reputation: 67,314

Previous

Return to How do I....?

Who is online

Users browsing this forum: luck1210 and 3 guests