#Help with attack move in a unit movement system for a sidescroller RTS game.

1 messages · Page 1 of 1 (latest)

floral monolithBOT
prime knot
#

I realize this is an insanely difficult task to help out with but if anyone wants to spend some time to help me figure this out, you'd be absolutely amazing.

austere girder
#

i would throw all of the built in gamemaker pathfinding out and replace it with a custom, flowfield based solution

prime knot
#

I am using it sparingly, just to find a path between two points on the mp_grid. It's totally fine, haven't had any issues with it and it seems to be very fast.

austere girder
#

as is you have like 30 pages of code you need to comb through to fix a couple of small problems haha

prime knot
#

Haha well, I am not sure if this is a small problem

#

This is a new thing on top of the old system

#

I am not sure a different pathfinding thing will solve that

austere girder
#

i suggest flowfields because

  • flowfields are the greatest and most gone-to type of pathfinding for strategy games like this
  • really really small footprint, codewise
  • cheap to set up on a scale as small as yours
    thats really all i have to offer here, unfortunately
#

cause this is a lot of code to look through, and its hard to help if its not seen like "in action" or so to speak

prime knot
#

Yeah okay, I appreciate the help though 🙂

#

I may look into flowfields

austere girder
#

i also suggest is breaking this problem down into smaller bits to help attract some more helpful eyes