Richard Davey
|
625955178e
|
Updated docs
|
2018-11-20 12:45:47 +00:00 |
|
Richard Davey
|
c22edb548a
|
Update CHANGELOG.md
|
2018-11-20 11:07:50 +00:00 |
|
Richard Davey
|
8cd45a72b2
|
ESLint fixes
|
2018-11-20 11:02:19 +00:00 |
|
Richard Davey
|
ec570a639d
|
Update CHANGELOG.md
|
2018-11-20 10:33:09 +00:00 |
|
Richard Davey
|
274f86cc97
|
Update CHANGELOG.md
|
2018-11-20 10:31:26 +00:00 |
|
Richard Davey
|
e9274601a9
|
Update CHANGELOG.md
|
2018-11-20 10:21:06 +00:00 |
|
Richard Davey
|
319e4de0a1
|
Update CHANGELOG.md
|
2018-11-20 09:46:49 +00:00 |
|
Richard Davey
|
068ba0f7cd
|
Update CHANGELOG.md
|
2018-11-19 15:31:09 +00:00 |
|
Richard Davey
|
51223c518a
|
Added Graphics.fill and Graphics.stroke
|
2018-11-19 11:09:53 +00:00 |
|
Richard Davey
|
202c6c9c1a
|
Added nextFrame and previousFrame to the Animation component
|
2018-11-16 14:34:09 +00:00 |
|
Richard Davey
|
eb5da1f26d
|
Docs update
|
2018-11-16 10:56:43 +00:00 |
|
Richard Davey
|
f85a79c0d7
|
There is a new boolean Game Config property called customEnvironment . If set to true it will skip the internal Feature checks when working out which type of renderer to create, allowing you to run Phaser under non-native web environments. If using this value, you _must_ set an explicit renderType of either CANVAS or WEBGL. It cannot be left as AUTO. Fix #4166
|
2018-11-16 10:46:30 +00:00 |
|
Richard Davey
|
476a31093a
|
onFocus and onBlur ignore if locked
|
2018-11-13 19:47:47 +00:00 |
|
Richard Davey
|
578158cfcb
|
Updated docs
|
2018-11-13 17:04:31 +00:00 |
|
Richard Davey
|
fb768e6262
|
Update CHANGELOG.md
|
2018-11-13 15:27:46 +00:00 |
|
Richard Davey
|
9e36f80105
|
Update CHANGELOG.md
|
2018-11-13 15:15:43 +00:00 |
|
Richard Davey
|
7d202111f1
|
Update CHANGELOG.md
|
2018-11-13 10:31:44 +00:00 |
|
Richard Davey
|
34d12a643e
|
Merge branch 'master' of https://github.com/photonstorm/phaser
|
2018-11-12 23:20:04 +00:00 |
|
Richard Davey
|
c75b233226
|
Update CHANGELOG.md
|
2018-11-12 23:19:53 +00:00 |
|
Richard Davey
|
38b11b8947
|
Update CHANGELOG.md
|
2018-11-12 23:01:34 +00:00 |
|
Richard Davey
|
5f92b05fd7
|
Added game config keyboard capture flag for global preventDefault handling.
|
2018-11-12 22:22:12 +00:00 |
|
Richard Davey
|
23cc8b84e3
|
Added getConnectedScores method
|
2018-11-12 17:15:00 +00:00 |
|
Richard Davey
|
0557ee071b
|
Updated setScore handling
|
2018-11-12 12:38:18 +00:00 |
|
Richard Davey
|
511707e4a7
|
Update CHANGELOG.md
|
2018-11-07 16:16:50 +00:00 |
|
Richard Davey
|
979fc7341f
|
The cameraFilter property of a Game Object will now allow full bitmasks to be set (a value of -1), instead of just those > 0
|
2018-11-07 16:12:28 +00:00 |
|
Richard Davey
|
8ea2bffb9c
|
Render Textures created larger than the size of the default canvas would be automatically clipped when drawn to in WebGL. They now reset the gl scissor and drawing height property in order to draw to their full size, regardless of the canvas size. Fix #4139
|
2018-11-07 16:01:21 +00:00 |
|
Richard Davey
|
601c7696c3
|
Game Objects have a new property called state .
|
2018-11-07 15:11:59 +00:00 |
|
Richard Davey
|
e34d759928
|
Removed sortGameObjects and getTopGameObject methods
|
2018-11-01 12:12:06 +00:00 |
|
Richard Davey
|
bed1141d9a
|
Added clearPipeline and rebindPipeline and force argument.
|
2018-10-25 14:13:40 +01:00 |
|
Richard Davey
|
7441ff90ae
|
The Dynamic Bitmap Text Canvas Renderer was creating a new data object every frame for the callback. It now uses the callbackData object instead, like the WebGL renderer does.
|
2018-10-25 14:11:23 +01:00 |
|
Richard Davey
|
4c73be9dbd
|
The data object being sent to the Dynamic Bitmap Text callback now has a new property parent , which is a reference to the Bitmap Text instance that owns the data object (thanks ornyth)
|
2018-10-25 14:10:12 +01:00 |
|
Richard Davey
|
7ca0edcdfc
|
Update CHANGELOG.md
|
2018-10-24 15:26:31 +01:00 |
|
Richard Davey
|
d3b573a615
|
MATH_CONST no longer requires or sets the Random Data Generator, this is now done in the Game Config, allowing you to require the math constants without pulling in a whole copy of the RNG with it.
|
2018-10-24 14:08:49 +01:00 |
|
Richard Davey
|
7bfd213b0d
|
Update CHANGELOG.md
|
2018-10-23 17:47:59 +01:00 |
|
Richard Davey
|
b73d0dd80c
|
Added jsdocs
|
2018-10-22 13:47:46 +01:00 |
|
Richard Davey
|
956a0913b8
|
Added new jsdocs
|
2018-10-22 12:12:31 +01:00 |
|
Richard Davey
|
2180b1fe58
|
Update CHANGELOG.md
|
2018-10-19 18:32:14 +01:00 |
|
Richard Davey
|
aafac3df06
|
Update CHANGELOG.md
|
2018-10-19 16:14:54 +01:00 |
|
Richard Davey
|
ec443cce01
|
Update CHANGELOG.md
|
2018-10-19 15:33:47 +01:00 |
|
Richard Davey
|
73678526ce
|
Update CHANGELOG.md
|
2018-10-19 13:50:39 +01:00 |
|
Richard Davey
|
f639091a01
|
Update CHANGELOG.md
|
2018-10-19 13:32:40 +01:00 |
|
Richard Davey
|
c9a4a240f8
|
The Rectangle Shape object wouldn't render if it didn't have a stroke, or any other objects on the display list
|
2018-10-19 13:08:05 +01:00 |
|
Richard Davey
|
b52c63fe10
|
Merge branch 'master' of https://github.com/photonstorm/phaser
|
2018-10-19 12:32:48 +01:00 |
|
Richard Davey
|
4c4421c47f
|
Docjam merge
|
2018-10-19 12:32:43 +01:00 |
|
Richard Davey
|
c9b7ce3938
|
The Mouse Manager class has been updated to remove some commented out code and refine the startListeners method.
|
2018-10-18 22:04:41 +01:00 |
|
Richard Davey
|
61f74a2fc6
|
The loadPlayerPhoto function in the Instant Games plugin now listens for the updated Loader event correctly, causing the photocomplete event to fire properly.
|
2018-10-17 15:15:46 +01:00 |
|
Richard Davey
|
61008f4eda
|
3.15.1 Release
|
2018-10-16 16:24:43 +01:00 |
|
Richard Davey
|
017140f49a
|
Update CHANGELOG.md
|
2018-10-16 15:24:02 +01:00 |
|
Richard Davey
|
daee448528
|
Updated change log
|
2018-10-16 11:45:07 +01:00 |
|
Richard Davey
|
24837c4312
|
Updated log
|
2018-10-12 18:32:42 +01:00 |
|
Richard Davey
|
9dc53d1e5a
|
The WebGLRenderer method canvasToTexture has a new optional argument noRepeat which will stop it from using gl.REPEAT entirely. This is now used by the Text object to avoid it potentially switching between a REPEAT and CLAMP texture, causing texture black-outs
|
2018-10-12 15:08:53 +01:00 |
|
Richard Davey
|
4beffe842a
|
Texture batching during the batch flush has been implemented in the TextureTintPipeline which resolves the issues of very low frame rates, especially on iOS devices, when using non-batched textures such as those used by Text or TileSprites.
|
2018-10-12 15:06:10 +01:00 |
|
Richard Davey
|
3e9cc42f49
|
Device.OS has been restructured to allow fake UAs from Chrome dev tools to register iOS devices.
|
2018-10-10 13:41:47 +01:00 |
|
Richard Davey
|
1025362781
|
Updated log
|
2018-10-08 17:03:06 +01:00 |
|
Richard Davey
|
8994d8f13e
|
CameraManager.remove has a new argument runDestroy which, if set, will automatically call Camera.destroy on the Cameras removed from the Camera Manager.
|
2018-10-05 18:30:00 +01:00 |
|
Richard Davey
|
4d13702c33
|
The Particle Emitter Manager has been given a NOOP method called setBlendMode to stop warnings from being thrown if you added an emitter to a Container in the Canvas renderer. Fix #4083
|
2018-10-05 16:31:43 +01:00 |
|
Richard Davey
|
0f929bf0cc
|
TileSprites that were set to be interactive before they had rendered once wouldn't receive a valid input hit area, causing input to fail. They now define their size immediately, allowing them to be made interactive without having rendered. Fix #4085
|
2018-10-05 16:27:42 +01:00 |
|
Richard Davey
|
66445c9fb1
|
If you set pixelArt to true in your game config (or antialias to false) then TileSprites will now respect this when using the Canvas Renderer and disable smoothing on the internal fill canvas.
|
2018-10-02 13:30:45 +01:00 |
|
Richard Davey
|
e48d6bfb01
|
If you pass zero as the width or height when creating a TileSprite it will now use the dimensions of the texture frame as the size of the TileSprite. Fix #4073
|
2018-10-02 13:13:51 +01:00 |
|
Richard Davey
|
1b85512de2
|
Fixed a bug in the canvas rendering of both the Static and Dynamic Tilemap Layers where the camera matrix was being multiplied twice with the layer, causing the scale and placement to be off
|
2018-10-02 12:51:02 +01:00 |
|
Richard Davey
|
e4c38215cd
|
The RequestAnimationFrame.step and stepTimeout functions have been updated so that the new Frame is requested from raf before the main game step is called. This allows you to now stop the raf callback from within the game update or render loop. Fix #3952
|
2018-10-02 11:33:05 +01:00 |
|
Richard Davey
|
143957d24a
|
You can now set the maxLights value in the Game Config, which controls the total number of lights the Light2D shader can render in a single pass. The default is 10. Be careful about pushing this too far. More lights = less performance. Close #4081
|
2018-10-02 11:09:58 +01:00 |
|
Richard Davey
|
5bdf9aa21b
|
WebGLRenderer.deleteTexture will check to see if the texture it is being asked to delete is the currently bound texture or not. If it is, it'll set the blank texture to be bound after deletion. This should stop RENDER WARNING: there is no texture bound to the unit 0 errors if you destroy a Game Object, such as Text or TileSprite, from an async or timed process
|
2018-10-01 16:32:42 +01:00 |
|
Richard Davey
|
ad2ef6a742
|
Preparing for 3.15 dev
|
2018-10-01 15:31:08 +01:00 |
|
Richard Davey
|
c6faa7c8a7
|
3.14 Release
|
2018-10-01 14:44:42 +01:00 |
|
Richard Davey
|
b3f3f6a9b5
|
If a Game instance is destroyed without using the removeCanvas argument, it would throw exceptions in the MouseManager after the destroy process has run, as the event listeners were not unbound. They're not unbound, regardless of if the parent canvas is removed or not. Fix #4015
|
2018-10-01 12:55:54 +01:00 |
|
Richard Davey
|
e297b3272e
|
Added hundreds of new jsdoc descriptions
|
2018-10-01 11:35:01 +01:00 |
|
Richard Davey
|
ec6715ba8b
|
Fixed a bug where the gl scissor wasn't being reset during a renderer resize, causing it to appear as if the canvas didn't resize properly when autoResize was set to true in the game config. Fix #4066
|
2018-10-01 10:38:39 +01:00 |
|
Richard Davey
|
56c26cfd18
|
Updated log
|
2018-09-29 11:21:48 +01:00 |
|
Richard Davey
|
38cacfd9f7
|
Added new jsdocs
|
2018-09-28 16:37:55 +01:00 |
|
Richard Davey
|
b687f051e9
|
Added new jsdocs
|
2018-09-28 15:00:55 +01:00 |
|
Richard Davey
|
c16ea9b93d
|
Completed DynamicTilemapLayer jsdocs
|
2018-09-28 14:46:31 +01:00 |
|
Richard Davey
|
43067aa30e
|
Completed Tilemap class docs
|
2018-09-28 14:02:12 +01:00 |
|
Richard Davey
|
99ba77c29d
|
Added jsdocs.
|
2018-09-28 12:45:01 +01:00 |
|
Richard Davey
|
c237209bb8
|
Added new jsdocs
|
2018-09-28 12:19:21 +01:00 |
|
Richard Davey
|
818a28073f
|
Added jsdocs
|
2018-09-28 11:04:19 +01:00 |
|
Richard Davey
|
24fdcb5ffd
|
New docs
|
2018-09-28 10:32:58 +01:00 |
|
Richard Davey
|
3944e580cc
|
Fixed an error in the batchSprite methods in the Canvas and WebGL Renderers that would incorrectly set the frame dimensions on Sprites with the crop component. This was particularly noticeable on Sprites with trimmed animation frames
|
2018-09-27 16:49:52 +01:00 |
|
Richard Davey
|
5ad4c8dc2b
|
All of the Animation Events now pass the Game Object as the final argument, this includes animationstart , animationrestart , animationrepeat , animationupdate and animationcomplete .
|
2018-09-27 15:55:16 +01:00 |
|
Richard Davey
|
82ddc031c7
|
Added new batch of jsdocs
|
2018-09-27 15:29:32 +01:00 |
|
Richard Davey
|
d8fcde46c3
|
When using CanvasTexture.refresh or Graphics.generateTexture it would throw WebGL warnings like 'bindTexture: Attempt to bind a deleted texture'. This was due to the Frames losing sync with the glTexture reference used by their TextureSource. Fix #4050
|
2018-09-27 14:16:22 +01:00 |
|
Richard Davey
|
c2f77a858b
|
Updated log
|
2018-09-27 13:09:47 +01:00 |
|
Richard Davey
|
aff073a6c0
|
Updated log
|
2018-09-27 12:12:33 +01:00 |
|
Richard Davey
|
e5e8f84e96
|
Updated log
|
2018-09-27 11:47:56 +01:00 |
|
Richard Davey
|
bed4abc8ed
|
Updated ParseTilesets function to handle Tiled 1.2 and 1.1 formats
|
2018-09-27 00:41:11 +01:00 |
|
Richard Davey
|
8cc7650f8c
|
Arcade Physics Bodies will now sync the display origin of the parent Game Object to the body properties as part of the updateBounds call.
|
2018-09-26 17:15:22 +01:00 |
|
Richard Davey
|
32bd01daba
|
If you used a scaled Dynamic Tilemap Layer and rotated or flipped tiles, the tiles that were rotated or flipped would be positioned incorrectly in WebGL. Fix #3778
|
2018-09-26 16:49:18 +01:00 |
|
Richard Davey
|
6fef0fb57e
|
The Device.OS check for node will now do a typeof first to avoid issues with rollup packaged builds needing to shim the variable out. Fix #4058
|
2018-09-26 16:36:45 +01:00 |
|
Richard Davey
|
849de9020c
|
Updated log
|
2018-09-26 16:32:48 +01:00 |
|
Richard Davey
|
b4e59405b4
|
Calling Tilemap.renderDebug ignored the layer scale when drawing to the Graphics object. It will now scale the layer before drawing. Fix #4026
|
2018-09-26 16:18:44 +01:00 |
|
Richard Davey
|
c0e5197f7c
|
Static Tilemap Layers now support tile rotation and flipping. Previously this was a feature only for Dynamic Tilemap Layers, but now both have it. Close #4037
|
2018-09-26 16:07:32 +01:00 |
|
Richard Davey
|
94d21da3ca
|
The Static Tilemap Layer would stop drawing all tiles from that point on, if it encountered a tile which had invalid texture coordinates (such as a tile from another tileset). It now skips invalid tiles properly again. Fix #4002
|
2018-09-26 15:27:19 +01:00 |
|
Richard Davey
|
e9417825f0
|
Updated change log
|
2018-09-26 14:15:45 +01:00 |
|
Richard Davey
|
eb09c35056
|
The poly-decomp library, as used by Matter.js, has been updated to 0.3.0.
|
2018-09-26 11:08:55 +01:00 |
|
Richard Davey
|
684838aabe
|
Polygon.setTo can now take a string of space separated numbers when creating the polygon data, i.e.: '40 0 40 20 100 20 100 80 40 80 40 100 0 50' . This update also impacts the Polygon Shape object, which can now also take this format as well.
|
2018-09-26 11:01:48 +01:00 |
|
Richard Davey
|
ef3f6c0348
|
The Shape.Line object was missing a lineWidth property unless you called the setLineWidth method, causing the line to not render in Canvas only. Fix #4068
|
2018-09-26 09:33:09 +01:00 |
|
Richard Davey
|
2985a97c56
|
TileSet.getTileData() has been updated so it will return tile data from either Tiled 1.1.x or the new Tiled 1.2.x JSON structure. Fix #3998
|
2018-09-25 16:20:34 +01:00 |
|
Richard Davey
|
600b226337
|
Updated log
|
2018-09-25 16:12:15 +01:00 |
|
Richard Davey
|
37d7b7b32d
|
The Loader has been updated to handle the impact of you destroying the game instance while still processing files. It will no longer throw cache and texture related errors. Fix #4049
|
2018-09-25 15:54:13 +01:00 |
|
Richard Davey
|
df8c0d8673
|
Calling Tilemap.renderDebug ignored the layer world position when drawing to the Graphics object. It will now translate to the layer position before drawing. Fix #4061
|
2018-09-25 15:37:46 +01:00 |
|