Synopsis
This plugin adds a tile sliding puzzle that you can use as a minigame in your game. Just give it an image, specify a grid size, and boom - instant minigame!
Features
You only need to use one image per puzzle - it will automatically be sliced into however many pieces are needed.
There are 3 different control schemes to choose from, plus mouse support.
You can optionally display a timer or a move counter (or both) - their results will be saved to variables of your choice when the player finishes (or gives up on) a puzzle, allowing you to assign rewards based on performance as you see fit.
Everything is customisable - size of the puzzle window, colour of the grid lines, scene background, text on the exit confirmation window, sounds - you name it.
All plugin parameters can also be changed with a plugin command during the game - so you can have different coloured grid lines for different puzzles, only show the timer on special challenges, and so on.
Terms
This plugin is available under the MIT Licence. You're free to use it in any games, commercial or not, or use the code in your own plugins. Credit is appreciated, but not required.