Blitz3D+ Language Reference

Introduction

Blitz is a programming language designed for creating games, graphical applications, and interactive tools quickly. Its readable, statement-based syntax keeps common tasks concise, while the runtime provides commands for windows, input, drawing, audio, files, networking, and 3D scenes.

Language structure

A program is built from statements and expressions. Data can be stored in constants, variables, arrays, custom types, and typed collections. Conditions, selection statements, and loops control execution, while functions organise reusable behaviour.

Data and types

Core data types represent integer numbers, floating-point numbers, and text. Custom types group related fields into reusable records. The Extended language adds optional features including type methods, interfaces, type lists, type initialisation, and enumerations.

Commands and dialects

Language syntax describes how a program is written; commands provide the operations used to interact with the system and the Blitz3D+ runtime. Source files can select their language rules with the Dialect statement.

Use the contents pane to explore each part of the language, then consult the command reference for the operations available to a program.