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

Best options for displaying a zoomable SVG image from within FXGL #1324

Open
bmcollier opened this issue Dec 27, 2023 · 0 comments
Open

Best options for displaying a zoomable SVG image from within FXGL #1324

bmcollier opened this issue Dec 27, 2023 · 0 comments

Comments

@bmcollier
Copy link

bmcollier commented Dec 27, 2023

Hi - I'm keen to use SVG to define a (geographic) map which can be zoomed by the user in the game I'm creating. FXGL doesn't appear to support SVG images, but I can create a bufferedimage from the SVG - can I convert a bufferedimage into a texture and then go from there? Or is the only answer to write something custom 😱 and make a pull request? Ideally I'd like to avoid the latter!

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