29 Commits

Author SHA1 Message Date
badlogic
1bb212a110 [ts] Merged with master. 2017-03-07 11:57:19 +01:00
badlogic
9eb42b65f2 [ts] Added 2 color tinting support, made it default, barely a performance difference. You can disable it via the constructors of SceneRenderer, SkeletonRenderer and PolygonBatcher, depending on which level of granularity you use. Also fixed performance issue submitting geometry as STATIC_DRAW instead of DYNAMIC_DRAW. Fixed another performance issue regarding size of buffer data that's being updated. 2017-02-24 15:00:30 +01:00
badlogic
fe8eae4b8e [c] Ported 3.6 changes, two color timeline, changed updateWorldVertices to computeWorldVertices, point attachment, transform constraint local and relative mode. Does not actually render two color tinted slots yet. Also updated example exports 2017-01-30 16:31:16 +01:00
badlogic
7b463b1336 [ts] Fixed SkeletonDebugRenderer, fixed memory allocations in SkeletonRenderer 2017-01-26 16:21:08 +01:00
badlogic
be1a2e3cbb Fixed bug in SkeletonJson, used = instead of == in condition. Fixed vertex component order for mesh attachment. Fixed SkeletonRenderer. 2017-01-26 14:52:04 +01:00
badlogic
fcade28c7a [ts] Updated to 3.6-beta, changes to updateWorldVertices (now computeWorldVertices) for attachments, two color timeline, point attachment, transform constraint local and relative modes. Meshes don't render yet in WebGL backend. Need to update other backends as well. 2017-01-25 16:55:39 +01:00
badlogic
aca4060fad [lua] Ported AnimationState changes 2016-11-24 13:00:46 +01:00
badlogic
a7fe570148 [ts] Ported AnimationState changes 2016-11-24 12:48:45 +01:00
NathanSweet
36000e3c55 Updated to v3.5 (merge dev branch).
# Conflicts:
#	spine-c/src/spine/AnimationState.c
2016-11-15 23:10:23 +01: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