Written by Art_Freak
•When it comes to template design and layout nothing can be more perplexing than a complex card design that features...
|...blended sections of a card...||...a curved textbox...||...or a curved mana cost...|
|...nothing goes through black, and anything can pass through white.|
|The above shows how MSE2 uses masks to create a hybrid card.|
mask: text-mask.pngOnce that code is in place and the mask is in the template's folder, any text you type into the rule text card field will now determine the shape of that field based on that mask. In program, with fields visible, you will see a straight line indicating the general shape of the field. Don't mistake this for the true shape of the field, as field shapes are not rendered with curved lines. The curve is still in effect.
In addition to all of this, advanced scripting can be combined with mask images to create color fields of unique shapes, (such as the border on Magic Planeswalker cards), or semi-transparent imagery, glow effects, and much more. I won't be covering any advanced scripting today, maybe in the future, but not today. What I wanted to do today was touch base on just what masks are, what they can do, and their overall versatility. I hope I've accomplished that, that this helps clarify just what masks are and how they work, and that this has shed some light on how a simple image can make just about anything possible.