gritsenko / c3_spine_plugin

Spine plugin for construct 3
MIT License
24 stars 8 forks source link

Skeleton instance per addon instance #24

Closed MikalDev closed 4 years ago

MikalDev commented 4 years ago

Add expressions TextureWidth, TextureHeight (texture size used to display Spine) Add property RenderQuality (1-0), amount to downsample original Spine size (reduces texture size used also reduces GPU performance requirement, which is usually less of an issue.) Load skeleton only once per Spine object, other instances of the same object are instances of the skeleton, saves a lot of texture memory to have only one skeleton texture atlas in GPU memory. Move on skelton loaded to after texture has been created for the Spine object and initial animation bounds and other state is set.