From 28ae7004446b05f085083669182a81d1cc28c164 Mon Sep 17 00:00:00 2001
From: Sebastian Leonhardt <sebastian.leonhardt@web.de>
Date: Fri, 23 Sep 2016 01:25:32 +0200
Subject: FS#11922: Lua game - Pixel Painter

* Changed keymaps to PLA and added to SOURCES and CATEGORIES file
* improved keymaps: implement wrap-around and key repeat
* change keymap according to screen orientation
* fix font size calculation
* use blocking button query in main loop
* replace tabs with spaces
* added manual entry
* added original author to CREDITS

Change-Id: Id67ae99cbb7a737c7f4608e278b77a389ac2ffa6
---
 manual/plugins/pixelpainter.tex | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 manual/plugins/pixelpainter.tex

(limited to 'manual/plugins/pixelpainter.tex')

diff --git a/manual/plugins/pixelpainter.tex b/manual/plugins/pixelpainter.tex
new file mode 100644
index 0000000000..2b6a315480
--- /dev/null
+++ b/manual/plugins/pixelpainter.tex
@@ -0,0 +1,24 @@
+\subsection{Pixel Painter}
+\screenshot{plugins/images/ss-pixelpainter}{Pixel Painter}{img:pixelpainter}
+This game is written in LUA and based on the game of the same name by
+Pavel Bakhilau (\url{http://js1k.com/2010-first/demo/453}).
+
+Select a colour to flood-fill the board with that colour, starting from the
+top-left pixel (meaning that any pixel which is connected to the top-left
+through other pixels of the same colour will be changed to the selected colour).
+Try to paint the entire board with as few moves as possible.
+
+\begin{btnmap}
+    \ifnum\dapdisplaywidth<\dapdisplayheight
+        \PluginLeft{} / \PluginRight
+    \else
+        \PluginUp{} / \PluginDown
+    \fi
+    & Move colour selector\\
+
+    \PluginSelect
+    & Fill screen with selected colour\\
+
+    \PluginCancel, \PluginExit
+    & Enter game menu\\
+\end{btnmap}
-- 
cgit v1.2.3

