Skip to content

Getting Started

Kat edited this page Sep 26, 2021 · 5 revisions

Installing

The releases page offers a local package for GameMaker Studio 2 that can be installed by dragging the file into the IDE. Only scr_disarm is strictly required in order for the library to be functional. A test object has been included that demonstrates how the library might be used.

Setting Up

No significant setup is required in order to use Disarm. However, since it is possible for sprites to be loaded externally from a file, it would be wise to call disarm_flush() periodically, or in the Room End event in order to avoid memory leaks. Note: if you never load sprites from external files, you do not need to do this.

Minimum Working Example

The following example shows how to import a Spriter animation from a file, apply an animation to a mesh, and finally render that mesh to the screen:

TODO
Clone this wiki locally