MakeCamera

Family: World · One form

What it does

MakeCamera takes id (a string), x (a float), y (a float) and z (a float), and answers an integer.

Syntax

MakeCamera(id string, x float, y float, z float) → integer

Parameters

NameType
idstring
xfloat
yfloat
zfloat

Every form returns

integer

Example · generated

camera = MakeCamera("value", 100.0, 120.0, 100.0)DO  Sync()LOOP

MakeCamera is called and its answer is printed every frame. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.

40 commands in World