50 Commits

Author SHA1 Message Date
badlogic
941a9bd685 [runtimes] Ported fix for attachmentThreshold, see #1204. 2018-12-04 17:25:26 +01:00
badlogic
05d5f6d6e0 [ts][player] Added viewport transitions between animation changes. Configurable via config.viewport.transitionTime. 2018-11-23 14:43:53 +01:00
badlogic
f6eb468d32 [ts][player] Added user defined global and per animation viewport. Viewports can also have padding. 2018-11-23 14:18:48 +01:00
badlogic
8610fd5446 [ts][player] Interface for per animation viewport config. 2018-11-23 10:50:15 +01:00
badlogic
db7d6b2cc2 [ts][player] Per animation viewports. 2018-11-22 17:31:22 +01:00
badlogic
88aaa7e70c [ts][player] Handle fullscreen changes on mobile correctly. 2018-11-22 16:49:47 +01:00
badlogic
980ae773d3 [ts][player] Popup stays within bounds of player. 2018-11-22 15:53:44 +01:00
badlogic
8e84c34999 [ts][player] Fixed more issues. Scrollsbar and docs are the last two issues. 2018-11-21 16:58:02 +01:00
badlogic
369323b24a [ts][player] Style changes. 2018-11-19 17:26:31 +01:00
badlogic
30afc61b8f [ts][player] Fixed timeline slider and speed slider. 2018-11-19 16:03:39 +01:00
badlogic
0053a14965 [ts][player] Better css, fixed showControls validation not working. 2018-11-19 15:12:31 +01:00
badlogic
44552cd809 [ts] Rebuild artifacts. 2018-11-15 15:56:38 +01:00
badlogic
bd56277432 [ts][player] Fixed hover detection. 2018-11-15 14:39:28 +01:00
badlogic
94eec340c4 [ts][player] Fixed text selection on speed slider modification in FF, added snapping to speed slider, added hiding timeline if mouse doesn't move for 1 second except when popup is active or mouse is over controls, decided against popup centered over button, removed Show prefix from debug popup, added hiding buttons if there is only one skin/animation, fixed control bone not moving when paused. 2018-11-14 14:29:27 +01:00
badlogic
3c61589312 [ts][player] more clean-up. 2018-11-08 17:44:12 +01:00
badlogic
bf29fcee11 [ts][player] Cleaned up and documented config object. Added separate .css file for player styles. 2018-11-08 17:38:19 +01:00
badlogic
49ba1d2bd9 [ts][player] Added controllable bones to player. 2018-11-08 16:00:23 +01:00
badlogic
5bd37ca739 Added almost all player features for V1, missing mouse/touch zoom and pan and controllable bones. 2018-11-07 18:03:37 +01:00
badlogic
2597e11ee0 [ts][widget] Added fullscreen capabilities. 2018-11-02 17:20:10 +01:00
badlogic
c0f1f24a34 [ts][widget] First iteration of new Spine Player complete. 2018-11-02 16:59:48 +01:00
badlogic
11f00040f5 Slider, loading done. 2018-11-02 10:14:15 +01:00
badlogic
d1622c0dab Beginnings of a Spine player that's more advanced than the existing widget. 2018-11-01 15:51:03 +01:00
KITAGAWA Yasutaka
35703dbce9 fix loading multi page atlas (#1124) 2018-06-07 16:42:33 +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
58f7f17b37 [ts][widget] Enabled two color tinting by default. Fixed WebGL warnings 2017-04-07 15:14:54 +02: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
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
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