![SpineSlotExt](https://img.itch.zone/aW1nLzExNDU2ODMuZ2lm/original/8pu%2FwX.gif)
SpineSlotExt
A downloadable Extension
UPDATE
The functions added by this extension have now been added natively to GMS 2.2.2 and later.
As such it is now only required if you want to add the functionality it offers to GMS 1.4, or if you want to show support.
--------------------------------------------------------------------------------
WHAT IS IT?
SpineSlotExt is an extension for GameMaker Studio 2 and GameMaker: Studio 1.4 that provides functions to allow the runtime manipulation of individual slot colour and slot alpha on Spine skeletons, as well as collision detection of individual slots on skeletons setup with bounding box attachments.
Instead of having to waste time and resources creating multiple versions of the same sprites, you can now use a single set of sprites and change their colour and alpha at any time during runtime.
Collision detection of individual slots is also simplified, you can detect pixel perfect collisions with any bounding box attachments setup inside Spine using only a single function call.
Simply import the extension into your project and you are able to start using the extension to manipulate slots in your own projects.
The extension contains no scripts, and all functions will appear as native GML functions - keeping your projects clean and tidy.
The extension is compatible with all export targets that support the use of Spine skeletons within GameMaker: Studio and GameMaker Studio 2.
Please take a look at the video to see how easy it is to unlock the power of unlimited customization of characters, outfits, vehicles, weapons and more whilst using a single set of source sprites - the possibilities are endless!
COMPILED EXAMPLES
Compiled binaries of the demo projects are provided here for you to take a look at and see the extension in action. If you purchase spineSlotExt you also get fully commented project files of these binaries for both GMS 1.4 and GMS2.x.
Both of the binaries can be downloaded for free at the bottom of the page.
TEST TOOL
A "Test Tool" is available to download which uses the extension internally to allow slot colour and slot alpha to be changed, and collisions to be detected on compatible skeletons with bounding boxes setup.
Example files are provided in case you don't have any of your own Spine exported files handy, but the tool will also allow you to load in your own exported files and test how they work in regards to changing the slot colour, slot alpha and detecting collisions.
The tool also allows you to load and save colour data, as well as export GMS1.4 and GMS2.x source code - which can be copied straight into your project to be used by the extension, saving you the job of doing it by hand.
![spineSlotExt Test Tool spineSlotExt Test Tool](https://img.itch.zone/aW1nLzExNjUwMTcucG5n/original/j3k2C2.png)
Slot colour and alpha data can also be setup and saved in Spine and the extension will read this data directly and apply it to a skeleton loaded with the extension.
However, iteration is quicker with the Test Tool due to the ability to quickly copy and paste data between slots and export GMS code for your projects without needing to re-export files from Spine, and re-import them into GameMaker.
NOTE
Please read the included "README.pdf" before using the tool!
The Test Tool can be downloaded at the bottom of the page.
WHAT DO I GET WHEN I PURCHASE?
When you purchase spineSlotExt, you will get access to the following files:
- spineSlotExt Extension for GameMaker Studio 2.x
- spineSlotExt Extension for GameMaker: Studio 1.4.
- Detailed installation instructions for GMS1 and GMS2.
- Fully commented Project Files for GMS1.4 and GMS2 which contain:
- 11 rooms containing example Spine skeletons.
- Fully commented code explaining each function used.
- Each example builds on the last, from basic slot colouring, to collision detection and even using surfaces for smooth alpha fading of skeletons.
- Template objects are provided to import into your own projects and start using straight away with minimal fuss.
- A 23 page PDF Manual containing:
- Explanation of the extension.
- Quick Start setup guide.
- Full breakdown of all 20 functions including descriptions, required arguments, return values, and code examples.
- FAQ Section.
- Function Reference Sheet to quickly see all available functions without having to check the full 23 page manual.
Purchase
In order to download this Extension you must purchase it at or above the minimum price of $9.99 USD. You will get access to the following files: