Check out Grant Acedrex, our featured variant for April, 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

Alfaerie Variant Chess Graphics. Set of chess variant graphics based on Eric Bentzen's Chess Alpha font.[All Comments] [Add Comment or Rating]
H. G. Muller wrote on Sat, Oct 13, 2018 03:53 PM UTC:

I guess things are nearly as I want them now:

Like a hypen between two pieces displays the pieces in the same square behind each other, a vertical bar will display the pieces above each other, the lower one vertically flipped to create symbols for forward-backward asymmetric pieces ('hunters'). It also cuts the pieces to half the square size, in that case:

The renderer now first looks if there is a file defaults.ini in the directory for the specified SVG piece set. This file can overrule the hard-coded defaults for the colors (including the original white filling color, so it knows what to replace). In addition it can specify some scaling parameters used for displaying two pieces in one square (horizontal and vertical scaling, horizontal offsets, vertical culling), so these can be made piece-set dependent. Finally it allows specification of a list of aliases for the dressed-letter codes used in the FEN. E.g. B~ stands for knighted bishop, but in Alfaerie this is a cut-and-paste symbol for which I did not make a separate SVG image. So I defined it as an alias for B-N, synthesizing the image on the fly.