MapToScreenY

From Spheriki

Jump to: navigation, search

Returns the screen Y coordinate of a position on the map.


Contents

Usage

number MapToScreenY(layer, y);
  • layer Number, non-negative. The layer of the map that the Y coordinate to convert is on.
  • y Number. The map Y coordinate to change into a screen Y coordinate.
  • number is returned, which is the final screen Y coordinate.


Examples

See the example for MapToScreenX().


Notes

  • This function only operates correctly while the map engine is running.


See also

Personal tools