141 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
e6c2b75101 [ts] More test refactoring. 2017-10-30 14:12:03 +01:00
badlogic
470ae4a1f3 [ts] More test refactoring. 2017-10-30 14:09:56 +01:00
badlogic
de3acaf084 [ts] reworked example/tests 2017-10-30 14:06:41 +01:00
badlogic
f14db028b0 [ts] More playground changes. 2017-10-13 17:17:45 +02:00
badlogic
c4df324038 [ts] playing around with playground. 2017-10-13 16:49:03 +02:00
Ivan Popelyshev
8506e16f2d fix dark in both pma and non-pma (#993) 2017-09-28 11:22:48 +02:00
badlogic
7652eb47ba [webgl] Updated pma tint black demo to include Ivan's shader from #993. 2017-09-25 15:02:46 +02:00
badlogic
1b9762a54f [webgl] Added PMA & tint black test. 2017-09-25 14:21:48 +02:00
badlogic
b838248e39 [webgl] jugglin in canvases at 10% margins, render in scroll callback. Alleviates black canvases of death a little bit, but not much. 2017-09-15 16:31:50 +02:00
badlogic
e68f1cb4cc [webgl] Fixed css of canvases for standalone demos. On FF Android, the context limit is 2, so we adhere to that now, resulting in terrible artifacts. Using 5 preallocated contexts for other browsers. 2017-09-15 13:59:51 +02:00
badlogic
61394b9317 [webgl] Increased number of preallocated canvases to 4, seems save on mobile. 2017-09-15 10:59:39 +02:00
badlogic
cb9e025390 [webgl] Added visibility check to demo mainloop. 2017-09-15 10:07:43 +02:00
NathanSweet
705a523949 Fixed up layout to be similar to real demos page. 2017-09-14 20:22:03 +02:00
NathanSweet
1cb78f658d Shoot after moving hoverboard crosshair. 2017-09-14 20:21:41 +02:00
badlogic
4fe53ac856 [webgl] Refactored WebGL demos. They reuse a preallocated set of canvases to limit the number of WebGL contexts required. At most 3 canvases can be visible at a time, so we preallocate 3 canvases, then dynamically attach them to placeholder divs based on their visibility. I'm a juggalo. 2017-09-14 15:47:51 +02:00
badlogic
ff1a81bab3 [webgl] Refactored demos to use preallocated canvas & context 2017-09-14 12:15:23 +02:00
badlogic
c6d7af8e96 Added demo page copy for debugging 2017-09-14 11:06:54 +02:00
NathanSweet
bcea86ab95 Added die button. 2017-09-13 13:19:31 +02:00
NathanSweet
b3156573bf Spineboy hoverboard demo, slightly better mixing on jump land. 2017-09-13 11:20:37 +02:00
NathanSweet
43e1c6b708 Fixed raptor demo desync with frame-by-frame after playing animation. 2017-09-13 00:39:24 +02:00
NathanSweet
0e9b434385 Jump for IK demo. 2017-09-13 00:33:50 +02:00
NathanSweet
d12251ae19 Fixed raptor demo dust. 2017-09-13 00:33:41 +02:00
NathanSweet
5bccbce94b [spine-ts] Clean up alien demo. 2017-09-12 22:53:48 +02:00
badlogic
27096d64cf [ts] updated viewport check in utils.js 2017-09-12 11:32:38 +02:00
Nathan Sweet
0033209e87 Aim and shoot buttons for hoverboard demo. 2017-09-11 23:23:24 +02:00
Nathan Sweet
eb5fa18be7 Updated clipping demo. 2017-09-11 22:03:35 +02:00
Nathan Sweet
b493b0ad67 Added clipping demo. 2017-09-11 21:53:45 +02:00
Nathan Sweet
b14fb26ad8 Updated spineboy and alien demos. 2017-09-11 21:35:35 +02:00
badlogic
b685e490c1 [ts][webgl] Fixed vertex effects for clipped attachments 2017-06-21 16:19:49 +02:00
badlogic
40010cb228 [ts] Fixed SwirlEffect 2017-06-21 16:08:17 +02:00
badlogic
5aebd65c01 [ts][webgl] Added VertexEffect, SwirlEffect and JitterEffect, and implemented it in WebGL SkeletonRenderer. SwirlEffect is a bit broken.. 2017-06-21 15:43:54 +02:00
badlogic
9bd1153518 Updated examples and runtime demo code 2017-06-19 16:47:28 +02:00
badlogic
95f3a1fe17 [c] Fixed bug in Triangulator/SkeletonClipping regarding labeled gotos. Closes 895 2017-05-09 15:00:34 +02:00
badlogic
fdf6aba634 [ts] Fixed memory leak in Triangulator. Added coin example to WebGL test 2017-05-04 14:11:11 +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
0d33ee5294 [xna] Updated samples 2017-04-21 10:46:58 +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
297362f246 [ts] Fixed WebGL demos 2017-04-18 11:42:05 +02:00
badlogic
8bd058f82e [starling] Updated to Starling 2.1. Added coin sample 2017-04-14 15:58:15 +02:00
badlogic
bd16d0fde8 [ts][threejs] Implemented clipping. 2017-04-13 10:45:25 +02:00
badlogic
d4266cf89a [ts][webgl][widget] Implemented clipping, updated README.md and CHANGELOG 2017-04-12 14:14:34 +02:00
badlogic
06f32233c0 [ts] Ported SkeletonClipping 2017-04-11 16:05:41 +02:00
badlogic
778055ae5b [ts] Added ClippingAttachment and loading in SkeletonJson. Updated coin example 2017-04-11 15:30:34 +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
8920840ecf [starling] Fixed renderer, ignores path attachments. Fixed samples, click on sprites to advance to next sample. Updated assets 2017-04-11 13:11:02 +02:00