Category: Sheet Author
Do you want to make a character sheet or tweak an existing one? You’ll need to grasp HTML, CSS, and Javascript, and roll20 has its own tweaks that makes each of those a little more complicated. Don’t worry though – that’s where this blog comes in. If you’re a newbie to any of these things, you’ll find help here.
Functions and the Fat Arrow
What are functions? What is the fat arrow syntax? How they make code easier to write.
Template Literals
What is a template literal? There are three types of quotation mark???
The Ternary Operator – The One-Line If
My favourite feature of JavaScript is just as useful in Roll20.
setAttrs and Saving Attributes
Saving attributes isn’t always simple! more about that here.
Action Buttons
Action Buttons are another way to launch sheet workers. Click the button to toggle buffs, show or hide tabs, and more.
Changes and the eventInfo Object
What is the eventInfo object, and what is it good for. Find out here.
Events, and watching Attributes
When you click a button or change an attribute, here’s what happens.
Asynchronicity and Things to Avoid With Loops
What does Asynchronicity mean and how does it affect you?
Undefined and Other Error Values
About undefined and similar “unvariables”. Avoid them when you can.
Strings, Arrays, and Loops
An example of using different techniques to solve a problem – Strings, Loops, and Arrays.
Logging in the Browser Console
How to use the browser console, and control what appears there.
Strings in Sheet Workers
Introducing Strings, what they are and how to use them.
Visit the Sheet Author Master List