News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

pathfinding problem

Started by daydreamer, October 11, 2020, 02:36:55 AM

Previous topic - Next topic

daydreamer

Hi anyone made 2d pathfinding before
current code enemy travels in labyrinth several squares until it get stuck in a corner
I use lots of .IFs for changing directions when hitting an non-empty square

I read up on pathfinding now,so trying a new start with some start POINT and end POINT and some check starting delta.x,delta.y
maybe pattern around current.xy POINT would be better way to base direction changing?
my none asm creations
https://masm32.com/board/index.php?topic=6937.msg74303#msg74303
I am an Invoker
"An Invoker is a mage who specializes in the manipulation of raw and elemental energies."
Like SIMD coding

nidud

#1
deleted

daydreamer

Quote from: nidud on October 13, 2020, 08:43:47 PM
There's a Direct2D Simple Path Animation Sample here:

http://masm32.com/board/index.php?topic=7000.msg96307#msg96307
Thanks,good for some fly around in circles :thumbsup:
But I am looking for finding a path thru point a to point b,in 2d grid filled with obstacles
my none asm creations
https://masm32.com/board/index.php?topic=6937.msg74303#msg74303
I am an Invoker
"An Invoker is a mage who specializes in the manipulation of raw and elemental energies."
Like SIMD coding