--- a/LuaDrawing.wiki Sun Jan 17 12:43:07 2016 +0000
+++ b/LuaDrawing.wiki Sun Jan 17 12:43:55 2016 +0000
@@ -1,12 +1,12 @@
#summary Drawing maps with Lua.
-= Drawing Maps With Lua (OUTDATED) =
+= Drawing maps with Lua (OUTDATED) =
+== Overview ==
Starting in 0.9.18 it is possible to reliably use drawn map mode to draw maps with scripts.
A simple example is given below. Note that Drawn maps use an area of 4096x2048. The examples below are static, but obviously this could be used for a random map variation - for example, simulating the Cave map by doing the fill below, then drawing random tunnels using circles that shift their course smoothly.
-= Details =
-
+== Details ==
First, a couple of convenience functions for drawing to the map.
<code lang="lua">
PointsBuffer = '' -- A string to accumulate points in