LuaOverview.wiki
changeset 2147 95a745f14f21
parent 1817 817767cd393b
child 2148 ffb2acf779df
equal deleted inserted replaced
2146:5cfadda567cd 2147:95a745f14f21
    57 c = 0xFFFFFF -- white
    57 c = 0xFFFFFF -- white
    58 c = 0x808080 -- gray (50%)</code>
    58 c = 0x808080 -- gray (50%)</code>
    59 
    59 
    60 Hint: On [http://www.colorpicker.com/] you find a color-picking tool for getting RGB colors easily.
    60 Hint: On [http://www.colorpicker.com/] you find a color-picking tool for getting RGB colors easily.
    61 
    61 
       
    62 === Coordinates ===
       
    63 Every position on the map can be addressed with Cartesian coordinates: X and Y. Those are integers.
       
    64 
       
    65 * X is the horizontal axis. It starts at 0 on the left side of the map and increases when you go right
       
    66 * Y is the vertical axis. It starts at 0 at the top of the map and increases when you go downwards
       
    67 
       
    68 X and Y can be negative when you go above or left of the map boundaries.
       
    69 
       
    70 Some global variables contain important coordinates, see [LuaGlobals].