C# A* Pathfinding?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Chua Wen Ching

    #1

    C# A* Pathfinding?

    Hi there.

    I was wondering is there any C# A* Pathfinding source code!

    I try to find and the best place is planetsourcecod e
    vb.net A* Pathfinding...

    but vb.net syntax is too different if compare to C#...

    i am stuck here and there...

    so any help! I tried to find it google and cannot find..

    Thanks.

    Regards,
    Chua Wen Ching
  • Brian Patterson

    #2
    Re: C# A* Pathfinding?

    What in the world do you mean by "A* Pathfinding" ??


    "Chua Wen Ching" <cwc@cwc.com> wrote in message
    news:030101c354 06$55223cf0$a40 1280a@phx.gbl.. .[color=blue]
    > Hi there.
    >
    > I was wondering is there any C# A* Pathfinding source code!
    >
    > I try to find and the best place is planetsourcecod e
    > vb.net A* Pathfinding...
    >
    > but vb.net syntax is too different if compare to C#...
    >
    > i am stuck here and there...
    >
    > so any help! I tried to find it google and cannot find..
    >
    > Thanks.
    >
    > Regards,
    > Chua Wen Ching[/color]


    Comment

    • valdef

      #3
      Re: C# A* Pathfinding?

      may be you could have a look at Terrarium :
      "Terrarium, a sample application built by Microsoft, is game for software
      developers that provides a great introduction to software development on the
      ..NET Framework. In Terrarium, developers create herbivores, carnivores, or
      plants and then introduce them into a peer-to-peer, networked ecosystem for
      a survival-of-the-fittest type competition. ..."

      you could probably find more infos on the Terrarium forum.

      and for the A* code, there's a C# sample in the "terrarium. chm" (look in
      "Animal Farm / Sniplets") file available on top of this page :


      hope this helps..
      Fred.


      Comment

      • valdef

        #4
        Re: C# A* Pathfinding?

        it's a path finding algorithm.


        Comment

        • valdef

          #5
          Re: C# A* Pathfinding?

          there's a A* tutorial here :



          Comment

          • Chua Wen Ching

            #6
            Re: C# A* Pathfinding?

            Thanks valdef.

            I will look into the c# terranium code.

            terranium source is not available right?

            Regards,
            Chua Wen Ching :p

            Comment

            • Guest's Avatar

              #7
              Re: C# A* Pathfinding?

              Have a look at this:



              "Chua Wen Ching" <cwc@cwc.com> wrote in message
              news:030101c354 06$55223cf0$a40 1280a@phx.gbl.. .[color=blue]
              > Hi there.
              >
              > I was wondering is there any C# A* Pathfinding source code!
              >
              > I try to find and the best place is planetsourcecod e
              > vb.net A* Pathfinding...
              >
              > but vb.net syntax is too different if compare to C#...
              >
              > i am stuck here and there...
              >
              > so any help! I tried to find it google and cannot find..
              >
              > Thanks.
              >
              > Regards,
              > Chua Wen Ching[/color]


              Comment

              • Chua Wen Ching

                #8
                Re: C# A* Pathfinding?

                Hi there.

                I not sure. But the way he implements the A* is simple?

                I can't add walls in there..

                Anyway thanks.

                Regards,
                Chua Wen Ching :p

                Comment

                • 100

                  #9
                  Re: C# A* Pathfinding?

                  Hi Chua,
                  You can look here. I haven't read it yet, but it might help:


                  HTH
                  B\rgds
                  100

                  "Chua Wen Ching" <cwc@cwc.com> wrote in message
                  news:030101c354 06$55223cf0$a40 1280a@phx.gbl.. .[color=blue]
                  > Hi there.
                  >
                  > I was wondering is there any C# A* Pathfinding source code!
                  >
                  > I try to find and the best place is planetsourcecod e
                  > vb.net A* Pathfinding...
                  >
                  > but vb.net syntax is too different if compare to C#...
                  >
                  > i am stuck here and there...
                  >
                  > so any help! I tried to find it google and cannot find..
                  >
                  > Thanks.
                  >
                  > Regards,
                  > Chua Wen Ching[/color]


                  Comment

                  Working...