Yemachu 49 Posted May 6, 2019 (edited) This thread is used for testing tags and styling them, among other things. With the eventual goal of integrating the card maker in this site, instead of putting it in a sandbox. Some stuff might thus look out of place. Edited November 10, 2019 by Yemachu Quote Share this post Link to post Share on other sites
Yemachu 49 Posted November 10, 2019 (edited) Expirement: Text replacement macros The card maker provides a number of customizable fields. Some users might want to use the value they assigned to one of those fields in another one. For example when referring to the card's name in its effect. This can be done by simply copying the value, but it is easy for the values to get out of sync. This experiment showcases string substitution which should solve the above issue in a slightly more elegant way. The substitution is performed by looking for piece of text enclosed by square brackets. In this case an at-sign followed by the name of the fiekd to include. In this example this means: [@name] or [@type]. The syntax is not yet finalized though. (if no text fields show up, I probably made a mistake somewhere in the code). Edited November 10, 2019 by Yemachu Quote Share this post Link to post Share on other sites
reparoni 161 Posted November 10, 2019 Today I learned that I'm a Machine-type. Neat Quote Share this post Link to post Share on other sites
Yemachu 49 Posted November 17, 2019 Experiment: Styling text In order to generate "silver" and "gold" colored text, the card maker renders the same text twice (with a different offset each time). It does the job to a certain extend, but it is very limited in what it can do. In this experiment I have tried to render text with a gradient overlay and inner text shadow. The result is maybe a bit over the top, but it should give an impression of what is possible. It needs some fine-tuning before it gets incorporated in the card maker. Quote Share this post Link to post Share on other sites