Skip to content
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

Clairvoyance performance #5

Open
cooljeanius opened this issue Nov 28, 2021 · 0 comments
Open

Clairvoyance performance #5

cooljeanius opened this issue Nov 28, 2021 · 0 comments

Comments

@cooljeanius
Copy link

This might be an upstream Wesnoth issue, but I'm wondering if there's any way to improve the gamespeed performance when using Yumi's "clairvoyance" ability? Maybe instead of considering all tiles next to allied units as valid teleport targets, just consider the tiles occupied by allied units as the teleport targets instead, and then let the game handle the part where the code preventing multiple units from occupying the same tile shunt her to an adjacent tile? I'm thinking reducing the number of valid teleport targets might reduce the amount of pathfinding code that the game has to handle...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant