wrong way spries

Get help using Construct 2

Post » Tue Mar 13, 2012 5:47 pm

hello all.

i am still working on my freeway clone and i have got alot of help here and i thank everybody.

i am still haveing one little issue. the background is set up like a five lane highway. 5 lanes on bottom and five on top. the cars on the bottom come in and travel from the left. i want the top 5 lanes to come in from the right. so the bottom starts left and travels right, i want the top to start right but travel left, but i cant seem to find how to do that. i have changed angles, and that makes the cars travel in the direction i want but it turns the car sprite upside down. i would appreciate any help.
thank you all.

bj
B
2
Posts: 8
Reputation: 441

Post » Tue Mar 13, 2012 6:16 pm

You can use the "Set flipped" and "Set mirrored" actions to flip or mirror frames.
B
27
S
8
G
8
Posts: 903
Reputation: 8,452

Post » Wed Mar 14, 2012 11:36 am

one way to do it would be to create 2 temp variables on the cars

And have the animation flip when variable A>B or not flip when B<A

You will need to set an event like every tick:variable A=car.x, wait like 0.5sec and b=car.x

This should work....
B
28
S
2
Posts: 69
Reputation: 1,491

Post » Wed Mar 14, 2012 1:31 pm

Are you using the "bullet" behaviour for the movement?
B
42
S
19
G
12
Posts: 723
Reputation: 13,911


Return to How do I....?

Who is online

Users browsing this forum: TELLES0808, Yahoo [Bot] and 21 guests