39 Commits

Author SHA1 Message Date
badlogic
49137a58ea [ts] Added AssetManager.loadTextureAtlas. Will automatically resolve and load any images the atlas references. AssetManager.get(atlasName) will then return an instance of spine.TextureAtlas. 2017-11-17 10:57:44 +01:00
badlogic
bcc7da56d2 [ts] Fix PathConstraint length spacing for zero length bones. See #1023. 2017-10-20 11:09:42 +02:00
badlogic
adc01ab1e4 [ts] Fixed DeformTimeline, see #1016. 2017-10-11 10:43:13 +02:00
badlogic
eca798931b [runtimes] Closes #971 2017-08-24 11:34:00 +02:00
badlogic
40010cb228 [ts] Fixed SwirlEffect 2017-06-21 16:08:17 +02:00
badlogic
9bd1153518 Updated examples and runtime demo code 2017-06-19 16:47:28 +02:00
badlogic
f158e9e996 [ts] Ported VertexAttachment id and Timeline/Animation#apply changes 2017-06-12 17:00:10 +02:00
badlogic
63459d8531 [c] Fixed deform timelines not mixing from/to setup pose. #920 2017-06-04 11:05:07 +02:00
badlogic
2b5058f020 [ts] Fixed deform timelines not mixing from/to setup pose. #920 2017-06-04 11:03:13 +02:00
badlogic
b5e08f59e1 [ts] AnimationState#apply returns boolean indicating if any timeline was applied. #919 2017-06-04 10:53:09 +02:00
badlogic
ea3cfdc643 [ts] Ported Animation State changes, see #908 2017-05-24 13:14:06 +02:00
badlogic
b9b2d81c65 [ts] Ported animation state changes, see #904 2017-05-17 11:54:56 +02:00
badlogic
4ee17864a2 Merged manually with master. @pharan please check AttachmentTools, stretchyman diffuse pma material 2017-05-09 13:32:19 +02:00
badlogic
0fac2d318c [widget] Optional parameter to SpineWidget.setAnimation() allowing to specify callbacks for animation state events. 2017-05-05 10:08:25 +02:00
badlogic
5b2a8cfd1e [ts] Separated triangulation and convex decomposition 2017-04-21 10:40:31 +02:00
badlogic
2b4c2bcf94 [ts][webgl][widget] Fixed WebGL context loss in WebGL and widget backend. See CHANGELOG for details. 2017-04-18 15:37:44 +02:00
badlogic
d4266cf89a [ts][webgl][widget] Implemented clipping, updated README.md and CHANGELOG 2017-04-12 14:14:34 +02:00
badlogic
0fc89aa529 [ts] rebuild artifacts 2017-04-11 13:39:07 +02:00
badlogic
030da37e6b [ts] Ported dipping problem fix, see #867 2017-03-31 12:12:22 +02: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
808aea73c6 [ts] Fixed all backends. Need to implement TwoColorBatcher for WebGL backend 2017-01-26 16:35:21 +01:00
badlogic
c604d93a5c [ts] Ported latest AnimationState changes 2016-11-28 16:32:02 +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
0d85cfeaaf [ts] Closes #713, the latest TS 2.0.3 version of ArrayLike makes both the length and indexer read-only. Added our own ArrayLike to utils, works as intended 2016-10-03 15:37:57 +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
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
1c74823b2f [ts] Refactored demos to share assets as much as possible. Added SharedAssetManager for that purpose 2016-09-02 11:22:04 +02:00
badlogic
348b11e275 [ts] More demo work 2016-09-01 14:46:36 +02:00
badlogic
830a2ad040 [ts] Added playback controls to demos 2016-08-26 11:29:02 +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
22cc0993f7 [ts] Added AssetManager subclasses for WebGL and Canvas backend 2016-08-16 15:47:17 +02:00
badlogic
5ad388fe0c [ts] Fixed Canvas backend, updated README.md for Canvas backend 2016-08-16 15:34:19 +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