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

Changing the image on an individual piece #3

Open
anotherstarburst opened this issue Feb 3, 2022 · 1 comment
Open

Changing the image on an individual piece #3

anotherstarburst opened this issue Feb 3, 2022 · 1 comment

Comments

@anotherstarburst
Copy link

anotherstarburst commented Feb 3, 2022

hey @erikthalen . I'm just playing around with this lib. I love how easy it is to set up - good effort!

I'm wondering if there's a way to change the image of a specific puzzle piece? Looking at the implementation of

(piece.orgPos.x - shapeOffset) / scale / DPI / occupy, // what part of image
it doesn't seem that way - I'm just double checking I've not missed something.

Thanks again!

@erikthalen
Copy link
Owner

Hey, thanks! :) Glad you like it.

Not sure I understand the issue. Should two different puzzles get merged into one? Or what other image should be printed on the piece? 🥸

krftcz added a commit to krftcz/jigsaw-puzzle that referenced this issue May 31, 2023
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

2 participants