summaryrefslogtreecommitdiff
path: root/manual/plugins/pixelpainter.tex
blob: 2b6a315480a0bac413669c4e70a1ed9f883fce1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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}