Recipes

Recipes

Worked examples of features you will build on almost every table. Each recipe is a small, self-contained block of HCL you can paste into a .cade file and adapt — and a pointer to the concept page that explains the machinery behind it.

These assume you can already load and run a table. If not, start with Getting Started and Table Design Basics.

A few classic features — ball save, tilt, attract mode, and high-score entry — don’t have a dedicated block in Cade yet. You can build them from the primitives shown here (variables, conditions, modes, and the ball lifecycle), so they’ll join the cookbook once there’s a clean pattern worth recommending.