You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Spine viewer for Windows based on Runtime for DxLib (2.1, 3.5 to 4.2).
Feature
Multiple rendering
Runtime manipulation
Exclude slot
Mix skins
Mix animations
Replace attachment
Media export
Transparent/borderless window style
Demonstration
Multiple rendering-1 (via selecting multiple files)Multiple-rendering-1.mp4Multiple rendering-2 (via opening a folder)Multiple-rendering-2.mp4Mix animationsMix.animation.mp4Exclude slotExclude.slot.mp4Replace attachmentReplace.attachment.mp4Media exportMedia.export.mp4Transparent windowTransparent.window.mp4Add effectAdd.effect.mp4Import Cocos-1 (Json containing both atlas and skeleton)Import.Cocos-1.mp4Import Cocos-2 (Json containing only atlas and requiring skeleton separately)Import.Cocos-2.mp4
How to load
Load via Open files
First select atlas file(s) to load.
Then select skel file(s) which is/are pair(s) of atlas.
Load via Open folder
From File->Extension setting, specify atlas and skeleton extensions.
From File->Open folder, select a folder containing atlas/skel(s) with specified extensions.
Open folder is to load all the Spine files in a folder and render them synchronically.
Of cource it is appropriate to open a folder containing only one set of Spine, but it is not appropriate to open a folder containing more than two sets of Spine unless their animations have synchronised timelines.
Load via Import Cocos
This is to load json:
which contains atlas at [5][0][2], and skeleton at [5][0][4].
or that which contains atlas at [5][0][2] and requires binary skeleton separately.
Mouse functions
Input
Action
Wheel scroll
Scale up/down. Combinating with Ctrl to zoom in/out.
L-pressed + wheel scroll
Speed up/down the animation.
L-click
Switch the animation.
L-drag
Move view-point.
M-click
Reset scale, animation speed, and view-point to default.
R-pressed + wheel scroll
Switch the skin.
R-pressed + M-click
Hide/show the border of window.
R-pressed + L-click
Start moving borderless window. L-click again to end.
In order to build these files in a project using DxLib, it is required to define macro depending on versions of Spine generic runtime to be used with.
Version
Macro to be defined
2.1
SPINE_21
3.5
-
3.6
-
3.7
-
3.8
SPINE_38 provided that C runtime is to be used.
4.0
SPINE_40
4.1
SPINE_41
4.2
SPINE_42
Independently, spine_file_verifier.cpp/h can be used to find Spine version string in skeleton file and check if it is binary or JSON format.
dxlib_spine_dll.cpp/h and spine_player_dll.cpp/h are for building dynamic library which depends on DxLib without linking it. So usually, these files will not be needed.