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) → integerParameters
| Name | Type |
|---|---|
| id | string |
| x | float |
| y | float |
| z | float |
Every form returns
integer
Example · generated
camera = MakeCamera("value", 100.0, 120.0, 100.0)DO Sync()LOOPMakeCamera 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.