A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: Looking for Path Finding examples?

Hybrid View

  1. #1
    Senior Member
    Join Date
    Mar 2000
    Location
    Canada
    Posts
    133

    Smile

    Anyone know any path finding examples for flash?

    ------------------
    http://www.rocketsnail.com

  2. #2
    Information Architect Subway's Avatar
    Join Date
    Feb 2000
    Location
    Switzerland
    Posts
    4,779

    Post

    I have used a simple path-tweening at my flash-racer.

    In the movieclip I've tweened, are all the movings of the object. Now I use tell-targets to control the things I would to move.

    Maybe this can help a bit.

    <EMBED src="/cgi-bin/ubb/Members/sigs/00000019.swf" quality=high WIDTH=360 HEIGHT=40 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> </EMBED>

  3. #3
    Senior Member
    Join Date
    Mar 2000
    Location
    Canada
    Posts
    133

    Wink

    Any suggestions for how to create path finding in a flash based game. I've been reading about the A+ method, but I have never seen it done in Flash. Perhaps this would be a intresting combined project for various Flash Game Developers here.
    http://www.gamasutra.com/features/pr...0212/sm_01.htm



    ------------------
    http://www.rocketsnail.com

  4. #4
    Information Architect Subway's Avatar
    Join Date
    Feb 2000
    Location
    Switzerland
    Posts
    4,779

    Thumbs up

    Interesting article.

    ------------------
    ------------------------
    Subway Design Agency
    PONG 2000
    DARK WATERS the fight
    EDUCATION BOARD (Flash 4 based)

  5. #5
    Junior Member
    Join Date
    Jul 2006
    Posts
    6

    path class

    i was playing around with this last night.. works great

    http://www.senocular.com/flash/actio...lasses/Path.as

    heres an example of how to use..

    myPath = new Path(0,37.5);
    myPath .circleCWTo(0,-37.5, .5);
    myPath .traverse(this.myMovieClip, position%100/100, true);

    enjoy

  6. #6
    crossconscious
    Join Date
    Sep 2005
    Location
    Belgium
    Posts
    1,188
    That's a 6 year old thread you posted in, lol.
    I'll check out your class though. Just curious, why do you use function/prototype instead of a proper as2 class?

  7. #7
    Junior Member
    Join Date
    Jul 2006
    Posts
    6

    path class

    I should have been more clear. I didn't write the actual class. It was written by senocular. Didn't realize the thread was so old, haha...
    anyway...I think the reason hes using prototype is just because of when the class was written. No reason you couldn't rewrite it as a "proper" AS2.0 class.

    cheers,
    mentat

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