A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Help, Random Leaf Blowing-- See Attachment

Threaded View

  1. #1
    Senior Member
    Join Date
    May 2003
    Posts
    160

    Help, Random Leaf Blowing-- See Attachment

    i am pulling my hair out trying to figure this out:

    i got my leaf to move on a sine wave and have the alpha fade out when it's x position reaches a certain point.

    i got the leaf to duplicate as well, but..

    what else i want to happen is this:

    -----

    when leaf _x position=(say 350)
    duplicate leaf
    randomize leaf starting x position
    randomize leaf starting y position
    randomize the sine wave length
    randomize the sine wave height
    randomize leaf speed
    end

    basically i want to get the effect of leaves blowing off a tree, while having each leaf be different than the other.

    i have attached my quick and dirty prototype, any help would be appriciated, this is driving me nutts
    Attached Files Attached Files

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