83 Commits

Author SHA1 Message Date
badlogic
1bb212a110 [ts] Merged with master. 2017-03-07 11:57:19 +01:00
badlogic
be9b522237 [ts] Updated README.md describing compatibility and how to disable two color tinting in WebGL backend. 2017-02-24 15:18:30 +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
c0fdc454a2 Fixed inconsistent newlines.
License header was followed by \n\n and files ended with \n. Changed to \r\n.
2016-10-15 23:45:16 +02:00
NathanSweet
7a18f0818c Every space in its place! (tm)
(whitespace clean up)
2016-10-15 23:15:41 +02:00
NathanSweet
6cdcdbdb40 Renamed TextureAtlasAttachmentLoader to AtlasAttachmentLoader, matching the other runtimes. 2016-10-15 10:27:38 +02:00
badlogic
5aa27771c3 [runtimes] Updated ALL sources to use latest Spine Runtimes License v2.5. Manually checked all the things... 2016-10-13 15:12:05 +02:00
badlogic
1ecd627afa [runtimes] Closes #719, fixed sortPathConstraintAttachment 2016-10-13 12:03:23 +02:00
Mario Zechner
f84ae17615 Updated License Headers 2016-10-13 10:27:54 +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
NathanSweet
b597aac9b9 [ts] Minor demo updates.
- Loading screen is never shown if demo loads completely while offscreen.
- HTML charset specified.
- Tabs, not spaces, you filthy animals. Each unminified JS reduced by ~80kb.
- Clean up.
2016-09-13 23:18:49 +02:00
NathanSweet
6e09ef7320 [ts] Updated loading screen. 2016-09-13 12:01:23 +02:00
NathanSweet
ba92b2bb7d [ts] Fixed moving root bone in IK example. 2016-09-09 11:52:53 +02:00
NathanSweet
1fafe6bd40 [ts] Changed pause/play button. 2016-09-07 22:48:30 +02:00
NathanSweet
1806ec6c72 [ts] Stretchyman demo upgrade. 2016-09-07 10:38:39 +02:00
NathanSweet
1dd775f5d6 Changed default colors. 2016-09-06 21:13:09 +02:00
NathanSweet
4a2ba83aa4 [ts] Demo refactoring. 2016-09-06 12:46:25 +02:00
NathanSweet
44f542935d [ts] Fixed JS filename case. 2016-09-06 10:37:07 +02:00
NathanSweet
3b3cef5bda Merge remote-tracking branch 'origin/master' 2016-09-05 19:53:16 +02:00
NathanSweet
b1d92aecf8 [ts] Demo CSS upgrade. 2016-09-05 19:52:48 +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
NathanSweet
603d48aaa3 [ts] Adjusted tank camera. 2016-09-05 13:56:10 +02:00
NathanSweet
f4286b9fe0 [ts] Adjust touch detection size, transitions demo timing. 2016-09-05 11:32:51 +02:00
NathanSweet
65d0014827 [ts] Moar demo love. 2016-09-04 23:22:47 +02:00
NathanSweet
e8227537ba [ts] Various demo improvements. 2016-09-04 17:14:12 +02:00
NathanSweet
cf08ed3293 [ts] Use CSS transformX instead of left for performance. 2016-09-04 13:51:09 +02:00
badlogic
40f192de43 [ts] Resizing spritesheet demo 2016-09-04 11:51:48 +02:00
NathanSweet
e56afe7673 [ts] Raptor jump/roar. 2016-09-04 11:47:44 +02:00
NathanSweet
a0a9bfe140 [ts] Force bounds for tank demo. 2016-09-03 18:16:11 +02:00
NathanSweet
1e650a70ac [ts] Adjusted skeleton positions. 2016-09-03 17:18:31 +02:00
NathanSweet
7646c28f9d [ts] Little more refactoring. 2016-09-03 16:35:42 +02:00
NathanSweet
681fd1df58 [ts] Fixed demos to use new slider. 2016-09-03 16:31:54 +02:00
badlogic
35d8598fe3 [ts] Visibility check is only done on scroll events, saves some CPU 2016-09-03 14:25:49 +02:00
badlogic
b112ef10d3 [ts] Fixed slider updates so we don't burn up CPUs 2016-09-03 13:20:58 +02:00
NathanSweet
e05eaef52f [ts] New sliders. 2016-09-03 12:08:49 +02:00
NathanSweet
968b020888 [ts] Added resize() to spritesheet.js 2016-09-03 10:38:04 +02:00
badlogic
73b5617b81 [ts] Refactored the way we render multiple demos. All rendering is coalesced into a single rendering loop. Eats less CPU 2016-09-03 01:13:02 +02:00
badlogic
8faba2cdec [ts] Demos, a never ending story 2016-09-03 00:00:06 +02:00
badlogic
4995371c41 [ts] fixed animation mixing demo, moved spineboy up. Fixed spritesheet demo, raptor jumps on click 2016-09-02 23:29:53 +02:00
NathanSweet
ee833b3043 Removed swing animations on tracks > 0. 2016-09-02 23:07:05 +02:00
badlogic
99a5f43aca [ts] center loading screen logo + spinner 2016-09-02 16:55:15 +02:00
badlogic
ea66b3578d [ts] Removed shooting 2016-09-02 16:46:32 +02:00