Commit graph

16785 commits

Author SHA1 Message Date
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
Francisco Pereira Alvarado
699e81e008
Update CHANGELOG.md - new helpers added 2021-05-10 12:02:56 +02:00
Richard Davey
1f037d7670 Merge branch 'master' of https://github.com/photonstorm/phaser 2021-05-07 11:30:55 +01:00
Ali Karbassi
dd4ef06f97
GameObjectConfig allow type object
GameObjectConfig x, y, rotation, angle, and alpha should allow type object

Fixes #5682
2021-05-05 17:01:56 -05:00
Richard Davey
144924bc61 JSDoc fix 2021-05-03 18:15:29 +01:00
Richard Davey
f802ac5d8c The Input.Pointer.event property can now be a WheelEvent as well. 2021-05-03 18:15:20 +01:00
Richard Davey
c5f3f377ce Improved JSDocs 2021-04-26 10:05:57 +01:00
Rex
62ea171971 Add MoveAbove, MoveBelow methods of List structure
MoveAbove: Moves the given array element above another one in the array.
MoveBelow: Moves the given array element below another one in the array.
2021-04-26 15:17:42 +08:00
Richard Davey
682ac1a108 Update CHANGELOG.md 2021-04-25 20:33:02 +01:00
Richard Davey
7d3970178d The RenderTexture.endDraw method has a new optional boolean erase which allows you to draw all objects in the batch using a blend mode of ERASE. This has the effect of erasing any filled pixels in the objects being drawn. 2021-04-25 20:32:56 +01:00
Richard Davey
6735f7e88e Update Shape.js 2021-04-20 15:15:51 +01:00
Rex
fca1eb1206 Also fix it in CanvasRender 2021-04-20 21:15:46 +08:00
Richard Davey
20ce4b9090 Merge branch 'master' of https://github.com/photonstorm/phaser 2021-04-20 08:53:44 +01:00