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

allow different sight_ranges for each unit #124

Open
sanslash332 opened this issue Jul 9, 2020 · 0 comments
Open

allow different sight_ranges for each unit #124

sanslash332 opened this issue Jul 9, 2020 · 0 comments

Comments

@sanslash332
Copy link

Currently you can't have a real control of the sight range of a unit.
You can only control the range of the attack or the effect (that can be more than 12 metters (one square)) without problem, but you can't create frail units, but with a good vision, for example see up to 30 meters more than two squares in any direction, to support these units with a large attack range, but bad vision range.

So, add the possibility to control the sight range of each unit (or building)
Currentli we have the height_bonus, but that property can have other use; for example can see through walls.

I know that for now we only have paths to north, south, east and west, so can be a problem calculate the sight in diagonal; because we don't have paths on these directions.

maybe add diagonal paths for grounds units can be a good option too?

So well. Thanks for the new update; this engine is awesome.

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