A Flash Developer Resource Site

Results 1 to 11 of 11

Thread: How did they do this???

  1. #1
    endless possibilities MadDog 555's Avatar
    Join Date
    Aug 2004
    Location
    planet earth
    Posts
    347

    How did they do this???

    how did they do this???

    http://www.saintsandsoldiers.com/

    any help would be great!

    austin

    endless possibilities

  2. #2
    Senior Member pellepiano's Avatar
    Join Date
    Feb 2000
    Location
    Stockholm, Sweden
    Posts
    15,151
    How did they do what? There are many things going on, on that page and many links to subpages.

    Without any specification on what part, effect, animation, and so on its impossible to give a answer, exept...Flash.

    -Pelle Piano
    // Image Gallery
    www.studiobild.com
    // Photo Blog
    http://talesofthepixel.blogspot.com

  3. #3
    endless possibilities MadDog 555's Avatar
    Join Date
    Aug 2004
    Location
    planet earth
    Posts
    347
    im sorry i should have been more specific.
    how do the people move at different rates as the mouses x-axis changes to make it seem as if it were three dimensional?

    thanx!
    austin
    Last edited by MadDog 555; 03-24-2005 at 08:25 PM.

    endless possibilities

  4. #4
    Member
    Join Date
    May 2004
    Posts
    71
    The person who made the site has a good background in art, or at least some knowledge of perception, foreground/background, and depth. Based on that, he just made a variety of movie clips- put them on the same frame and gave them motion accordingly. Then sized them based on their relation to the foreground of the stage.

  5. #5
    endless possibilities MadDog 555's Avatar
    Join Date
    Aug 2004
    Location
    planet earth
    Posts
    347
    and how did they make the different objects move at different rates based on the location of the mouse?

    endless possibilities

  6. #6
    Senior Member pellepiano's Avatar
    Join Date
    Feb 2000
    Location
    Stockholm, Sweden
    Posts
    15,151
    They use at least three movieclips , each with people on different dinstances ( all images has transparent backgrounds ).
    Each movieclip has as script that makes it move depending on mouse position. See script below that should be put ON the movieclips. Then having different speeds in the scripts should do the effect.

    onClipEvent (load) {
    speed= -.1;
    windowheight= 400
    }
    onClipEvent (enterFrame) {
    this._y += (_root._ymouse-windowheight/2)*speed;
    if (_y<_height*-1+windowheight) {
    _y=_height*-1+windowheight+1;
    } else if (_y>0) {
    _y=0;
    }
    }

    -Pelle Piano
    // Image Gallery
    www.studiobild.com
    // Photo Blog
    http://talesofthepixel.blogspot.com

  7. #7
    endless possibilities MadDog 555's Avatar
    Join Date
    Aug 2004
    Location
    planet earth
    Posts
    347
    ive also noticed it eases in and out when i start or stop moving the mouse. how do i mak it do that?

    thanx

    endless possibilities

  8. #8
    endless possibilities MadDog 555's Avatar
    Join Date
    Aug 2004
    Location
    planet earth
    Posts
    347
    ive tried what youve said and it didnt work. maybe its the script. whats wrong? see the .fla attached.
    Attached Files Attached Files

    endless possibilities

  9. #9

  10. #10
    Senior Member
    Join Date
    Oct 2000
    Posts
    474
    This effect is similar to parallax animations based on motion and depth. There's a good example in the movies section, just have a look :

    parallax

  11. #11
    endless possibilities MadDog 555's Avatar
    Join Date
    Aug 2004
    Location
    planet earth
    Posts
    347
    thanx for all of your help!

    austin

    endless possibilities

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