-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pathfinder / A* algo #216
Comments
For what it's worth, all the code parts in the runtime player to make this work should soon be available: EasyRPG/Player#3144 And I think integrating a move toward/away from player command that uses smart routes like that would actually be a useful idea. |
Hi @ell1e , thank you very much for supporting the project. I think events being able to reach their destination without "not knowing how to turn the corner" (xD) is a key improvement. I think you might be interested to see this related: EasyRPG/Player#2338 (comment) |
Hi, there's already a PR about face event/look away from event: To test it, you can download a .exe from the check tab, and use it throught TPC command: @raw 2050, "FaceTowards", eventAIsVar,eventA, eventBisVar, eventB
@raw 2050, "FaceAway", eventAIsVar,eventA, eventBisVar, eventB e.g.: // Event 1 face towards or away event 2.
@raw 2050, "FaceTowards", 0, 1, 0, 2
@raw 2050, "FaceAway", 0, 1, 0, 2 |
Right, but an actual editor UI entry for these commands would be nice! Including one for the walking part that behind the scenes then uses the actual path finding. That seems like a cool idea. |
I was thinking about whether to put it in the topic to suggest new commands, but I'd rather it was discussed first.
In that pinned topic I proposed the following: EasyRPG/Player#2338 (comment)
Perhaps my proposal not to limit the pursuit exclusively to the hero event but to any event that is indicated could also be part of a command (I suppose in a revamped "Set Move Route" panel or perhaps separate from it).
The main drawback I see with the 2k3 editor is especially if a cursor is used, that the protagonist knows how to get to the destination without getting stuck.
Apart from this it would have many other applications such as managing minions (normal events), which can be sent from one point on the map to another following a route by simplifying the code (which right now can be done with a huge network of commands or using the hero event as a "focus" to follow in every minion order).
What do you think?
Thank you.
The text was updated successfully, but these errors were encountered: