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

SVG Image Support #5895

Closed
iampremo opened this issue Apr 30, 2024 · 7 comments
Closed

SVG Image Support #5895

iampremo opened this issue Apr 30, 2024 · 7 comments
Assignees
Labels
documentation Improvements or additions to documentation are required by this issue feature request New feature (or a request for one)
Milestone

Comments

@iampremo
Copy link
Member

iampremo commented Apr 30, 2024

This task is to implement the importing of SVGs and the rendering of them in their native vector form rather than converting them to a bitmap.

They will be supported much like SWFs are currently in that they will not be editable in the IDE apart from a controllable level of detail which will modify how much curves are subdivided.

Unlike the current SWF support, they will be rendered as vectors in the IDE as well as at runtime.

We will aim to support the most broadly-used SVG features, though initially some supported features may be limited and support will only be added in future releases.

@iampremo iampremo transferred this issue from another repository May 20, 2024
@ksuchitra532 ksuchitra532 transferred this issue from another repository May 20, 2024
@iampremo iampremo added this to the 2024.8 milestone May 20, 2024
@iampremo iampremo moved this from Todo to In Progress in Team Workload May 20, 2024
@iampremo iampremo added the feature request New feature (or a request for one) label May 20, 2024
@gnysek
Copy link
Contributor

gnysek commented May 21, 2024

There is FR for this from helpdesk era: #3788 .

@iampremo iampremo moved this to In Progress in GameMaker Roadmap Jun 7, 2024
@Aqueuse
Copy link

Aqueuse commented Jul 1, 2024

This would be awesome ! The first thing I wanted to make on unity was to use some SVG. Now that I use GameMaker, it make me dreams again about the possibilities 🚀

@yymrennie
Copy link

Currently supported features in 2024.11 include:

  • Common shape types such as: circle, ellipse, polygon, rect and path
  • Solid-filled shapes
  • Clip paths
  • Anti-aliased rendering of shapes - this is controllable with three new GML functions:
    • draw_enable_svg_aa(enable) - this enables\disables anti-aliasing on SVGs.
    • draw_set_svg_aa_level(aalevel) - this sets the 'strength' of the SVG anti-aliasing as a value between 0 and 1.
    • draw_get_svg_aa_level() - this returns the strength of the SVG anti-aliasing.

Not currently supported:

  • Gradients or other complex fill styles
  • Shape outlines
  • Line and polyline elements
  • Styles defined as CSS properties
  • More complex features such as text rendering, filters or SVG animation.

@jackerley
Copy link

Closing this as remaining features have been added as new issues.

@alicemoretti
Copy link
Contributor

alicemoretti commented Dec 11, 2024

Closing this as verified. The indent functionality for 20244.11 has been tested and has been in Beta for a few version. Additional functionality has been planed and documented for future releases.

Thank you.

@alicemoretti alicemoretti moved this from Ready for QA to Verified in Team Workload Dec 11, 2024
@GianluigiCelentano
Copy link

Is there any possibility to see even the PSD import support?

@AshrafHamdi
Copy link

SVG animation is super important

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation are required by this issue feature request New feature (or a request for one)
Projects
Status: In Progress
Status: Verified
Development

No branches or pull requests

9 participants