A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Starfield

  1. #1
    Senior Member
    Join Date
    Jul 2000
    Posts
    127
    I want to make a starfield for a game, the script should be something like this:

    If (GetProperty ("/star", _x) > center)
    . SetProperty ("/star", _x) = (GetProperty ("/star", _x)+. (GetProperty ("/star", _x) - center
    End if

    But then you see just sprites of round stars, and I'd like to add some kind of a motion blur, the star must heve some kind of a tail.

    Does anyone know?

    Thanx,

    Sander Reuderink
    http://www.xystes.com

  2. #2
    Senior Member
    Join Date
    Aug 2000
    Posts
    263
    Yo! Xystes

    You could add a small MC to the star MC, about 10 frames
    of fading (alpha towards 0) streaks, moving towards
    center or away from center depending on which way you
    were moving the stars. Have them move slower than the star
    is moving. Have it duplicated as the star moves towards the
    center and removed when on the end frame of the new MC.

    Hope this gives you the idea you need.

    MA


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