Bitsy Cheatsheet by brandon thread


Print A Variable In Dialogue

{ print variableName }
-or-
{ say variableName }

Set A Variable In Dialogue

Text:
{ variableName = "a word or words" }
Number:
{ variableName = 2 }

Math A Variable in Dialogue

Text:
{ variableName = "h" + "i" }
(result: "hi")
Number:
{ variableName = 2 + 2 }
(result: 4)
Variable:
{ variableName = catVariable + catVariable }
(result where catVariable is equal to 2: 4)
Note: These can be mixed and matched
{ variableName = catVariable + 2 }
or
{ variableName = "hi" + catVariable }
Any number added to text will cause the number to be added as text!
{ variableName = "hi" + 2 }
(result: "hi2")

Print A Sprite, Tile, or Item In Dialogue

Sprite:
{ printSprite "spriteName" }
Tile:
{ printTile "tileName" }
Item:
{ printItem "itemName" }

Text Decorations

Movement:

Wavy:
{wvy} this text is wavy! {wvy}
Shaky:
{shk} this text is shaky! {shk}

Color:

Background:
{clr1} this text is the background color! {clr1}
Tile:
{clr2} this text is the tile color! {clr2}
Item/Sprite:
{clr3} this text is the Item & Sprite color! {clr3}
Rainbow:
{rbw} this text is rainbow-colored! {rbw}