dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Making a moving road in Flash

  1. #1
    Junior Member
    Join Date
    Feb 2010
    Posts
    27

    Making a moving road in Flash

    Hi,


    I want to make a road in flash. You got a road with white stripes on it but it aint moving. I want the stripes to come at you to make it like you are driving the road.... Its not a straigt road but diagonal and dissapearing at the eind of the horizon... Does someone know how I can make this like it is real? It has to loop over and over again...



    Tnx



    Geert

  2. #2
    Senior Member
    Join Date
    Jul 2008
    Posts
    391
    If the road is going to twist and turn then ignore what I'm gonna say.

    I don't know what you mean by not straight but diagonal, will the driver still be driving straight? If so then you could have a MovieClip and draw the road, then on a different layer draw the white stripes and animate them to move for like one or two seconds. Make sure you animate the stripes such that the first frame is almost or exactly the same as the last frame so when it loops it'll look seamless.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center