r/howdidtheycodeit • u/__Muhammad_ • 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
View all comments
Show parent comment
6
u/Robot_Graffiti Nov 20 '25
A* doesn't have to be run over literal screen space, it can run over a graph or abstract space representing anything.
In this case, you could think of the set of all possible move sequences as a graph that branches at every move, and run A* to find the optimal path along that graph.