How should I make the tire mark in racing game?

Get help using Construct 2

Post » Sun Mar 17, 2013 2:37 am

Hi all,

I'm trying to make the tire mark on the road when the car is steering, but I'm clueless. Any suggestions?

Thanks!
B
12
S
4
G
1
Posts: 104
Reputation: 1,512

Post » Sun Mar 17, 2013 4:56 am

Spawn small sprites at the position and angle of your tires on a regular basis.
This should give the illusion of tires trails.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 7,000
Reputation: 57,795

Post » Sun Mar 17, 2013 8:26 am

@kyatric: Thanks a lot! Haven't thought of that! :D Not sure if it is good for mobile though. What do you think?
B
12
S
4
G
1
Posts: 104
Reputation: 1,512

Post » Sun Mar 17, 2013 9:55 am

Well, test it to make sure, but yes, try to keep it limited (not spawning new sprites every tick).

You might "cheat" and try to spawn a sprite and modify its width/height during the game, and spawn "bigger" trails according to specific angles.

The idea is to give the illusion there is a trail, it's strictly visual.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 7,000
Reputation: 57,795


Return to How do I....?

Who is online

Users browsing this forum: GSquadron, Yahoo [Bot] and 28 guests