Make sprite follow track path & switch lanes

Get help using Construct 2

Post » Tue Dec 06, 2016 5:37 pm

Hi,

I've been searching the forum but haven't found what i'm looking for so i hope someone can help me out.

I've got a sprite and i want it to follow around a track and have to option to switch between lanes by tapping.

Like this -
Image

What i'm looking for is the sprite (redball) to follow along the path and when you tap, it switches between the inside and outside. I also am looking for it to get gradually faster as time goes.

I've tried doing this by giving the sprite the car behaviour and have it steer when i reach a turn by using a marker to tell the sprite to turn. Unfortunately i couldn't get it to work properly as i found that it requires a lot of tinkering and even then, it's not perfect.

I would appriciate any help on this please.
B
5
S
2
Posts: 116
Reputation: 867

Post » Tue Dec 06, 2016 10:27 pm

B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Wed Dec 07, 2016 2:48 am

ImageImage
B
111
S
51
G
24
Posts: 786
Reputation: 23,392

Post » Wed Dec 07, 2016 3:55 pm

@99Instances2Go @alextro

Thanks for the examples, appriciate it.
B
5
S
2
Posts: 116
Reputation: 867

Post » Fri Jan 06, 2017 5:37 pm

helpful example, how to make the car follow the track spin to left on circle?
B
15
S
6
G
3
Posts: 13
Reputation: 2,674

Post » Thu May 04, 2017 2:56 pm

@alextro

With regards to your example, if i wanted the car to go the opposite direction by pressing SPACE, how would i do that? I tried but couldn't get it to work perfectly, i was hoping you could help.

Thanks
B
5
S
2
Posts: 126
Reputation: 876

Post » Sat May 06, 2017 7:32 am

@tomhaiger
Do you have my example? Or probably example from 99Instances2Go?
ImageImage
B
111
S
51
G
24
Posts: 786
Reputation: 23,392

Post » Mon May 08, 2017 7:10 pm

@alextro

I used your example, I downloaded it a while back but hadn't got round to using it till lately.
B
5
S
2
Posts: 126
Reputation: 876


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 6 guests