r/howdidtheycodeit • • Nov 18 '25

Question Has anyone ever done platformer pathfinding?

I am not talking about nodes and edges.

I am talking about creating a system where a character has 10s of abilities and it checks all combinations of them which make it reach its destination like a human.

I cant seem to find any resources on this.

Any references or solutions?

5 Upvotes

11 comments sorted by

View all comments

Show parent comment

1

u/Otherwise_Let_1042 Feb 12 '26

I don't know about A*, but we recently shared how we use GOAP for the bots in our game and the movement ends up looking quite natural (with room for improvement, of course), the game is a platformer-brawler, the movement is not as complex as your example, but it may be worth a look: https://www.reddit.com/r/Unity3D/comments/1qvkfds/our_bots_dont_follow_scripts_they_make_plans_a/

2

u/__Muhammad_ Feb 12 '26

Your solution is coarse for my use but very brilliant for fighter games.

Thing is, GOAP doesnt matter for me.

All i need is just a path based on level geometry and player interaction.

Though if I needed to program actions after reaching goals i.e. hitting a lever after coming near it, GOAP will be very useful for chunking behaviour.