from_heightmap

function

from_heightmap(_sprite[, _subimage])

Description

Initializes terrain height from a sprite.

Arguments

Name Type Description
_sprite Resource.GMSprite The heightmap sprite.
_subimage Real The subimage to use for the heightmap. Defaults to 0.

Returns

Struct.BBMOD_Terrain Returns self.

Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on June 19, 2022 using GMDoc.