6786 Commits

Author SHA1 Message Date
badlogic
47e706c972 [ts] More demo polishing 2016-08-31 16:53:48 +02:00
badlogic
87a793f31e [ts] Removed alert in Input.ts, refactored spritesheet demo 2016-08-31 12:22:59 +02:00
badlogic
0e59f99956 [ts] Removed demo assets, we now load from the server (using CORS). Enabled PMA for all demos, rewired some assets 2016-08-31 11:56:30 +02:00
NathanSweet
6c1d8c804e Merge remote-tracking branch 'origin/master' 2016-08-30 22:55:03 +02:00
NathanSweet
05bf924897 Check if region is null before property assignment. 2016-08-30 22:54:46 +02:00
badlogic
cb91cc277b [ts] More demo work 2016-08-30 16:27:09 +02:00
badlogic
15c82b221a [ts] Refactored demos so we can load them sequentially 2016-08-30 12:07:33 +02:00
badlogic
d5688bf999 [ts] Added transform constraint demo 2016-08-30 11:06:00 +02:00
badlogic
973a078c1c Merge branch 'master' of https://github.com/esotericsoftware/spine-runtimes 2016-08-30 09:46:13 +02:00
badlogic
d2c4a2b1bc [ts] New demos, tons of fixes 2016-08-30 09:46:06 +02:00
NathanSweet
263b47c376 Proper rotation mixing.
#621
2016-08-29 19:45:08 +02:00
NathanSweet
b6660fa41c Don't add skeleton position to bone worldX/Y. 2016-08-29 19:44:40 +02:00
NathanSweet
6bb3e49627 Remember all settings. 2016-08-29 19:44:26 +02:00
NathanSweet
7292b7d720 Lines for skeleton origin. 2016-08-29 14:21:14 +02:00
pharan
67e5f31356 Merge branch 'master' of https://github.com/EsotericSoftware/spine-runtimes 2016-08-29 17:18:29 +08:00
pharan
e0ee7ce4f5 [unity] Some cleanup and documentation. 2016-08-29 17:17:56 +08:00
pharan
ee324f4bde [unity] Make SkeletonDataAsset safer to create at runtime. 2016-08-29 17:17:28 +08:00
pharan
13f433d13d [unity] Fix compatibility with Unity 5.1. 2016-08-29 17:10:52 +08:00
badlogic
c20fc44cda [ts] Fixed up demos to work with the terrible jquery-ui 2016-08-29 11:09:41 +02:00
NathanSweet
ae7ca98b8e Allow attachment loader to return null. 2016-08-27 14:53:02 +02:00
pharan
3af5290e23 [unity] Fix SkeletonRendererInspector narrow labels. Added PMA Vertex Colors field. 2016-08-27 12:03:45 +08:00
pharan
c9ffdc7eae [unity] Fix SkeletonGraphic not applying PMA to vertex colors. 2016-08-27 11:38:22 +08:00
badlogic
4340e58518 [ts] More demos 2016-08-26 16:19:31 +02:00
badlogic
830a2ad040 [ts] Added playback controls to demos 2016-08-26 11:29:02 +02:00
badlogic
93dd99a4a4 [cocos2dx] Closes #685, used FLT_MIN incorrectly in bounds calculation 2016-08-26 10:34:14 +02:00
NathanSweet
bae19bdf32 Only compute timelinesLast for tracks that need it. 2016-08-25 16:03:07 +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
mogemimi
84ab430dee [c] Fix variable shadowing warning (#684) 2016-08-25 10:14:20 +02:00
NathanSweet
81d7c1daeb Never prefer empty animation when interrupting a mix. 2016-08-24 22:27:02 +02:00
NathanSweet
a840f4f959 Added timelinesLast to determine when to fade out. Clean up, fixes. 2016-08-24 21:04:25 +02:00
NathanSweet
5edcd916cc Changed skeleton x,y to be propagated using the root bone world x,y.
Can't remember any good reason not to do this.
2016-08-24 21:02:55 +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
fe97a774ea [c] Updated README.md to reflect that we now support binary loading. Thanks @Hinidu 2016-08-24 10:43:21 +02:00
Pavel Platto
278dfba922 [c] Implement binary skeleton loader. (#680)
* [c] Implement binary skeleton loader.

* [sfml] Use skeleton binary loader in example.

* [c] Remove spAnimation_createWithTimelines.
2016-08-24 10:42:08 +02:00
NathanSweet
5c9b41a748 Clean up. 2016-08-23 22:36:32 +02:00
NathanSweet
d9a1d76471 Moved interrupt to before start. 2016-08-23 21:28:16 +02:00
NathanSweet
014f229af9 Clean up, javadoc. 2016-08-23 18:25:01 +02:00
NathanSweet
c9fdfdf501 Added mixDuration resetTrack, added set/addEmptyAnimation methods. 2016-08-23 18:08:49 +02:00
NathanSweet
fd81d31278 Fixed resetTrack when a default mix time is used. 2016-08-23 17:38:37 +02:00
NathanSweet
bc05861a0c Added resetTrack. 2016-08-23 17:09:59 +02:00
NathanSweet
3c57c03952 Searching for sanity. 2016-08-23 16:39:16 +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
ef4b04756c [ts] Added ShapeRenderer and SkeletonDebugRenderer, added to WebGL test 2016-08-23 14:11:45 +02:00
NathanSweet
0a90565ba1 AnimationState#apply has no side effects. 2016-08-23 09:55:06 +02:00
NathanSweet
285aead074 Draw order timeline. 2016-08-22 22:54:58 +02:00
NathanSweet
4c2d2b0c0a Moved track changes to update, so AnimationState can be applied to multiple skeletons without side effects.
Also:
- Moved queue drains outside of update loop.
- Better naming.
- Dirty flag after animations have been changed to avoid computing timelinesFirst more times than needed.
- Don't use timelinesFirst when mix == 1.
2016-08-22 21:39:42 +02:00
NathanSweet
ef2a440655 Always mix, even when mix duration is 0, to give the old animation a chance to reset its changes. 2016-08-22 19:39:48 +02:00