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
BIN
manual/plugins/images/ss-pixelpainter-128x128x16.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
manual/plugins/images/ss-pixelpainter-128x160x16.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
manual/plugins/images/ss-pixelpainter-128x96x16.png
Normal file
After Width: | Height: | Size: 1 KiB |
BIN
manual/plugins/images/ss-pixelpainter-132x80x16.png
Normal file
After Width: | Height: | Size: 1 KiB |
BIN
manual/plugins/images/ss-pixelpainter-160x128x16.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
manual/plugins/images/ss-pixelpainter-176x132x16.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
manual/plugins/images/ss-pixelpainter-176x220x16.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
manual/plugins/images/ss-pixelpainter-220x176x16.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
manual/plugins/images/ss-pixelpainter-240x320x16.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
manual/plugins/images/ss-pixelpainter-240x400x16.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
manual/plugins/images/ss-pixelpainter-320x240x16.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
manual/plugins/images/ss-pixelpainter-320x240x24.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
manual/plugins/images/ss-pixelpainter-96x96x16.png
Normal file
After Width: | Height: | Size: 995 B |
|
@ -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}}
|
||||
|
|
24
manual/plugins/pixelpainter.tex
Normal file
|
@ -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}
|