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

Investigate importing SVG images as sprites #216

Open
adam-coster opened this issue Feb 23, 2024 · 2 comments
Open

Investigate importing SVG images as sprites #216

adam-coster opened this issue Feb 23, 2024 · 2 comments
Labels
✨ feature New feature or request ⌨️ vscode The Stitch extension for VSCode 🤔 rfc Request for comment

Comments

@adam-coster
Copy link
Member

When we need a quick icon, we grab stuff from FontAwesome. That comes as an SVG, so there's then an editing step to make any modifications and then export as PNG for use in GameMaker.

Can we convert SVGs on the fly so that we can bypass that part of the process. Sharp has some SVG support, though historically I've had trouble getting it to do what I want. May be worth checking out.

What, if any, options would need to be provided during import? Would we just convert as-is or allow setting some useful properties (width/height, color)?

@adam-coster adam-coster added ✨ feature New feature or request ⌨️ vscode The Stitch extension for VSCode 🤔 rfc Request for comment labels Feb 23, 2024
@github-project-automation github-project-automation bot moved this to Inbox in Stitch Feb 23, 2024
@adam-coster
Copy link
Member Author

@BscotchSeth Any opinions on this?

@BscotchSeth
Copy link
Member

For this to work for our needs, we would need:

  • Color
  • Padding
  • Size constraints (pixel width/height)

That's about it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ feature New feature or request ⌨️ vscode The Stitch extension for VSCode 🤔 rfc Request for comment
Projects
Status: Inbox
Development

No branches or pull requests

2 participants