-
Notifications
You must be signed in to change notification settings - Fork 77
Support for alternatives when loading custom chess pieces (PNGs, individual SVGs) #90
Description
I would like to use the pieces from these chess sets: https://commons.wikimedia.org/wiki/Category:SVG_chess_pieces/Maurizio_Monge
I've been trying to make it work with the way you've set up your SVG sprite that includes all pieces in one file.. and I'm having a very hard time. I've found two other dozen sets of chess SVGs (here:https://github.com/supertorpe/chessendgametraining/tree/master/src/assets/pieces) that I would love to play with and possibly use but making it work with your format is very difficult.
It would have been lovely if you added support for alternatives when using custom piece sets.. such as allowing us to pass individual svgs or individual pngs.
Or some kind of converter script that accepts the individual SVGs and resizes them and constructs the sprite SVG in the format usable by cm-chessboard.
I know it's a shot in the dark and asking for a lot.. but figured it doesn't hurt to ask. In its current form.. it's just rather hard to work with any other custom set.
If you have tips on how to go about it, such as a handy tool to use, that adds to your comment here #26 (comment), I'd love to hear it.
Many thanks