Commit graph

18899 commits

Author SHA1 Message Date
Richard Davey
3e075bf018 Added forceClamp parameter 2023-03-27 17:48:27 +01:00
samme
e9e87bf8b7 Clear tiles when destroying tilemap 2023-03-26 14:31:52 -07:00
Richard Davey
5391116f09 Update CHANGELOG-v3.60.md 2023-03-26 17:42:25 +01:00
samme
3d386a055d Save tileset index, fix putting empty tile
Adds Phaser.Tilemaps.Tilemap#tiles

Fixes #6353
2023-03-26 09:34:25 -07:00
Richard Davey
3f318580d2
Merge pull request #6432 from samme/feature/GetBounds-output
Change GetBounds() default output type to Rectangle
2023-03-26 17:20:47 +01:00
Rex
bc1fcf7357 Suport staggerIndex-even with staggerAxis-y and staggerAxis-x 2023-03-25 20:47:45 +08:00
Rex
65c0f9f73b Support staggeraxis-x, staggerindex-odd 2023-03-25 11:54:41 +08:00
samme
22f6f08058 Change GetBounds() output to Rectangle 2023-03-24 18:04:48 -07:00
Kainage
469a7fac45
Merge branch 'photonstorm:master' into fix-particle-lifespan 2023-03-24 11:37:43 -07:00
Richard Davey
4eb5a180a7 Update CHANGELOG-v3.60.md 2023-03-24 18:35:32 +00:00
Richard Davey
2354e76280 Preparing for Beta 22 2023-03-24 15:44:02 +00:00
Richard Davey
78b8d40d91 v3.60 Beta 21 Release 2023-03-24 15:42:34 +00:00
Richard Davey
23d255ef38 Ignore phaser-esm 2023-03-24 15:41:07 +00:00
Richard Davey
cd58dd5f3a Fix doc types 2023-03-24 15:41:01 +00:00
Richard Davey
d9e98a7e85 Mesh and Plane now support setInteractive. Fix #6394 2023-03-24 00:07:11 +00:00
Richard Davey
01f06cddd8 Update CHANGELOG-v3.60.md 2023-03-23 17:15:57 +00:00
Richard Davey
7237299639 The GetBounds.getCenter method now has an optional includeParent argument, which allows you to get the value in world space. Also updated types. 2023-03-23 17:15:53 +00:00
Richard Davey
5658a46268 Webpack update 2023-03-23 14:27:33 +00:00
Richard Davey
5944a8f5a2 Add default origin. Fixes setInteractive(). 2023-03-23 00:34:21 +00:00
Richard Davey
dd98011eb3 Added custom hitAreaCallback for #6394 2023-03-22 18:51:46 +00:00
Richard Davey
f8faec2702 Fixed reference and removed mapData check 2023-03-22 18:23:36 +00:00
Richard Davey
8d5ef0e1e1 Update CHANGELOG-v3.60.md 2023-03-22 18:01:36 +00:00
Richard Davey
c850e85ca4 The TilemapLayer.skipCull feature wasn't being applied correctly for Isometric, Hexagonal or Staggered tiles, only for Orthographic tiles (the default). It will now respect the skipCull property and return all tiles during culling if enabled. Fix #5524 2023-03-22 18:01:34 +00:00
Richard Davey
fe0c0639c1 Update CHANGELOG-v3.60.md 2023-03-22 17:45:35 +00:00
Richard Davey
ae449ad27b Added missing PostPipeline class 2023-03-22 17:45:31 +00:00
Richard Davey
b5f1b2b588 The MatterTileBody class, which is created when you convert a Tilemap into a Matter Physics world, will now check to see if the Tile has flipX or flipY set on it and rotate the body accordingly. Fix #5893 2023-03-22 17:45:18 +00:00
Richard Davey
85d1673cce Set directly on Sprite if a property, otherwise use setData. Fix #6391 2023-03-22 16:41:13 +00:00
Richard Davey
881d62075f Remove console.logs. Fix #6420 2023-03-22 16:19:55 +00:00
Richard Davey
c7aaf3ba52 Update CHANGELOG-v3.60.md 2023-03-22 16:14:52 +00:00
Richard Davey
674057ac57 New Beta 21 dist build with first ESM test 2023-03-22 16:06:33 +00:00
Richard Davey
cea9995a9b Create phaser-esm.js 2023-03-22 16:05:58 +00:00
Richard Davey
f6af98fede Added module declaration 2023-03-22 16:05:43 +00:00
Richard Davey
e9a34bfedc Updated copy scripts 2023-03-22 16:05:29 +00:00
Richard Davey
d5cfea045c Updated configs to use webpack5 and export an ESM version of Phaser 2023-03-22 16:04:57 +00:00
Richard Davey
3dc0b77374 Update .eslintignore 2023-03-22 16:04:36 +00:00
Richard Davey
dd223d4aa3 fs-extra update 2023-03-22 14:05:42 +00:00
Richard Davey
b175ae1778 Testing esm build 2023-03-22 13:32:05 +00:00
Richard Davey
376107b25f Finally finished all FX documentation 2023-03-21 18:04:34 +00:00
Richard Davey
ed6287e9a9 More FX documentation finished 2023-03-21 17:57:27 +00:00
Richard Davey
b89a10c99d Lots more documentation finished 2023-03-21 17:21:45 +00:00
Richard Davey
f83debe894 Added lots of documentation 2023-03-20 18:44:48 +00:00
Richard Davey
f83cf124aa Added destroy method 2023-03-20 18:28:58 +00:00
Richard Davey
42610c4fa6 Finished documentation and added destroy method 2023-03-20 18:28:42 +00:00
Richard Davey
5805925cc6 Fixed PostFX on custom render objects 2023-03-20 17:27:18 +00:00
Richard Davey
392640fe93 Fixed Mesh Renderer to work with PostFX 2023-03-20 17:00:30 +00:00
Richard Davey
ae83886729 Update CHANGELOG-v3.60.md 2023-03-20 15:22:30 +00:00
Richard Davey
6282d89f17
Merge pull request #6421 from samme/fix/scene-shutdown-loader
Fix error stopping a scene without a loader
2023-03-20 15:21:31 +00:00
Richard Davey
5a486bec6d
Merge pull request #6423 from samme/docs/misc-10
Docs
2023-03-20 15:20:52 +00:00
Richard Davey
97387f36f2 Get textureUnit even if batch not flushed 2023-03-20 15:20:35 +00:00
Richard Davey
1750caca18 Update PreFXPipeline.js 2023-03-20 15:20:22 +00:00