Commit graph

17297 commits

Author SHA1 Message Date
Richard Davey
1c859e48a5 Update CHANGELOG.md 2021-06-08 09:00:02 +01:00
Richard Davey
f7e9ed027a Merge branch 'master' of https://github.com/photonstorm/phaser 2021-06-08 08:58:21 +01:00
Richard Davey
5cd7d64126 Update package-lock.json 2021-06-08 08:58:19 +01:00
Richard Davey
5cf01e2d6a
Merge pull request #5725 from consolenaut/capacitor-file-fix
Fix Capacitor iOS file load issue
2021-06-08 08:57:47 +01:00
Josh Black
cea3d45719 Add capacitor:// to protocol check to prevent malformed double-url issue in capacitor 2021-06-02 12:30:33 +01:00
Richard Davey
3dc66c3a43 Preparing for 3.56 2021-06-01 16:11:42 +01:00
Richard Davey
01136d34a1 Update CHANGELOG.md 2021-06-01 16:11:31 +01:00
Richard Davey
f95d1d224b Animation.createFromAseprite would calculate an incorrect frame duration if the frames didn't all have the same speed. 2021-06-01 16:11:27 +01:00
Richard Davey
1a086fc57c 3.55.2 Release 2021-05-27 14:52:00 +01:00
Richard Davey
9cd5f56eea Fixed an issue in FillPathWebGL, IsoBoxWebGLRenderer and IsoTriangleWebGLRenderer functions which caused the filled versions of most Shape Game Objects to pick-up the texture of the previous object on the display list. Fix #5720 2021-05-27 14:48:40 +01:00
Richard Davey
72753356d0 3.55.1 Release 2021-05-26 15:51:31 +01:00
Richard Davey
f870e331b1 New TS Defs 2021-05-26 15:49:11 +01:00
Richard Davey
55b69e5d98 Made fromScene optional 2021-05-26 15:49:05 +01:00
Richard Davey
99db692224 Update CHANGELOG.md 2021-05-26 15:38:51 +01:00
Richard Davey
78b9215e2f Added the missing WebGLPipelineUniformsConfig type def. Fix #5718 (thanks @PhaserEditor2D) 2021-05-26 15:38:51 +01:00
Richard Davey
5552079c9d
Merge pull request #5717 from rexrainbow/destroy-from-scene
Add 'fromScene' parameter in GameObject.destroy() method, and DESTROY event
2021-05-26 15:29:35 +01:00
Richard Davey
c8cc337525 3.55.1 2021-05-26 15:24:17 +01:00
Richard Davey
5d9d543ce0 Fixed rendering calls. Fix #5712 2021-05-26 15:24:09 +01:00
Rex
07ff5de1e1 Add 'fromScene' parameter in GameObject.destroy() method, and DESTROY event 2021-05-26 16:25:12 +08:00
Richard Davey
3b160a2e9d Fixed jsdoc tags 2021-05-24 18:23:09 +01:00
Richard Davey
c7418bd1c3 Lint fix 2021-05-24 17:58:30 +01:00
Richard Davey
2d4326f836 Preparing for 3.56 dev 2021-05-24 17:56:08 +01:00
Richard Davey
6ac656da32 Updated for 3.55 release 2021-05-24 17:44:07 +01:00
Richard Davey
7bdde04348 3.55 dist 2021-05-24 17:42:56 +01:00
Richard Davey
3ca49f50fc Update phaser.d.ts 2021-05-24 17:37:34 +01:00
Richard Davey
0b944eb722 Updated version 2021-05-24 17:34:19 +01:00
Richard Davey
e2dd2bb5b8 Update CHANGELOG.md 2021-05-24 17:34:09 +01:00
Richard Davey
83fbeb97a8 Fixed jsdoc 2021-05-24 17:34:06 +01:00
Richard Davey
45ccff26e1 Fixed jsdoc name 2021-05-24 17:33:01 +01:00
Richard Davey
2845c187ae Update CHANGELOG.md 2021-05-24 17:24:03 +01:00
Richard Davey
3a6e82a042 The WebGLShader.set1fv, set2fv, set3fv, set4fv, set1iv, set2iv, set3iv, set4iv, setMatrix2fv, setMatrix3fv and setMatrix4fv methods no longer try to do array comparisons when setting the uniforms, but sets them directly. Fix #5670 2021-05-24 17:24:03 +01:00
Richard Davey
89b1c1e1b3 Update CHANGELOG.md 2021-05-24 17:24:03 +01:00
Richard Davey
68fb156ab1
Merge pull request #5694 from sebastianfast/master
#5689 moved _pending to beginning of function
2021-05-24 17:02:18 +01:00
Richard Davey
048c2772be
Merge pull request #5683 from karbassi/patch-1
GameObjectConfig allow type object
2021-05-24 17:00:38 +01:00
Richard Davey
f562354292
Merge pull request #5656 from valadaptive/faster-measure-text
Improve performance of MeasureText
2021-05-24 16:57:12 +01:00
Richard Davey
4a32a5cdb8
Merge pull request #5664 from rexrainbow/container-input-2
Invoke `addToRenderList()` before leaving render method
2021-05-24 16:54:43 +01:00
Richard Davey
23582a43a2
Merge pull request #5673 from rexrainbow/array-methods
Add MoveAbove, MoveBelow methods of List structure
2021-05-24 16:53:39 +01:00
Richard Davey
16eeb80d93
Merge pull request #5695 from Patapits/master
Fix WebGLPipelineAttributeConfig documentation
2021-05-24 16:52:41 +01:00
Richard Davey
06028bb2cd
Merge pull request #5704 from VektreX/master
Fixed video not resuming on regaining focus
2021-05-24 16:51:00 +01:00
Richard Davey
5d5d87cce3
Merge pull request #5706 from consolenaut/master
Fix Capacitor iOS audio issue
2021-05-24 16:48:53 +01:00
Richard Davey
566fb3e8af
Merge pull request #5711 from EmilSV/master
fixed type of ParticleEmitterConfig deathCallback to function
2021-05-24 16:48:00 +01:00
Emil Schnedler Vad
9fa971902b fixed type of ParticleEmitterConfig deathCallback to function 2021-05-24 16:42:01 +02:00
Brown Dragon
a420b6e46a Improve ObjectHelper docs even if they are just internal only 2021-05-21 09:49:19 -04:00
Josh Black
1a0b0beaae Add 'capacitor://' to local file check in loader File base class to allow capacitor-wrapped iOS apps to read media files 2021-05-18 08:06:45 +01:00
VektreX
b63bb53430 Reset _codePaused to false in play handlers to allow video to resume 2021-05-18 01:32:45 +02:00
Joshua Meyer
a0838c184f
dx1 !== 0 was an unnecessary restriction
In the previous version, if x1 == x2 the code was never able to detect an intersection even if there was one.

