CLS version 1.0!


Card Layout Script has finally hit version 1.0! Formerly known as “brikWork” CLS is a programming language for designing cards, tokens, mats, or any other asset for board and card games where there are several copies with different images and text. The program available for download here is just the renderer. Notable features include numbers with real world units, simple but powerful positioning syntax, macros that can modify almost any property on a card by card basis, and easy to read documentation and tutorials. Give it a shot today for your next game prototype!

The big feature added in this version is the list type and the supporting macros. You can use lists to easily make Magic the Gathering style costs, which would look something like this

macros {
    make-cost = [for-each| [1] | <img src="/images/[item]_cost.png"/>
}
...
cost-icons {
    text = [make-cost| [cost]]
}
...
data {
cost,...
(any_3:black:black:red)...
}

If you want to read more about CLS the documentation does a good job of explaining everything here. If you’ve used brikWork in the past, a changelog is available here, take a look to see what all has changed (there’s lots of little things!). In the coming days, a look at how the playing card example is put together will be added to the docs, probably by Monday.

If you have any questions, feel free to make a post in the forum, and I’ll try to get back to you pretty quick!

Files

CLS-1.0.0.zip 59 MB
Mar 30, 2023

Get Card Layout Script

Leave a comment

Log in with itch.io to leave a comment.