Skip to content

Commit

Permalink
document showcreator
Browse files Browse the repository at this point in the history
  • Loading branch information
jabdoa2 committed Mar 11, 2019
1 parent 4da3b0a commit 29f7312
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 5 deletions.
11 changes: 6 additions & 5 deletions tools/index.rst
Expand Up @@ -21,17 +21,17 @@ on a display. This is great for fine tuning and tweaking your slides.
The MPF service cli is a fast way to debug or troubleshoot your machine during
development and operation.

:doc:`Lightshow Creator <showcreator/index>`
--------------------------------------------

A lightshow generator for MPF.

Machine Fuzzer
--------------

Fuzz your machine using afl to find crashes in MPF, your config or your code.
Currently not documented. Let us know if you want to use it.

Show Creator
------------

* `Simple light show generator for MPF <https://github.com/missionpinball/showcreator>`_

Hardware Debugger
-----------------

Expand All @@ -58,3 +58,4 @@ Future Tools
monitor/index
imc/index
service_cli/index
showcreator/index
60 changes: 60 additions & 0 deletions tools/showcreator/index.rst
@@ -0,0 +1,60 @@
MPF Showcreator
===============


The `light show generator for MPF <https://github.com/missionpinball/showcreator>`_
loads your LED positions from the :doc:`/tools/monitor/index`
config and lets you create show for transitions.


Running the showcreator on Windows
----------------------------------

1. Checkout or download the `showcreator <https://github.com/missionpinball/showcreator.git>`_ repository.
2. Double click on led.exe


Compiling and running the showcreator on Ubuntu
-----------------------------------------------

.. code-block:: console
# inside a new src folder
apt install linux-libc-dev:i386 libxft2:i386 g++-multilib gcc-multilib libxpm-dev:i386 libxxf86vm-dev:i386 libgl1-mesa-dev:i386 libglu1-mesa-dev:i386
git clone https://github.com/blitz-research/blitzmax.git
cd blitzmax
cd _src_/linux
./install.bat # yes its .bat
cd ../../../ # back to your src folder
git clone https://github.com/missionpinball/showcreator.git
cd showcreator
../blitzmax/bin/bmk makeapp led.bmx
# run it
./led
Afterwards you can run the showcreator using (from within your new folder):

./showcreator/led

Key bindings
------------

* A - adjust rotation
* S - adjust x scale
* X - adjust y scale
* C - adjust both x and y scales
* HOLD SHIFT to reverse above functions
* HOLD CTRL to increase functions by 10X
* I - flash between START and FINISH end points
* L - toggle between viewing SHAPES or affected LEDs
* B - toggle between BW and full colour output
* B+SHIFT - change the B/W Threshold (16-240)/256
* SPC - toggle between START and FINISH end points
* U - play segment
* P - play complete set
* M - HOLD for slow motion during segment/set play
* P+SHIFT - play set and create script file
* ESC - quit - Y/N confirm quit
* Left Mouse Button Down over playfield adjusts position of current end (START or FINISH) +SHIFT adjusts both START AND FINISH positions

0 comments on commit 29f7312

Please sign in to comment.