This limitation was because of the unnecessary division by dx1. With its removal it should work now.
2021-05-14 21:04:33 +02:00
Brown Dragon
02e67e682f Addresses https://github.com/photonstorm/phaser/issues/5697
This diff adds:
* `type` support to `createFromObjects`. See https://doc.mapeditor.org/en/stable/manual/custom-properties/#typed-tiles for the description in Tiled; this is currently not supported as a parameter, and its usage is documented within the diff.
* `createFromObjects` will also examine the tileset. As per the above link, created objects are supposed to inherit properties from the tile with the same gid, but Phaser doesn't do that right now. After this diff it optionally will, by passing an additional parameter to `createFromObjects`.
> NOTE: I'd be very happy to make this a default behavior, but that's somewhat backwards breaking
* `createFromObjects` will attempt to use the same texture and frame as Tiled when creating the object. This will behave poorly if there is no such frame (for instance, if the texture were loaded with `this.load.image` instead of `this.load.spritesheet`, or using different geometry. However, the current behavior draws missingimage, so this is a strong improvement.
2021-05-13 17:05:03 -04:00
Benjamin Magalhaes
562a05a642 Remove unused WebGLPipelineUniformsConfig 2021-05-13 15:21:35 +02:00
Benjamin Magalhaes
aa97541c3f Fix WebGLPipelineAttributeConfig documentation 2021-05-13 13:31:18 +02:00
Sebastian Fast
df9f367b95 #5689 moved _pending to beginning of function 2021-05-13 10:52:06 +02:00