Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: AStar Dll

  1. #11
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10

    Re: AStar Dll

    I made a little variation to have a visible layout trying to considering "difficulty".
    Attached Files Attached Files
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  2. #12

    Re: AStar Dll

    That looks much better.

    btw: the argument passed to 'SetupMap' is:

    '0=no diagonal movement.
    '1=diagonal movement and cutting corners allowed.
    '2=diagonal movement but no cutting corners.

    [EDIT]
    And also: the Dll internally represents the map like a normal array with dimentions [0 to length-1]
    so you can use the coords 0,0 when calling Findpath.

  3. #13
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10

    Re: AStar Dll

    Great, thanks a lot

    I will play more tomorrow with it. I'm going to have some rest now.

    Ciao
    Eros
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  4. #14

    Re: AStar Dll

    What language did you use to develop the DLL?

  5. #15

  6. #16

    Re: AStar Dll

    Quote Originally Posted by MouseTrap
    btw: if anyone wants the source of the dll, just say so.
    I am interested, i would like to look at your code

  7. #17

    Re: AStar Dll

    Sent!

Page 2 of 2 FirstFirst 12

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •