DIY Custom Components

This folder contains a test script and examples for the DIY custom component type, which allows you to create your own completely new card types from scratch using script code. To get started, with DIY components, have a look at the DIY Component Tutorial on the SE web site (in Miriam's Basement), and check out the examples below.

Example 1: recreating the example for Miscellaneous Large cards as a dedicated new card type
Example 2: cards for the Talisman board game (many thanks to Jon New of Talisman Island for his help creating this example)
Example 3: creating cards with tintable graphics using the tints library
Example 4: components that support multiple languages
Example 5: a reimplementation of the Rise of the Servitors example using the DIY system instead of tag code
Example 6: a demonstration of some useful techniques that can be used in DIY painting code
Example 7: demonstrates automatic high resolution image substitution for DIY cards

Other Resources

The minimal-diy.js script in this folder
The DIY Component Tutorial on the SE Web Site

Documentation Index