MakeIsland

Family: World · One form

What it does

MakeIsland takes id (a string), size (an integer), seed (an integer) and heightScale (a float), and answers an integer.

Syntax

MakeIsland(id string, size integer, seed integer, heightScale float) → integer

Parameters

NameType
idstring
sizeinteger
seedinteger
heightScalefloat

Every form returns

integer

Example · generated

island = MakeIsland("value", 64, 1, 1.0)DO  Sync()LOOP

MakeIsland 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