Skip to content
loudoweb edited this page Feb 22, 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 folders 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

SPRITER_NO_TAG

remove all variables and methods that use tags

SPRITER_NO_VAR

remove all variables and methods that use variables

SPRITER_NO_EVENT

remove all variables and methods that use events

SPRITER_NO_SOUND

remove all variables and methods that use sounds

SPRITER_NO_POINT

remove all variables and methods that use points

SPRITER_NO_BOX

remove all variables and methods that use boxes