Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Please login to see this picture.
    Description:
    Here my new Pathfinding-Extension for Flash. You get the full path as a string.

    Example-String:

    [color:#3366FF]1-1[/color]#[color:#3366FF]1-2[/color]#[color:#3366FF]1-3[/color]#[color:#3366FF]1-4[/color]

    Split the string with String Tokenizer or String Parser. See the Example-File for more informations.

    Preview:
    Please login to see this link.

    Download:
    Please login to see this link.

    [size:14pt]
    [color:#FF0000]Do you want more extensions?[/color]
    Please login to see this link. [/size]

    Please login to see this link.

  • Interesting extension, thanks :)

    Could you explain the string format a bit more if possible. Would i be right in guessing it is tile based so 1-1#1-2#1-3#1-4 means they are all the first tile on X and then going down a tile each on Y?

  • Awesome. I've been waiting for flash pathfinding.

    Atom: Yes it is a tile format. Your guess is correct.

    X-Y# is the x/y coordinates of the node along the shortest path. If you watch the example, the ball moves along the string coordinates in reverse order (the destination is the first coordinate in the string).

    X - X Coordinate
    X - Y Coordinate
    # - array delimiter

    Please login to see this link.

  • Just started playing with the extension and I think I've found a bug.

    If I path once, that's just fine. But when I path again, the path is appended to the end of the last path, so the string returned is the old path + new path. Path again, and I get the two previous paths + new path, etcetera.

    Please login to see this link., and Please login to see this link. that shows the problem. Click on a tile, it finds the path from 0,0 to the tile you clicked on.

    Would love to get a fix for this!

    Making games at Please login to see this link..
    Please login to see this link. on Twitter.

  • If anyone wants a hack-fix whilst Pharanygitis fixes this, use two Strings, a FullPath and a RealPath, and a counter/global value to keep track of where the real path should start in the fullpath. Then:

    Please login to see this picture.

    I'm sure a real fix will come soon, it's just clearing the String every time the AStar function is called, right?

    Making games at Please login to see this link..
    Please login to see this link. on Twitter.

  • Thanks, but doesn't work. I downloaded some more of your extensions and none of them work. Do I need some external file or something?

    It just says "Cannot load extension"

    Edit: D'oh! Might be a good idea to install flash player first... Works perfectly now :blush:

  • Hey,

    It seems the download link is broken, and the extension list on your site gives me the bug DizzyDoo described.

    Great extension, by the way! Saves me a lot of time :)

    Edit: Ah, it seems it is fixed after all, I'm doing something else wrong. I'll figure it out. Sorry for the trouble!

    Edited once, last by Ravenius (February 8, 2012 at 8:08 PM).

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!