Could you give me a step by step on how to start the process of creating my own template. I have added all the card formats to MSE and the ones that was zip, i cant figure out how to add them to the MSE. For 2 days i have tried to add them.
an MSE template is defined in 2 main files :
- game file in the mse-game directory
- style file in the mse-style directory
find a template you like, and analyse these files. You will understand how to modify them, than create your own.
Here are some hints to begin with :
- game file contains the card fields definition. For instance, name of the card is a one-line text field, where card color is (often) a choice between predefined values, and rule/flavor zones are multi-lines text fields. Game file contains only definitions, no display.
- style file contains the implementation of fields into a display. It defines where on the card each field appears (or not), by giving the coordinates (top-left, height-width) of the fields, the way it must be rendered (text, image...).
- both files can contain functions to compute values. For instance when you choose "Green" as a color in a menu for the card color, the card style for "background" field will use a function to compute which image file is associated with the "Green" keyword, and use this file for the card rendering. Functions that are defined in the game file can be used in the style file, but not the other way round.
Hope this helps !