# HG changeset patch # User Wuzzy # Date 1591496295 -7200 # Node ID 95a745f14f218efdf70f6bd45da7a338220c96c4 # Parent 5cfadda567cd51bc9e86e752c6e5da39cf4f6b71 LuaOverview: Add coordinates diff -r 5cfadda567cd -r 95a745f14f21 LuaOverview.wiki --- a/LuaOverview.wiki Sun Jun 07 00:13:06 2020 +0200 +++ b/LuaOverview.wiki Sun Jun 07 04:18:15 2020 +0200 @@ -59,3 +59,12 @@ Hint: On [http://www.colorpicker.com/] you find a color-picking tool for getting RGB colors easily. +=== Coordinates === +Every position on the map can be addressed with Cartesian coordinates: X and Y. Those are integers. + +* X is the horizontal axis. It starts at 0 on the left side of the map and increases when you go right +* Y is the vertical axis. It starts at 0 at the top of the map and increases when you go downwards + +X and Y can be negative when you go above or left of the map boundaries. + +Some global variables contain important coordinates, see [LuaGlobals]. \ No newline at end of file