Localizing sprites

Sometimes it's also necessary to localize sprites in games. We've created a convenient method for adding sprite variations for different languages without altering the rest of your project.

Note

To enable sprite localization, you need to create translation files for all required languages.

Adding Animations

To create a localized sprite, simply add new animations with the desired language codes to the sprite's animation list.

Create the sprite, add a new animation with the target language code, and add the graphics. The final result should look similar to this:

Warning

Ensure there are no extra animations in the sprite with names that don't match any supported language codes. Otherwise, the plugin will skip the sprite during localization.

Now, when you click the Play (preview) button, you'll see the sprite automatically switches to the animation matching the player's current language.


Repository