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

Unit cluster and visibility is quite bad in a larger battle. #69

Open
remance opened this issue Jul 21, 2023 · 0 comments
Open

Unit cluster and visibility is quite bad in a larger battle. #69

remance opened this issue Jul 21, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@remance
Copy link
Owner

remance commented Jul 21, 2023

Based on the demo version, the unit sprite visibility is very bad especially in combat. When 2 army collides, it pretty much become almost impossible to distinguish enemy/allies troop.

Not quite sure how to fix it yet. But here are some potential solutions:

  1. Introduce unit collide check to prevent sprite merge (maybe for both enemy and friend). Tricky (and likely reduce game performance) but would help make combat better and more organised as well.
  2. Make enemy sprite always have higher layer. Not a good solution overall.
  3. Maybe instead of collision detection, make map array that allow only one unit per position.
  4. Reduce number of unit. Simple solution that also improve game performance. But should be a last resource.
@remance remance added the enhancement New feature or request label Jul 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant