Skip to content
This repository has been archived by the owner on May 29, 2024. It is now read-only.

Releases: gritsenko/c3_spine_plugin

Batch render Spine instances

05 Sep 23:59
Compare
Choose a tag to compare

Batch render Spine instances for performance uplift.

Render all skeleton instances to instance textures (including different skeletons) in one C3 Draw call. Only save and restore C3 GL parameters once per tick, which adds up to a big perf saving. Does not yet include removal of instances or not Spine rendering when offscreen (C3 Draw is skipped.)

Add new SpineBatch class which implements the batching.

Keep aspect ratio of character

17 Aug 19:21
Compare
Choose a tag to compare

Added Keep aspect ratio property

Change spine-webgl.js dependency to external script

14 Aug 23:23
Compare
Choose a tag to compare

Change spine-webgl.js dependency to external script, no longer use add to DOM script, which was causing issues with newer C3 versions.

Add skeleton instances per Spine Object, RenderQuality property.

08 Aug 02:04
63e0766
Compare
Choose a tag to compare

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.

Add event trigger

24 Jul 23:43
Compare
Choose a tag to compare

Add event trigger ACE

Add set region action

23 Jul 03:07
Compare
Choose a tag to compare

Add set region action (change region/texture of current attachment on a slot on the current skin.)

Add default mix, error condition and animation speed

19 Jul 00:03
Compare
Choose a tag to compare

Add default mix, error condition and animation speed.

Fix for trigger OnAnimationFinished

10 Jan 00:19
Compare
Choose a tag to compare

Fix for trigger OnAnimationFinished (save completeAnimatioName on listener to use for multiple triggers due to the same listener.)

Add Collisions enabled property

05 Jan 01:38
Compare
Choose a tag to compare
  • Add Collisions enabled property
  • Added Enable collisions property
  • Fixed startup multiple initSpine() issue (showed up as an error on Android apk)

v1.0.4

29 Oct 10:07
Compare
Choose a tag to compare
  • Rendering to webgl texture (thanks to @MikalDev )
  • Added Conditions:
  • Is Animation Playing (AnimationName)
  • Is Animation Finished (AnimationName)
  • Is Any Animation Finished
  • Added scale property to spine object