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) → integerParameters
| Name | Type |
|---|---|
| id | string |
| size | integer |
| seed | integer |
| heightScale | float |
Every form returns
integer
Example · generated
island = MakeIsland("value", 64, 1, 1.0)DO Sync()LOOPMakeIsland 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.