49 Commits

Author SHA1 Message Date
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
787a525a93 [runtimes] Closes #842, sorting of transform constraints 2017-02-23 15:44:31 +01:00
badlogic
9cd5f25cdb [ts] Moved conversion to typed array to minimize allocations 2017-02-23 13:33:40 +01:00
badlogic
0b8913691a [ts] Closes #838, modified vertices of input JSON when reading mesh attachment. Breaks when input JSON is reused 2017-02-21 11:48:07 +01:00
badlogic
f617ff635f [runtimes] Added parsing of local/relative properties of TransformConstraints in SkeletonJson 2017-02-20 11:22:26 +01:00
badlogic
30b3d9904e [ts] Fixed bug in MeshAttachment.setParentMesh, wasn't assinging worldVerticesLength 2017-01-30 15:19:15 +01:00
badlogic
7ac7afac2c [as3][starling] 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. 2017-01-27 11:43:04 +01:00
badlogic
e49b587fa8 Merged latest from master 2017-01-27 09:47:00 +01:00
badlogic
8f99571185 [ts][libgdx] Fixed TwoColorTimeline ordinal 2017-01-26 14:56:05 +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
1246bf85c6 [ts] Ported fix from f3dbc650f83ae698443bb34ad4034dad9946fa08 2016-12-28 21:33:20 +01:00
badlogic
75e9b49d0c [ts] Ported d77e1fbc53ba809b255db7ceda26f2c1f6c74739 2016-12-15 14:54:28 +01:00
badlogic
05ba66efe0 [ts] Fix for clearTracks, see #805 2016-12-15 13:34:54 +01:00
badlogic
ac48da3a14 [ts] Ported latest AnimationState changes, see c512ee5d595076842cbb12d95a3a7f06792b81d1 2016-12-06 13:43:44 +01:00
badlogic
fb327d9000 [ts] Ported latest AnimationState changes. See #792 2016-12-02 15:38:30 +01:00
badlogic
3c254deb31 [ts] Fix for rotation timelines in AnimationState 2016-11-29 13:06:08 +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
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
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
badlogic
726543960b [ts] Closes #714, don't require all callbacks in an animationstate listener to be set 2016-10-03 15:21:13 +02:00
badlogic
691c33d9a9 [ts] Closes #699, bug in Skin#attachAll 2016-09-26 12:13:18 +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
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
18b0463669 [ts] Demos done 2016-09-02 16:45:35 +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
e5032250bc [ts] Getting close to being done with demos 2016-09-01 17:12:50 +02:00
badlogic
348b11e275 [ts] More demo work 2016-09-01 14:46:36 +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
05bf924897 Check if region is null before property assignment. 2016-08-30 22:54:46 +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
1a24433403 [ts] Fixed examples to use full page size and scale animations automatically 2016-08-19 12:18:26 +02:00
badlogic
b9afff01fd [ts] THREE.JS backend, revised batching using interleaved buffers, WIP 2016-08-17 16:04:27 +02:00
badlogic
23f2a50821 [ts] Added Canvas backend, also does meshes 2016-08-16 12:37:53 +02:00
badlogic
847bd2a76c [ts] More refactoring for greater code reuse 2016-08-16 10:41:28 +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