Commit graph

16203 commits

Author SHA1 Message Date
Richard Davey
7add222a87 Update SpineGameObjectCanvasRenderer.js 2020-10-16 14:11:40 +01:00
Richard Davey
9a2c7ab154 Removed interpolationPercentage parameter 2020-10-16 14:11:34 +01:00
Richard Davey
75f857b645 Update WebGLRenderer.js 2020-10-16 14:11:21 +01:00
Richard Davey
e50339b144 Updated to use new filtered children list 2020-10-16 14:11:15 +01:00
Richard Davey
beb26164a1 New debug build 2020-10-16 13:52:00 +01:00
Richard Davey
03bcacba2a Update SpineGameObjectWebGLRenderer.js 2020-10-16 13:51:52 +01:00
Richard Davey
7020637b63 Update CHANGELOG-v3.50.md 2020-10-16 13:51:43 +01:00
Richard Davey
923b1351fa The Spine Plugin now uses a single instance of the Scene Renderer when running under WebGL. All instances of the plugin (installed per Scene) share the same base Scene Renderer, avoiding duplicate allocations and resizing events under multi-Scene games. Fix #5286 2020-10-16 13:51:40 +01:00
Richard Davey
8e9ae2b732 Update CHANGELOG-v3.50.md 2020-10-16 11:38:27 +01:00
Richard Davey
ff893b801a New plugin build 2020-10-16 11:38:23 +01:00
Richard Davey
71226a1548 Testing if we can just pass off rendering directly. 2020-10-16 11:38:16 +01:00
Richard Davey
3fa295f541 Vastly reduced the complexity of the rendering. Now only gets called if it will actually render. 2020-10-16 11:38:04 +01:00
Richard Davey
67f24ea363 SpineGameObject.willRender is no longer hard-coded to return true. It instead now takes a Camera parameter and performs all of the checks needed before returning. Previously, this happened during the render functions. 2020-10-16 11:37:23 +01:00
Richard Davey
d35ff331b2 Now takes a pre-filtered list of children to render 2020-10-16 11:36:00 +01:00
Richard Davey
84c1344f63 CameraManager.getVisibleChildren is a new method that is called internally by the CameraManager.render method. It filters the DisplayList, so that Game Objects that pass the willRender test for the given Camera are added to a sub-list, which is then passed to the renderer. This avoids the renderer having to do any checks on the children, it just renders each one in turn. 2020-10-16 11:35:45 +01:00
Richard Davey
653c2ee600 Parallel and divide by zero fix 2020-10-15 18:08:35 +01:00
Richard Davey
1c37e2172f Update CHANGELOG-v3.50.md 2020-10-15 12:20:27 +01:00
Richard Davey
ae6112297a Default tint value should now be 0xffffff. Fix #5358 2020-10-15 12:19:17 +01:00
Richard Davey
1ea165888e Update CHANGELOG-v3.50.md 2020-10-15 12:01:15 +01:00
Richard Davey
37c9b0884d Updated Polygon points type. Fix #5357 2020-10-15 12:01:13 +01:00
Richard Davey
8a01ae1cb7 Call the component directly to avoid lots of function diving 2020-10-15 11:47:24 +01:00
Richard Davey
536f08a4bf Avoid deep diving into loads of functions 2020-10-15 11:47:11 +01:00
Richard Davey
67b787ab7c Update GetTilesWithinWorldXY.js 2020-10-15 11:09:52 +01:00
Richard Davey
db2fdc14d1 Update GetTileAt.js 2020-10-15 11:09:37 +01:00
Richard Davey
f130f5e9a3 Fixed incorrect parameter type 2020-10-15 11:09:19 +01:00
Richard Davey
b4fed98aa2 Update SetCollisionBetween.js 2020-10-15 11:08:18 +01:00
Richard Davey
8d2e7b08c5 Update World.js 2020-10-15 11:07:51 +01:00
Richard Davey
417e57c199 Update Collider.js 2020-10-15 11:07:27 +01:00
Richard Davey
0f87981f47 Improved docs 2020-10-15 11:07:22 +01:00
Richard Davey
c03b5af079 Use mesh size 2020-10-15 10:09:02 +01:00
Richard Davey
020cfab2d6 Fixed issue with no mesh specified and texture getting 2020-10-15 09:58:54 +01:00
Richard Davey
1e01f74bdc Update CHANGELOG-v3.50.md 2020-10-14 16:32:33 +01:00
Richard Davey
f17743dadf Changed updateProjectionMatrix to setPerspective and added setOrtho counterpart 2020-10-14 16:32:29 +01:00
Richard Davey
e79ec0c96c Generate Grid can now calculate w/h based on ortho texture 2020-10-14 16:32:06 +01:00
Richard Davey
675eec8103 Better attenuation 2020-10-14 15:16:35 +01:00
Richard Davey
2a1223184f New debug build 2020-10-14 15:16:21 +01:00
Richard Davey
271c88fab3 Handle negative scales 2020-10-14 15:16:07 +01:00
Richard Davey
cc167e158f Much better effect from the light shader 2020-10-14 11:57:58 +01:00
Richard Davey
d3d0c71fe4 Fixed shader for clip-space 2020-10-13 22:34:26 +01:00
Richard Davey
b1a5ce7f55 Testing new batched lights 2020-10-13 18:17:30 +01:00
Richard Davey
f74ab77431 Update webpack.config.js 2020-10-13 11:04:52 +01:00
Richard Davey
61c0e1c499 Moved Text out of 'static' folder, as it doesn't need to be in there 2020-10-13 11:04:46 +01:00
Richard Davey
8708255948 Removed Layer3D Game Object and old MeshPipeline 2020-10-13 10:56:21 +01:00
Richard Davey
9d23735a23 Lint fix 2020-10-13 10:51:17 +01:00
Richard Davey
19f581327e Removed Animation component because it would reset the UV coords every frame, so makes things overly complex 2020-10-13 10:50:42 +01:00
Richard Davey
98e877aaeb Preparing for beta 10 2020-10-12 16:29:39 +01:00
Richard Davey
30da731642 Because webpack 5.0.0 is broken af 2020-10-12 15:18:41 +01:00
Richard Davey
036a1763f5 Update CHANGELOG-v3.50.md 2020-10-12 13:56:19 +01:00
Richard Davey
6c69a120e4 Update CHANGELOG-v3.50.md 2020-10-12 13:52:34 +01:00
Richard Davey
b3a74a6d5d ParseTilesets will now correctly handle non-consequtive tile IDs. It also now correctly sets the maxId property, fixing a bug where tiles wouldn't render if from IDs outside the expected range. Fix #4367 2020-10-12 13:52:31 +01:00