# How to create tiretracks?

**URL:** <https://forum.kirupa.com/t/how-to-create-tiretracks/45357>\
**Category:** Uncategorized\
**Created:** [March 13, 2004, 5:21pm UTC](https://forum.kirupa.com/t/how-to-create-tiretracks/45357 "2004-03-13T17:21:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![HausMaus](https://avatars.discourse-cdn.com/v4/letter/h/67e7ee/32.png) [@HausMaus](https://forum.kirupa.com/u/HausMaus)\
**Post date:** [March 13, 2004, 5:21pm UTC](https://forum.kirupa.com/t/how-to-create-tiretracks/45357/1 "2004-03-13T17:21:38Z")

</div>

:h: I cannot seem to find a decent way to create tiretracks. For instance, to be used on a sandy or snowy ground.  
(You know, appearing, fading, new ones appearing, etc.).  
Does anyone know how to create these in a simple, but effective way? Please help me out, thanks.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 13, 2004, 6:36pm UTC](https://forum.kirupa.com/t/how-to-create-tiretracks/45357/2 "2004-03-13T18:36:12Z")

</div>

well you could make a function that attaches a moviecilp that then makes its self fade away over time.  
example time!  
[AS]  
//// example  
MakenFadeTracks = function(x,y,lifetime,layer){  
mc = attachMovie(“yourmc”,“mc”+layer,layer,{\_x:x , \_y:y , decay: 100/lifetime});  
return mc  
mc.onEnterFrame = function(){  
this.\_alpha-=this.decay;  
if(this.\_alpha\<=0)this.removeMovieClip();  
}  
}  
[/AS]  
hope this was simple enough you could also make it so the angle of the tracks is equall to the angle of the car.(or whatever).  
heh lol forgot to show you how to use this.  
[AS]  
/// this uses the MakenFade tracks function.  
onEnterFrame = function(){  
// car movent and such  
tracks = MakenFadeTracks(/_x you want it on_/ car.x,/\* y you want the tracks on\*/ car.y,/_lifetime in frames_/ 10 , /_layer you want it on_/ j++);  
}  
[/AS]
