Documentation

Getting Started

Getting started with Glaze!

Getting Started

Drawing Result

In this tutorial we are going to make the most basic realtime interactive program in Glaze! The program will allow you to paint the canvas in two colors - holding left mouse button for red, and release it for yellow.

Steps

Below is the completed setup:

Code

Start

The start section defines window display resolution.

  1. Drop a Start
  2. Drop a Set Window Size

Update

The update section defines what happens at every frame.

  1. Drop an Update
  2. Use Get Button Status and Get Mouse Position to get current mouse status.
  3. Use two Draw Circle for different colored circles
  4. Drop a Branch to perform different drawing actions

Full Setup

Final Setup

Congratulations! You've made a fully interative drawing program!