sm.noise.intNoise2d
An integer noise 2d function. Generates positive numbers only.
Kind: Function
Environments: Game, Terrain
Game
sm.noise.intNoise2d( x, y, seed )
Parameters:
| Name | Type | Description |
|---|---|---|
x |
number | The X value. |
y |
number | The Y value. |
seed |
integer | The seed. |
Returns:
| Type | Description |
|---|---|
| integer | The noise value. |
Terrain
sm.noise.intNoise2d( x, y, seed )
Open the full Terrain reference
Parameters:
| Name | Type | Description |
|---|---|---|
x |
number | The X value. |
y |
number | The Y value. |
seed |
integer | The seed. |
Returns:
| Type | Description |
|---|---|
| integer | The noise value. |