Skip to content
loudoweb edited this page Feb 20, 2016 · 4 revisions

SPRITER_CUSTOM_MAP

If you want to use a special feature to create charMap by code.

Example :

engine.getSpriter('uniqueId').addCustomCharacterMap('specialCharMapName', 'textToReplace', 'replaceBy', folderIdStart, folderLength);

It will replace textToReplace by replaceBy in the folder folderIdStart. FolderLength allows to replace in the next folder too.

This feature allows dynamic charMap so you don't need to set in Spriter Pro software.

SPRITER_DEBUG

Add some traces to your app to help debug

Clone this wiki locally