-
Anyone know any path finding examples for flash?
------------------
http://www.rocketsnail.com
-
Information Architect
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>
-
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
-
Information Architect
Interesting article.
------------------
------------------------
Subway Design Agency
PONG 2000
DARK WATERS the fight
EDUCATION BOARD (Flash 4 based)
-
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
-
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?
-
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|