Richard Davey
|
3bb73c5664
|
Fixed Group defs and completed Arcade Physics defs
|
2019-02-13 14:45:36 +00:00 |
|
Richard Davey
|
3938675d9f
|
Input typedefs
|
2019-02-13 14:17:36 +00:00 |
|
Richard Davey
|
c9bdb83941
|
GameObject and Loader typedefs
|
2019-02-13 13:57:59 +00:00 |
|
Richard Davey
|
70a87a576d
|
Some legacy instances of float moved to number .
|
2019-02-13 12:39:36 +00:00 |
|
Richard Davey
|
e7b1d086e7
|
Moving all of the typedefs to properly namespaced scopes, rather than globals
\o/ ~ "Someone, save me!"
|
2019-02-13 12:35:12 +00:00 |
|
Richard Davey
|
b50e1c78b5
|
Lots more jsdoc tweaks and improvements
|
2019-02-12 15:01:54 +00:00 |
|
Richard Davey
|
4e817497d4
|
Namespace fixes
|
2019-02-12 12:48:41 +00:00 |
|
Richard Davey
|
ccaae460a4
|
Added jsdoc version numbers to each event
|
2019-02-12 11:37:58 +00:00 |
|
Richard Davey
|
d50475045d
|
Added Zone.setBlendMode method as a NOOP function, fixing a bug where if you added a Zone to a Container when running under Canvas it would fail. Fix #4295
|
2019-02-10 17:30:01 +00:00 |
|
Richard Davey
|
2467b624d0
|
Merge pull request #4350 from brian-lui/patch-1
Fix: Type declaration for blendMode
|
2019-02-08 13:37:53 +00:00 |
|
Richard Davey
|
f8c4252fcb
|
Tweaked setTileScale arguments
|
2019-02-08 12:13:01 +00:00 |
|
Brian Lui
|
af085646eb
|
Fix: Type declaration for blendMode
|
2019-02-08 15:58:18 +08:00 |
|
Richard Davey
|
05e3520048
|
The Mesh.setAlpha method has been restored, even though it's empty and does nothing, to prevent runtime errors when adding a Mesh or Quad object to a Container. Fix #4338 #4343
|
2019-02-06 23:36:05 +00:00 |
|
Richard Davey
|
81a5bbf2db
|
Updated jsdocs
|
2019-02-05 00:03:34 +00:00 |
|
Richard Davey
|
eb9ed3463f
|
Lots of namespace and jsdoc fixes
|
2019-02-01 18:02:58 +00:00 |
|
Richard Davey
|
348306cafb
|
Lots more jsdoc fixes and new documentation
|
2019-01-31 14:47:50 +00:00 |
|
Richard Davey
|
4f6f6ee72f
|
Lots of jsdoc and type fixes
|
2019-01-31 12:19:01 +00:00 |
|
Richard Davey
|
1a6ac029ac
|
Fixed Extern arguments, added as core and finished jsdocs.
|
2019-01-30 00:02:11 +00:00 |
|
Richard Davey
|
44f4ac3598
|
Type def fix
|
2019-01-29 23:49:23 +00:00 |
|
Richard Davey
|
ad70549c79
|
Move Extern to experimental
|
2019-01-28 16:40:41 +00:00 |
|
Richard Davey
|
91df0a4cb9
|
Fix pipeline reference
|
2019-01-28 16:40:24 +00:00 |
|
J.C
|
cb0f3e079c
|
add doc for the static method. BTW: have to admit that Phaser is absolutely well considered, even for such case that user probably make all BMFont atlas combined into one.
|
2019-01-25 11:02:38 +08:00 |
|
Richard Davey
|
22fcb75ac1
|
Formatting
|
2019-01-24 14:11:08 +00:00 |
|
Richard Davey
|
c221bb7165
|
Updated docs to clarify #4091
|
2019-01-24 14:10:55 +00:00 |
|
Richard Davey
|
fac2efedc4
|
Container + List.sort scope fixed and custom handler option added. Fix #4241
|
2019-01-24 11:04:36 +00:00 |
|
Richard Davey
|
dd53ffae7c
|
Merge pull request #4303 from clesquir/patch-1
Headless tilesprite crash fix
|
2019-01-23 21:49:11 +00:00 |
|
Cédric Lesquir
|
e40cb21fc8
|
Bail out updateTileTexture if no renderer
|
2019-01-22 11:23:40 -05:00 |
|
Richard Davey
|
ea9678cc85
|
Removed TextStyle auto-quotes and added docs instead.
|
2019-01-22 14:02:25 +00:00 |
|
Cédric Lesquir
|
cd6488e8db
|
Headless tilesprite crash fix
Fixes issue https://github.com/photonstorm/phaser/issues/4297
|
2019-01-19 16:50:36 -05:00 |
|
Richard Davey
|
36d86abd48
|
Added Camera Fade and Game Object Destroy events.
|
2019-01-18 14:21:45 +00:00 |
|
Richard Davey
|
bc962c25dc
|
All listeners use the new Events
|
2019-01-18 13:41:43 +00:00 |
|
Richard Davey
|
3e48021903
|
Clarified docs
|
2019-01-16 12:13:04 +00:00 |
|
Richard Davey
|
aa341854c7
|
Happy New Year
|
2019-01-15 16:20:22 +00:00 |
|
Richard Davey
|
11ed074450
|
Refactoring how events are handled internally and in the docs
|
2019-01-15 14:37:24 +00:00 |
|
Richard Davey
|
79dc611b95
|
Quote the font family in Text objects.
|
2019-01-12 16:31:48 +00:00 |
|
Richard Davey
|
49c2868746
|
All default width/height values are now taken from the Scale Manager, not the Game Config
|
2019-01-11 15:57:57 +00:00 |
|
Richard Davey
|
874929d807
|
Merge pull request #4250 from jcyuan/Branch_v3.15.1
doc improvement & minor bug fix
|
2019-01-04 13:15:20 +00:00 |
|
Omar Shehata
|
9a77301e08
|
Fix jsdoc syntax
|
2018-12-26 10:43:57 -05:00 |
|
J.C
|
580cc36ad4
|
Merge branch 'master' into Branch_v3.15.1
|
2018-12-20 12:42:25 +08:00 |
|
J.C
|
f09e777f84
|
1, GetFirstElement -> should be GetFirst
2, doc fix
|
2018-12-20 11:11:56 +08:00 |
|
Richard Davey
|
cb57425a34
|
The Alpha, Flip and Origin components have been removed from the Mesh Game Object (and by extension, Quad as well) as they are not used in the renderer and should be manipulated via the Mesh properties. Fix #4188
|
2018-12-18 15:47:07 +00:00 |
|
Richard Davey
|
a2723249a3
|
CanvasTexture.destroy is a new method that specifically handles the destruction of the CanvasTexture and all of its associated typed arrays. This prevents a memory leak when creating and destroying lots of RenderTextures (which are CanvasTexture backed). Fix #4239
|
2018-12-18 15:21:24 +00:00 |
|
Richard Davey
|
c882b52a3a
|
Fixed an issue where changing the viewport or size of a Camera belonging to a RenderTexture, it wouldn't impact the rendering and objects will still render outside of the viewport range. It's now converted to a proper gl scissor rect by the renderer, meaning you can limit the area rendered to by adjusting the internal Render Texture cameras viewport. Fix #4243
|
2018-12-18 13:35:53 +00:00 |
|
Richard Davey
|
7ee0a717f5
|
Container.getFirst was using an incorrect Array Utils function GetFirstElement , when it should have been using GetFirst . It now uses the correct function. Fix #4244
|
2018-12-18 12:12:47 +00:00 |
|
Richard Davey
|
90c7d4d0e8
|
Removed un-needed argument
|
2018-12-18 12:12:38 +00:00 |
|
Richard Davey
|
56fa0a119e
|
RenderTexture.fill in WebGL would use gl.clear and a clear color to try and fill the Render Texture. This only worked for full-canvas sized RenderTextures that didn't have a camera zoom applied. It has now been swapped to use the drawFillRect method of the Texture Tint Pipeline, allowing it to work properly regardless of camera zoom or size.
|
2018-12-18 11:31:42 +00:00 |
|
Richard Davey
|
bc9d3511e1
|
When using RenderTexture.fill , the alpha argument would be ignored in Canvas mode. It's now used when filling the RenderTexture.
|
2018-12-18 09:55:23 +00:00 |
|
Richard Davey
|
1bf9be5e12
|
Animation.stop guard.
|
2018-12-13 13:03:54 +00:00 |
|
Richard Davey
|
7ea03169e7
|
Merge pull request #4183 from DottieDot/setFont-fix
setFont fix (also fixes #4141)
|
2018-12-12 11:30:38 +00:00 |
|
Richard Davey
|
5c6d1cbe17
|
Merge pull request #4214 from matosummer/master
Add link to bitmaptext
|
2018-12-12 11:27:00 +00:00 |
|
Richard Davey
|
4b27b37a0c
|
Added texture and unit arguments to batchQuad and batchTri , fixing the y2k bug.
|
2018-12-12 11:08:52 +00:00 |
|
Richard Davey
|
d70ecfca8c
|
Merge pull request #4215 from snowbillr/update-group-creator-and-factory-param-type
update type param for group factory and creator methods
|
2018-12-08 15:02:13 +00:00 |
|
Richard Davey
|
da0d9802de
|
Fixed typo
|
2018-12-06 16:59:53 +00:00 |
|
Richard Davey
|
2fe4d536a9
|
Updated docs
|
2018-12-06 15:59:22 +00:00 |
|
Richard Davey
|
e6f5d0144e
|
Added Animation.chain method to queue an animation to start when the current one ends.
|
2018-12-06 15:57:52 +00:00 |
|
Richard Davey
|
cd80b27ea6
|
Updated jsdocs
|
2018-12-06 15:39:57 +00:00 |
|
Richard Davey
|
8fe2e30635
|
Removed update event
|
2018-12-06 15:34:15 +00:00 |
|
Richard Davey
|
9e78553a48
|
reverse no longer needs the argument. play and playReverse can now take an Animation instance as an argument, not just a key.
|
2018-12-06 15:28:32 +00:00 |
|
Bill Reed
|
df9365cae6
|
update type param for group factory and creator methods
|
2018-12-05 11:32:47 -05:00 |
|
Mato
|
87be97aaf0
|
Add link to bitmaptext
|
2018-12-05 16:29:18 +07:00 |
|
Richard Davey
|
6f8759c186
|
Whenever Camera.roundPixels was enabled it would use a bitwise operation to truncate the float (x |= 0 ) - this has been replaced across all files that used it, with a call to Math.round instead. This gives far better results when zooming cameras both in and out of a Scene, stopping thin gaps appearing between closely packed Game Objects.
|
2018-11-30 10:27:25 +00:00 |
|
Richard Davey
|
b0df6892b5
|
The Canvas SetTransform method would save the context state, but it wasn't restored at the end in the following Game Objects: Dynamic Bitmap Text, Graphics, Arc, Curve, Ellipse, Grid, IsoBox, IsoTriangle, Line, Polygon, Rectangle, Star and Triangle. These now all restore the context, meaning if you're using non-canvas sized cameras in Canvas mode, it will now render beyond just the first custom camera.
|
2018-11-27 13:54:59 +00:00 |
|
Ken Sleebos | Adwise - Your Digital Brain
|
0b7096887c
|
Fix for from/to in PathFollower.js
|
2018-11-27 10:36:57 +01:00 |
|
Taran van Groenigen
|
e181a98aa2
|
Fixed a mistake that would cause fontFamily to hold all font data when using the font shorthand & fixes photonstorm/phaser#4141
I noticed this while investigating photonstorm/phaser#4141
|
2018-11-22 09:40:10 +01:00 |
|
Richard Davey
|
18af31ffb7
|
Fixed how dead particles are managed, reduced gc churn and reset particle positions. Also removed un-needed stable sort.
|
2018-11-21 11:53:46 +00:00 |
|
Richard Davey
|
fca695f632
|
Removed Particle.index as it's no longer required
|
2018-11-21 11:53:21 +00:00 |
|
Richard Davey
|
db0be54737
|
Fixed breaking Tween loop change and implemented PathFollower startAt in a slightly different way
|
2018-11-21 10:17:48 +00:00 |
|
Richard Davey
|
ab85d480a7
|
Added setState method.
|
2018-11-21 02:24:54 +00:00 |
|
Richard Davey
|
f1fdc5dcf5
|
Changing TileSprite.width or TileSprite.height will now flag the texture as dirty and call updateDisplayOrigin , allowing you to resize TileSprites dynamically in both Canvas and WebGL.
|
2018-11-20 15:32:15 +00:00 |
|
Richard Davey
|
c1771ecdac
|
Merge branch 'master' of https://github.com/photonstorm/phaser
|
2018-11-20 11:02:31 +00:00 |
|
Richard Davey
|
8cd45a72b2
|
ESLint fixes
|
2018-11-20 11:02:19 +00:00 |
|
Richard Davey
|
96b9db5cb7
|
Merge pull request #4150 from samme/docs/misc
Docs updates
|
2018-11-20 10:45:54 +00:00 |
|
Diego Teixeira
|
f45ee83fc4
|
Using statAt
Including usage to startAt for startFollow method
|
2018-11-19 14:54:56 -02:00 |
|
Richard Davey
|
a6ef139f20
|
Added fill method.
|
2018-11-19 11:10:27 +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
|
e584fbfb8f
|
Tidying up erase code
|
2018-11-13 15:27:42 +00:00 |
|
Richard Davey
|
5147fb281a
|
Added new Blend Modes.
|
2018-11-13 15:10:25 +00:00 |
|
Richard Davey
|
76918e76b0
|
ERASE tests
|
2018-11-13 10:32:24 +00:00 |
|
Richard Davey
|
a1273e42b8
|
Added ERASE blend mode
|
2018-11-13 10:31:56 +00:00 |
|
Richard Davey
|
06688eedd8
|
Merge branch 'master' of https://github.com/photonstorm/phaser
|
2018-11-10 04:22:51 +00:00 |
|
Richard Davey
|
ceb9910780
|
Added erase method for clearing parts of a Render Texture.
|
2018-11-10 04:22:47 +00:00 |
|
samme
|
83e2de2baf
|
Docs for Group
Add GroupClassTypeConstructor type
|
2018-11-07 09:40:31 -08:00 |
|
Richard Davey
|
43e76a7c45
|
Merge pull request #4129 from samme/docs/events
Docs for input and physics events
|
2018-11-07 16:18:17 +00:00 |
|
Richard Davey
|
885e45391c
|
Merge pull request #4136 from Waclaw-I/dead-particles-pool-fix
Array of dead particles is now being filled up with dead particles.
|
2018-11-07 16:15:02 +00:00 |
|
Richard Davey
|
929aca014a
|
Merge branch 'master' of https://github.com/photonstorm/phaser
|
2018-11-07 16:13:10 +00:00 |
|
Richard Davey
|
01bcb6b91f
|
Merge pull request #4144 from stuartkeith/patch-1
fixed - cameraFilter bitmask doesn't work for values < 0
|
2018-11-07 16:12:37 +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 |
|
Stuart Keith
|
3b422260ea
|
Update DOMElementCSSRenderer.js
|
2018-11-04 11:22:02 +00:00 |
|
Richard Davey
|
e34d759928
|
Removed sortGameObjects and getTopGameObject methods
|
2018-11-01 12:12:06 +00:00 |
|
Richard Davey
|
d912189b91
|
Added the Extern Game Object
|
2018-10-29 23:07:30 +00:00 |
|
Piotr 'Waclaw I' Hanusiak
|
893310d5bb
|
array of dead particles is now being filled up with dead particles.
|
2018-10-29 22:19:57 +01:00 |
|
Richard Davey
|
d740ca2302
|
Use QR decomposition or it all goes wrong!
|
2018-10-26 19:38:30 +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 |
|
samme
|
7ff8d51f98
|
Docs for input and physics events
|
2018-10-24 12:14:44 -07:00 |
|
Richard Davey
|
d13984f460
|
Added jsdocs
|
2018-10-19 18:32:10 +01:00 |
|
Richard Davey
|
0b3d54a198
|
Added jsdocs
|
2018-10-19 18:29:36 +01:00 |
|