Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Feature request] Extend the current "simple" Path2D implementation #1124

Closed
obiot opened this issue Aug 23, 2022 · 1 comment
Closed

[Feature request] Extend the current "simple" Path2D implementation #1124

obiot opened this issue Aug 23, 2022 · 1 comment
Labels

Comments

@obiot
Copy link
Member

obiot commented Aug 23, 2022

Is your feature request related to a problem? Please describe.
Yes, SVG files can only be loaded/rendered as "regular" image file.

Describe the solution you'd like
Extend or finalise the current Path2D implementation in melonJS to support multiple path (currently only support one) and accept SVG path such as "M173 102a51 51 0 1 1-13-30m20 37h-53, so that SVG can properly be rendered/scaled/transformed/animated in WebGL.

Additional context
https://css-tricks.com/rendering-svg-paths-in-webgl/

@obiot obiot added the Feature label Aug 23, 2022
@obiot
Copy link
Member Author

obiot commented Aug 6, 2023

closing this on in favour of #1198, since only SVG support is missing now (rest was added in branch 15.x)

@obiot obiot closed this as completed Dec 24, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant