summaryrefslogtreecommitdiffstats
path: root/manual
diff options
context:
space:
mode:
authorSebastian Leonhardt <sebastian.leonhardt@web.de>2016-09-23 01:25:32 +0200
committerSebastian Leonhardt <sebastian.leonhardt@web.de>2017-08-23 00:25:11 +0200
commit28ae7004446b05f085083669182a81d1cc28c164 (patch)
tree01f3697619da51be5d1b37668df0edb1969d3bb7 /manual
parent7944969ff7576c0c87be22a6c361e0fa7c2283ed (diff)
downloadrockbox-28ae7004446b05f085083669182a81d1cc28c164.tar.gz
rockbox-28ae7004446b05f085083669182a81d1cc28c164.tar.bz2
rockbox-28ae7004446b05f085083669182a81d1cc28c164.zip
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
Diffstat (limited to 'manual')
-rw-r--r--manual/plugins/images/ss-pixelpainter-128x128x16.pngbin0 -> 1181 bytes
-rw-r--r--manual/plugins/images/ss-pixelpainter-128x160x16.pngbin0 -> 1139 bytes
-rw-r--r--manual/plugins/images/ss-pixelpainter-128x96x16.pngbin0 -> 1065 bytes
-rw-r--r--manual/plugins/images/ss-pixelpainter-132x80x16.pngbin0 -> 1029 bytes
-rw-r--r--manual/plugins/images/ss-pixelpainter-160x128x16.pngbin0 -> 1158 bytes
-rw-r--r--manual/plugins/images/ss-pixelpainter-176x132x16.pngbin0 -> 1314 bytes
-rw-r--r--manual/plugins/images/ss-pixelpainter-176x220x16.pngbin0 -> 1387 bytes
-rw-r--r--manual/plugins/images/ss-pixelpainter-220x176x16.pngbin0 -> 1563 bytes
-rw-r--r--manual/plugins/images/ss-pixelpainter-240x320x16.pngbin0 -> 1686 bytes
-rw-r--r--manual/plugins/images/ss-pixelpainter-240x400x16.pngbin0 -> 1838 bytes
-rw-r--r--manual/plugins/images/ss-pixelpainter-320x240x16.pngbin0 -> 1708 bytes
-rw-r--r--manual/plugins/images/ss-pixelpainter-320x240x24.pngbin0 -> 1708 bytes
-rw-r--r--manual/plugins/images/ss-pixelpainter-96x96x16.pngbin0 -> 995 bytes
-rw-r--r--manual/plugins/main.tex2
-rw-r--r--manual/plugins/pixelpainter.tex24
15 files changed, 26 insertions, 0 deletions
diff --git a/manual/plugins/images/ss-pixelpainter-128x128x16.png b/manual/plugins/images/ss-pixelpainter-128x128x16.png
new file mode 100644
index 0000000000..927880a00c
--- /dev/null
+++ b/manual/plugins/images/ss-pixelpainter-128x128x16.png
Binary files differ
diff --git a/manual/plugins/images/ss-pixelpainter-128x160x16.png b/manual/plugins/images/ss-pixelpainter-128x160x16.png
new file mode 100644
index 0000000000..125c6f652b
--- /dev/null
+++ b/manual/plugins/images/ss-pixelpainter-128x160x16.png
Binary files differ
diff --git a/manual/plugins/images/ss-pixelpainter-128x96x16.png b/manual/plugins/images/ss-pixelpainter-128x96x16.png
new file mode 100644
index 0000000000..84819dd52c
--- /dev/null
+++ b/manual/plugins/images/ss-pixelpainter-128x96x16.png
Binary files differ
diff --git a/manual/plugins/images/ss-pixelpainter-132x80x16.png b/manual/plugins/images/ss-pixelpainter-132x80x16.png
new file mode 100644
index 0000000000..a1e0830cb5
--- /dev/null
+++ b/manual/plugins/images/ss-pixelpainter-132x80x16.png
Binary files differ
diff --git a/manual/plugins/images/ss-pixelpainter-160x128x16.png b/manual/plugins/images/ss-pixelpainter-160x128x16.png
new file mode 100644
index 0000000000..f5c20ef95d
--- /dev/null
+++ b/manual/plugins/images/ss-pixelpainter-160x128x16.png
Binary files differ
diff --git a/manual/plugins/images/ss-pixelpainter-176x132x16.png b/manual/plugins/images/ss-pixelpainter-176x132x16.png
new file mode 100644
index 0000000000..06cdaf6d9d
--- /dev/null
+++ b/manual/plugins/images/ss-pixelpainter-176x132x16.png
Binary files differ
diff --git a/manual/plugins/images/ss-pixelpainter-176x220x16.png b/manual/plugins/images/ss-pixelpainter-176x220x16.png
new file mode 100644
index 0000000000..c41a3f6f00
--- /dev/null
+++ b/manual/plugins/images/ss-pixelpainter-176x220x16.png
Binary files differ
diff --git a/manual/plugins/images/ss-pixelpainter-220x176x16.png b/manual/plugins/images/ss-pixelpainter-220x176x16.png
new file mode 100644
index 0000000000..a92eefeba8
--- /dev/null
+++ b/manual/plugins/images/ss-pixelpainter-220x176x16.png
Binary files differ
diff --git a/manual/plugins/images/ss-pixelpainter-240x320x16.png b/manual/plugins/images/ss-pixelpainter-240x320x16.png
new file mode 100644
index 0000000000..ceb7c4f7a6
--- /dev/null
+++ b/manual/plugins/images/ss-pixelpainter-240x320x16.png
Binary files differ
diff --git a/manual/plugins/images/ss-pixelpainter-240x400x16.png b/manual/plugins/images/ss-pixelpainter-240x400x16.png
new file mode 100644
index 0000000000..08c467c131
--- /dev/null
+++ b/manual/plugins/images/ss-pixelpainter-240x400x16.png
Binary files differ
diff --git a/manual/plugins/images/ss-pixelpainter-320x240x16.png b/manual/plugins/images/ss-pixelpainter-320x240x16.png
new file mode 100644
index 0000000000..82d1d68984
--- /dev/null
+++ b/manual/plugins/images/ss-pixelpainter-320x240x16.png
Binary files differ
diff --git a/manual/plugins/images/ss-pixelpainter-320x240x24.png b/manual/plugins/images/ss-pixelpainter-320x240x24.png
new file mode 100644
index 0000000000..82d1d68984
--- /dev/null
+++ b/manual/plugins/images/ss-pixelpainter-320x240x24.png
Binary files differ
diff --git a/manual/plugins/images/ss-pixelpainter-96x96x16.png b/manual/plugins/images/ss-pixelpainter-96x96x16.png
new file mode 100644
index 0000000000..eb0f5bf668
--- /dev/null
+++ b/manual/plugins/images/ss-pixelpainter-96x96x16.png
Binary files differ
diff --git a/manual/plugins/main.tex b/manual/plugins/main.tex
index 540a0efe5c..bf5bcd3dac 100644
--- a/manual/plugins/main.tex
+++ b/manual/plugins/main.tex
@@ -70,6 +70,8 @@ text files%
\opt{lcd_bitmap}{\input{plugins/pegbox.tex}}
+\opt{lcd_color}{\opt{large_plugin_buffer}{\input{plugins/pixelpainter.tex}}}
+
\opt{lcd_bitmap}{\input{plugins/pong.tex}}
\opt{lcd_bitmap}{\input{plugins/reversi.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}