I cannot for the life of me figure this out.

Get help using Construct 2

Post » Sun Oct 13, 2013 3:16 am

I have been looking at this for almost 2 hours. Nothing I do can fix it. Please, please, help. So you can swipe the cars to make them faster. Tap them to stop them. Tap them again to make them go. But for some reason, when you tap cars coming up or down to make them start again they turn right or left. I have NO IDEA what is causing this. This is absolutely infuriating me. If someone can figure it out I will love you forever.

Here's the capx. Oh and my uploads to dropbox give me a black screen. Wonderfull.

By downloading this, you are agreeing you use it for your own works without asking.

the capx
B
71
S
24
G
11
Posts: 452
Reputation: 12,343

Post » Sun Oct 13, 2013 5:01 am

I can't open the capx because I'm on my phone, but are you using the bullet behavior?
If you are the save the angle of motion of the cars to an instance variable before you stop it and set it again from the variable when you start it.

I think a search for "bullet behavior" and "moving right" may lead to the topics on why this happens.
B
92
S
32
G
106
Posts: 5,272
Reputation: 69,455

Post » Sun Oct 13, 2013 5:57 am

agree wut?
B
12
S
3
G
1
Posts: 347
Reputation: 2,866

Post » Sun Oct 13, 2013 6:41 am

[QUOTE=R0J0hound] I can't open the capx because I'm on my phone, but are you using the bullet behavior?
If you are the save the angle of motion of the cars to an instance variable before you stop it and set it again from the variable when you start it.

I think a search for "bullet behavior" and "moving right" may lead to the topics on why this happens.[/QUOTE]

I am and I have tried that solution but it's having almost no affect for me as it affect wrong instance or I can't identify the part at which it happens...
B
71
S
24
G
11
Posts: 452
Reputation: 12,343

Post » Sun Oct 13, 2013 5:23 pm

Make sure you set the angleofmotion after setting the speed.

Or you can disable the bullet behavior instead of setting speed to 0 and re-enable it when you touch the car again.

I can't open the capx since it uses swing plugin.
B
55
S
29
G
19
Posts: 1,520
Reputation: 25,650


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 7 guests