57 Commits

Author SHA1 Message Date
badlogic
08451f2a8d [ts][webgl] Exposing the renderers in SceneRenderer. 2017-11-17 15:40:39 +01:00
badlogic
246c5310d4 [ts][webgl] SceneRenderer method to draw textures with manually set UVs. 2017-11-17 14:39:53 +01:00
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
936a7b048f [ts] Updated build to include new tint black shader. 2017-09-28 11:24:00 +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
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
7f864d6bc5 [lua] Fixed typo in SkeletonJson, closes #893 2017-05-08 12:39:16 +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
6a5e035cb5 [ts][webgl][widget] Fixed issues in Safari. Constants like SRC_ALPHA seem to no longer be exposed in Safari through WebGLRenderingContext properties. Closes #886 2017-04-26 15:56:52 +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
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
5af8185261 [ts][webgl][widget] Fixed SceneRenderer, immediate mode rendering methods didn't take into account two color tint shader 2017-04-07 15:50:22 +02:00
badlogic
030da37e6b [ts] Ported dipping problem fix, see #867 2017-03-31 12:12:22 +02:00
badlogic
1bb212a110 [ts] Merged with master. 2017-03-07 11:57:19 +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
be9b522237 [ts] Updated README.md describing compatibility and how to disable two color tinting in WebGL backend. 2017-02-24 15:18:30 +01: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
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
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
NathanSweet
6e09ef7320 [ts] Updated loading screen. 2016-09-13 12:01:23 +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
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
badlogic
15c82b221a [ts] Refactored demos so we can load them sequentially 2016-08-30 12:07:33 +02:00
badlogic
d2c4a2b1bc [ts] New demos, tons of fixes 2016-08-30 09:46:06 +02: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
fc2e4b557d [ts] added demos 2016-08-25 14:28:19 +02:00
badlogic
a69aec8a76 [ts] Added various helper classes to make writing demos easier 2016-08-24 15:58:31 +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