Basically, just create Spine models/animations as usual, and export them to JSON. Often it is comfortable to test your animations first in Castle Model Viewer before trying them out in your game.
It is advised (although not required) to create an atlas when you export to JSON, as rendering with atlas will be more efficient. Atlas options:
-
Make sure to select "Bleed" at atlas creation options (it is necessary to avoid visible seams during rendering).
-
It is simpler to use "Atlas Per Skeleton", although we also support "Single Atlas For All Skeletons". The latter is more efficient when multiple skeletons share the images, but requires loading by a special URL like my_animation.json#atlas:my_atlas_name
(see below).