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

Use SVGs where appropriate #12

Open
nelson137 opened this issue Feb 15, 2023 · 0 comments
Open

Use SVGs where appropriate #12

nelson137 opened this issue Feb 15, 2023 · 0 comments
Labels
E-feature ✨ Enhancement: new feature or enhancement F-elements Feature: non-menu game UI elements (board, player & captures panels, annotations, etc.) icebox ❄️ Icebox: on hold until further notice

Comments

@nelson137
Copy link
Owner

Use SVGs where it makes the most sense such as the end-game icons (winner crown, and white and black loser #) and arrows (#6).

Currently, SVGs are difficult in bevy. There is no official support for them and while there is a proof of concept crate bevy_prototype_lyon, it doesn't work well with bevy_ui.

SVGs can be used in bevy, but I haven't found a way to make them work properly with UI entities. It is possible to have them but would require systems that manually reposition the SVGs each frame after the UI systems run (just UiSystem::Flex?).

This might be blocked until bevy gets its new UI framework and/or gets proper SVG support.

@nelson137 nelson137 added E-feature ✨ Enhancement: new feature or enhancement F-elements Feature: non-menu game UI elements (board, player & captures panels, annotations, etc.) labels Feb 15, 2023
@nelson137 nelson137 added this to the Chess.com parity milestone Feb 15, 2023
@nelson137 nelson137 added this to Gambit Feb 15, 2023
@nelson137 nelson137 moved this to Todo in Gambit Feb 15, 2023
@nelson137 nelson137 moved this from Todo to Ice Box in Gambit Apr 1, 2023
@nelson137 nelson137 added icebox ❄️ Icebox: on hold until further notice and removed F-board-annotations labels Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E-feature ✨ Enhancement: new feature or enhancement F-elements Feature: non-menu game UI elements (board, player & captures panels, annotations, etc.) icebox ❄️ Icebox: on hold until further notice
Projects
Status: Ice Box
Development

No branches or pull requests

1 participant