Check out Atomic Chess, our featured variant for November, 2024.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Single Comment

The birth of 3 new variants - part 1 : Grand Apothecary Chess Alert[Subject Thread] [Add Response]
H. G. Muller wrote on Sun, Jan 31, 2021 07:28 PM UTC in reply to Aurelian Florea from 01:46 PM:

Sure, the Interactive Diagram can use any piece set, including piece sets supplied by uploading. The Diagram definition created by the Play-Test Applet even uses the Alfaerie set (the anti-aliased one) by default.

This can be controlled by the Diagram parameters grapicsDir, graphicsType, whitePrefix and blackPrefix. These are all text parameters, and the names of the piece images are build from them by concatenating the graphicsDir, a whitePrefix or a blackPrefix, the name of the image as given in the piece-definition lines, a period, and the graphics type. So if you set graphicsDir to the URL of the directory (e.g. /membergraphics/MSelven-chess/ , make sure it ends with / ), the prefixes to w and b, and the graphics type to pgn, jpg, gif, you can use any set of piece images of any type.