24 Commits

Author SHA1 Message Date
badlogic
969ae94f9d [ts] Finished porting new AnimationState, works as intended 2016-10-25 11:26:14 +02:00
badlogic
42bb22d3c0 [ts] Fixes to demos, rotation special cases are a bit wonky still :D 2016-10-24 17:04:03 +02:00
badlogic
ab226ab681 [runtimes] re-exported examples with Spine 3.5.03-beta 2016-10-17 14:08:00 +02:00
badlogic
02130d242e [runtimes] Updated examples to beta exports 2016-10-17 12:48:15 +02:00
NathanSweet
6cdcdbdb40 Renamed TextureAtlasAttachmentLoader to AtlasAttachmentLoader, matching the other runtimes. 2016-10-15 10:27:38 +02:00
badlogic
1ecd627afa [runtimes] Closes #719, fixed sortPathConstraintAttachment 2016-10-13 12:03:23 +02:00
Mario Zechner
5b1814cff3 spine-lua, spine-love, spine-corona update to 3.4.02 (#722)
The spine-lua API has been updated to be compatible with Spine version 3.4.02 (latest stable). The spine-lua API now supports path constraints, transform constraints, uses the new way we encode meshes etc. There are no API breaking changes, only API additions, such as PathConstraints and TransformConstraints as well as additional methods to Skeleton and similar classes. The internals of the spine-lua API have also been updated to follow Lua best performance practices by localizing heavily and using meta tables for "class methods". The spine-lua API now also loads texture atlases as exported by Spine. All that is required for a consumer is to supply an image loading function for their specific engine/framework. We provide implementations for spine-love and spine-corona.

The spine-love API can now render all Spine attachment types, including meshes and linked meshes. The API has changed. Where previously a "class" Skeleton existed with a draw function, the new spine-love API introduces a new SkeletonRenderer. See the example on API usage.

The spine-corona API can now also render all Spine attachment types. The API has not changed.
2016-10-11 16:33:25 +02:00
badlogic
b4788a6c42 [ts] Fixed RegionAttachment#setRegion, now actually sets the region property. Fixed up WebGL example 2016-09-26 10:58:30 +02:00
badlogic
eb3cb8a700 Cleaned up assets in runtime examples, runtimes.sh now copies all assets to the required locations, except for spine-unity. 2016-09-05 15:05:23 +02:00
badlogic
830a2ad040 [ts] Added playback controls to demos 2016-08-26 11:29:02 +02:00
badlogic
fef15b2248 [ts] refactored demos location 2016-08-25 14:50:24 +02:00
badlogic
9a93faef49 [ts] Fixed up demo canvas sizing 2016-08-25 14:37:27 +02:00
badlogic
fc2e4b557d [ts] added demos 2016-08-25 14:28:19 +02:00
badlogic
1c7b131b47 [ts] Fixed up IK runtime demo 2016-08-24 16:16:45 +02:00
badlogic
a69aec8a76 [ts] Added various helper classes to make writing demos easier 2016-08-24 15:58:31 +02:00
badlogic
ef4b04756c [ts] Added ShapeRenderer and SkeletonDebugRenderer, added to WebGL test 2016-08-23 14:11:45 +02:00
badlogic
55795ac3e0 [ts] Closes #677, closes #678. IKConstraintData.mix wasn't parsed properly in SkeletonJson. Widget has to apply skin before calculating setup pose bounds 2016-08-22 13:14:58 +02:00
badlogic
28b97e4532 [ts] Final touches to samples, removed underscore from private fields 2016-08-19 14:10:30 +02:00
badlogic
1a24433403 [ts] Fixed examples to use full page size and scale animations automatically 2016-08-19 12:18:26 +02:00
badlogic
22cc0993f7 [ts] Added AssetManager subclasses for WebGL and Canvas backend 2016-08-16 15:47:17 +02:00
badlogic
23f2a50821 [ts] Added Canvas backend, also does meshes 2016-08-16 12:37:53 +02:00
badlogic
847bd2a76c [ts] More refactoring for greater code reuse 2016-08-16 10:41:28 +02:00
badlogic
e72c9030eb [ts] Refactored AssetManager and TextureAtlas to be in core/ package for sharing between backends 2016-08-16 10:27:50 +02:00
Nathan Sweet
698c4a1661 [ts] Added spine-ts runtime for TypeScript and JavaScript 2016-08-12 09:28:50 +02:00