34 Commits

Author SHA1 Message Date
badlogic
66c6d5cd89 [ts][widget] Added test for WebGLRenderingContext issues, see #675 2017-05-10 13:51:50 +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
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
355d80129f [ts][widget] Fixed retina handling, scale backbuffer of canvas by device pixel ratio 2017-04-18 10:02:03 +02:00
Dave Geddes
3ec6c85074 reuse existing canvas element when possible (#876)
* reuse existing canvas element when possible

* [ts][widget] enable retina quality graphics
2017-04-18 09:43:41 +02:00
badlogic
0733ce8af2 [ts] Widget can now load json, atlas, and atlas pages from inline resources. See widget example source and README.md 2017-04-11 13:38:33 +02:00
badlogic
848f3d382c [runtimes] Updated remaining samples/runtimes 2017-04-11 13:14:53 +02:00
badlogic
58f7f17b37 [ts][widget] Enabled two color tinting by default. Fixed WebGL warnings 2017-04-07 15:14:54 +02:00
badlogic
0b40dd7a9f Updated exports 2017-03-27 10:19:51 +02:00
badlogic
b2d4fa4012 Merged with master, pulling in change from MathUtils -> TrigUtils in spine-libgdx as well as Maven pom.xml 2017-03-24 14:15:24 +01:00
badlogic
2585dc16ab [ts] Fixed widget example, using var instead of let 2017-03-22 17:30:06 +01:00
badlogic
1bb212a110 [ts] Merged with master. 2017-03-07 11:57:19 +01:00
badlogic
94f100a1cf [ts][widget] Actually use config.loop field. Closes #853. 2017-03-07 11:52:27 +01:00
badlogic
d5297334c0 [ts][widget] Fix handling of config.atlasContent and config.jsonContent. Closes #854 2017-03-07 11:50:25 +01:00
badlogic
6a4a667458 Merged master manually 2017-03-02 13:35:36 +01:00
badlogic
8a7ac93f6f [ts][widget] Added jsonContent and atlasContent fields to widget configuration. Allows to pass content directly instead of fetching it from a URL. See README.md. Closes #844 2017-03-02 13:33:00 +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
808aea73c6 [ts] Fixed all backends. Need to implement TwoColorBatcher for WebGL backend 2017-01-26 16:35:21 +01:00
badlogic
52d60bae82 [ts] Added ability to specify multi-page atlas images in widget. See README for details. Closes #786. 2016-12-01 11:47:55 +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
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
d2c4a2b1bc [ts] New demos, tons of fixes 2016-08-30 09:46:06 +02:00
badlogic
59872a1cb9 [ts] Added debug rendering to widget, see README.md for details on how to enable and configure it 2016-08-23 14:25:44 +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
23f2a50821 [ts] Added Canvas backend, also does meshes 2016-08-16 12:37:53 +02:00
Nathan Sweet
698c4a1661 [ts] Added spine-ts runtime for TypeScript and JavaScript 2016-08-12 09:28:50 +02:00