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

Use alpha shapes to draw killzone enemies #93

Closed
Wotuu opened this Issue Jan 2, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@Wotuu
Copy link
Owner

Wotuu commented Jan 2, 2019

The killzone currently just draws lines to all enemies that are in the killzone. This visualization is a bit poor, it looks bad and doesn't really make for a good overview. It looks bad on the preview as well. Implementing this visualization using alpha shapes would be a good start in trying to improve this system.

See https://github.com/mikolalysenko/alpha-shape.

@Wotuu Wotuu added the enhancement label Jan 2, 2019

@Wotuu Wotuu self-assigned this Jan 2, 2019

Wotuu added a commit that referenced this issue Jan 2, 2019

#93 Removed alpha-shape; it didn't seem to work for my use case for s…
…ome reason. Added hull.js which does seem to work. Now I need to just make the visualization. There's some basic code in there now which prints the coordinates to console.

@Wotuu Wotuu referenced this issue Jan 4, 2019

Merged

Development #94

@Wotuu Wotuu closed this in 410ffd0 Jan 4, 2019

Wotuu added a commit that referenced this issue Jan 5, 2019

Merge pull request #101 from Wotuu/development
#93 Fixed tryout mode polygon color changing not working.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment