#Help with attack move in a unit movement system for a sidescroller RTS game.
1 messages · Page 1 of 1 (latest)
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.
i would throw all of the built in gamemaker pathfinding out and replace it with a custom, flowfield based solution
I am not so sure. The built in gamemaker stuff works fine for me.
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.
as is you have like 30 pages of code you need to comb through to fix a couple of small problems haha
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
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
i also suggest is breaking this problem down into smaller bits to help attract some more helpful eyes