Blitzbasic mapengine function | |||||||||
value=layer_getvalue2 (layer.layer, x, y) | |||||||||
Description | |||||||||
Return tile-value from tile coordinate X,Y. You need layer type handle (search with layer_find). The returned value is a original "hardcodet" value - the same value is stored in memory (1st animation is number 1 and 1st frame is number 1+animationcount). Use layer_getdata2+layer_setdata2 for a bit faster copy+paste manipulations. |
|||||||||
Parameter | |||||||||
|
|||||||||
Return value | |||||||||
hardcoded tile value (0-65535) |