Commit graph

16515 commits

Author SHA1 Message Date
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
Brown Dragon
ca0ca97f59 Fix up tiled json parsing.
Phaser currently discards the tiled `type` field (which is very useful for objects-from-tiles, as well as somewhat useful for handling tile variants).
It also discards wang set information, which is somewhat meaningful.

This diff adds both back; let me know if it goes too far and I can restrict it to only including `type`.
2020-10-12 19:54:14 -04: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
Richard Davey
e526af7cb9 Lint fix 2020-10-12 13:38:57 +01:00
Richard Davey
e62d8bbeb8 Update CHANGELOG-v3.50.md 2020-10-12 13:31:33 +01:00
Richard Davey
3e2041a3c5 Overhauled createFromObjects to make it much more useful. Fix #3817 #4613 2020-10-12 13:31:30 +01:00
Richard Davey
80287f6ee4 Path fixes 2020-10-12 11:51:05 +01:00
Richard Davey
04d80a8b5c Allow use of old method calls for now 2020-10-12 11:50:13 +01:00
Richard Davey
6e3561f339 Update CHANGELOG-v3.50.md 2020-10-12 11:48:20 +01:00
Richard Davey
24777aa327 No need for isoCullDistances, just use existing cullPadding properties 2020-10-12 11:42:01 +01:00
Richard Davey
607fec9450 Use a cached Rectangle for speed 2020-10-12 11:40:52 +01:00
Richard Davey
0ba1f08f80 The Static and Dynamic Tilemap Layer objects have been removed and consolidated into the new TilemapLayer class. 2020-10-12 11:40:40 +01:00
Richard Davey
63d2beb903 Deps update 2020-10-12 11:39:53 +01:00
Richard Davey
fb11821730 Fixed lots of missing JSDocs 2020-10-12 11:33:33 +01:00
Richard Davey
ae4c45f14a Fixed renderer so it draws multi tileset isometric tiles properly 2020-10-11 23:05:08 +01:00
Richard Davey
f00bb446f8 Formating fix 2020-10-11 23:04:11 +01:00
Richard Davey
9e68f41118 Formatting 2020-10-11 23:04:00 +01:00
Richard Davey
39f74d2e95 Use a cached vector to save constant allocation and fixed y culling limit 2020-10-11 23:03:52 +01:00
Richard Davey
2e50061699 Opps :) 2020-10-10 11:38:16 +01:00
Richard Davey
e347bd0e2a Cam3D plugin updated for 3.50 2020-10-10 10:29:12 +01:00
Richard Davey
7403887099 Preparing for beta 9 2020-10-09 17:56:37 +01:00
Richard Davey
5639862010 Update GenerateGridVerts.js 2020-10-09 17:20:40 +01:00
Richard Davey
2801d3d804 Added setUVs method 2020-10-09 16:22:27 +01:00
Richard Davey
acfb6c469f Much more powerful grid generation now 2020-10-09 16:22:19 +01:00
Richard Davey
caa69b673d Better debug rendering 2020-10-09 14:57:07 +01:00
Richard Davey
4eb5bbdc8b Removed un-needed files 2020-10-09 13:25:26 +01:00
Richard Davey
65e4a7734a Updated docs 2020-10-09 12:07:37 +01:00
Richard Davey
3d677a7996 Update CHANGELOG-v3.50.md 2020-10-09 11:55:04 +01:00
Richard Davey
50a0f0705f Face is now responsible for determining if it can be rendered, or not. Split the update and load process into two. 2020-10-09 11:55:00 +01:00
Richard Davey
abdd62dd57 Will no longer render Faces it cannot see in the Camera 2020-10-09 11:54:37 +01:00
Richard Davey
88feadb577 Fixed JSDocs, added totalRendered property. 2020-10-09 11:54:19 +01:00
Richard Davey
f77a5de32c Geom.Mesh.RotateFace is a new function that will rotate a Face by a given amount, based on an optional center of rotation. 2020-10-09 11:53:57 +01:00
Richard Davey
bf8cd60aab Added ability to rotate data on import 2020-10-08 15:53:13 +01:00
Richard Davey
c05cec3ba0 Added JSDocs 2020-10-08 14:40:32 +01:00
Richard Davey
79a1264f8b Fixed property name 2020-10-08 14:40:25 +01:00
Richard Davey
84ddb242f7 Update CHANGELOG-v3.50.md 2020-10-08 14:09:59 +01:00
Richard Davey
af0a4dbd37 Updated Mesh to include new functions and docs 2020-10-08 13:24:23 +01:00
Richard Davey
e46ba609a8 Expose new functions 2020-10-08 13:24:09 +01:00
Richard Davey
2f85c8a8ba Added normals parameters 2020-10-08 13:24:01 +01:00
Richard Davey
e3f7048e22 Removed moved defs 2020-10-08 13:23:44 +01:00
Richard Davey
8838781aa1 Create GenerateGridVerts.js 2020-10-08 13:23:24 +01:00