hypertrifle
|
37da44f9c9
|
Updated @param notation that cause issues generating docs
there was a double pipe - now there isn't
|
2018-08-26 12:54:18 +01:00 |
|
Richard Davey
|
a585df3abf
|
DOM Elements moved behind experimental flag for now
|
2018-08-23 18:11:10 +01:00 |
|
Richard Davey
|
beb286297c
|
Camera3D Plugin moved out of the main src folder to optional plugin
|
2018-08-23 13:18:25 +01:00 |
|
Richard Davey
|
f24204ee03
|
Merge branch 'master' of https://github.com/photonstorm/phaser
|
2018-08-23 12:31:59 +01:00 |
|
Richard Davey
|
5443f9cf5a
|
Fixed the way the arc overshoot works.
|
2018-08-23 12:31:55 +01:00 |
|
samme
|
408b2df350
|
Correct LightsManager#addLight docs
All arguments are optional
|
2018-08-22 13:07:41 -07:00 |
|
TadejZupancic
|
1fa16f00df
|
RenderTexture: Texture is always destroyed (canvas)
Forgot to check the flag for canvas renderer.
|
2018-08-22 15:57:57 +02:00 |
|
Richard Davey
|
0dccc3a510
|
Updated jsdocs. Fix #3849
|
2018-08-21 23:48:03 +01:00 |
|
Richard Davey
|
198f353c9a
|
The default Container Blend Mode is now SKIP_TEST . This allows you to either set a blend mode for a Container, in which case all children use that blend mode. Or, you can set a blend mode on the children and the children will render using their own blend modes, as the Container doesn't have one set. The WebGL and Canvas Renderer functions have also been updated to support this change. Fix #3684
|
2018-08-21 22:07:35 +01:00 |
|
Richard Davey
|
01290afda9
|
A Game Object couldn't have a blend mode of SKIP_TEST set by using the getter or the setBlendMode method.
|
2018-08-21 21:54:38 +01:00 |
|
TadejZupancic
|
bff7f99fe1
|
Update RenderTexture.js
|
2018-08-21 15:40:10 +02:00 |
|
TadejZupancic
|
50a3555cad
|
RenderTexture: Texture is always destroyed
Texture is now destroyed only if it was not saved to the TextureManager, so it can be reused.
|
2018-08-21 15:32:10 +02:00 |
|
Richard Davey
|
8d1caff0a4
|
Updated argument name
|
2018-08-21 02:29:54 +01:00 |
|
Richard Davey
|
0eef6f1bb9
|
Updated scroll factor docs to clarify impact on physics bodies #3810
|
2018-08-20 19:19:53 +01:00 |
|
Richard Davey
|
e71d72ec66
|
Merge pull request #3927 from TadejZupancic/patch-11
Wrong bounds/displayOrigin on BitmapText text change
|
2018-08-20 18:21:15 +01:00 |
|
Richard Davey
|
27c3cc30ac
|
Previously, changing a Text object by setting its text property directly wouldn't change the text being rendered as using setText was the expected way to change what was being displayed. Internally the text property has been renamed to _text and flagged as private, and a new getter / setter for text has been added, which hands over to the setText method, meaning you can now use both ways of setting the text. Fix #3919
|
2018-08-20 17:41:05 +01:00 |
|
Richard Davey
|
54dbdce1c7
|
Now calls the correct frame resize method. Fix #3913
|
2018-08-20 17:06:06 +01:00 |
|
TadejZupancic
|
7992924aae
|
Wrong bounds/displayTextOrigin on BitmapText text change
updateDisplayOrigin needs current width and height, which are not recalculated if the _dirty is not set to true.
|
2018-08-14 12:15:59 +02:00 |
|
Richard Davey
|
fe2ddcf934
|
Updated jsdocs
|
2018-08-08 17:03:08 +01:00 |
|
Richard Davey
|
84ef115c67
|
Remove un-used code
|
2018-08-08 15:01:41 +01:00 |
|
Richard Davey
|
25268d2a40
|
Recalc size on content change.
|
2018-08-08 15:01:29 +01:00 |
|
Richard Davey
|
353b7b5edd
|
RenderTexture destroy working. Fix #3901
|
2018-08-08 13:56:43 +01:00 |
|
Richard Davey
|
f9e498353d
|
Fixed lack of TempMatrix for Graphics generateTexture
|
2018-08-06 16:19:30 +01:00 |
|
Richard Davey
|
26cc84522d
|
The CanvasRenderer.BlitImage function has been removed, as has the associated blitImage property from the Canvas Renderer as they're no longer used.
|
2018-08-06 15:29:27 +01:00 |
|
Richard Davey
|
50821c29ac
|
Updated jsdocs
|
2018-08-06 13:45:56 +01:00 |
|
Richard Davey
|
7eda747230
|
Merge pull request #3891 from FelixNemis/retrofont-line-spacing
Add lineSpacing option to RetroFont Config
|
2018-08-06 11:46:05 +01:00 |
|
Richard Davey
|
41c9f8b1e1
|
Docs update
|
2018-08-06 00:41:34 +01:00 |
|
Charles Burnham
|
6a1c677677
|
Add lineSpacing option to RetroFont Config
|
2018-08-04 12:52:27 -05:00 |
|
Richard Davey
|
9675c269e6
|
Split Camera up into BaseCamera, which Camera now extends.
|
2018-08-04 13:05:41 +01:00 |
|
Richard Davey
|
4deb8e49ad
|
eslint fixes
|
2018-08-03 19:37:42 +01:00 |
|
Richard Davey
|
6027e9ca5a
|
Render Textures can now be cropped. Added missing jsdocs.
|
2018-08-03 19:30:55 +01:00 |
|
Richard Davey
|
d5c558b8e4
|
Render Texture now uses unified drawing functions
|
2018-08-03 19:17:39 +01:00 |
|
Richard Davey
|
82251cd85b
|
Removed Matrix Stack. No longer needed.
|
2018-08-03 19:17:12 +01:00 |
|
Richard Davey
|
2ab24c49c4
|
Tile Sprites updated to use new internal canvas and support crop
|
2018-08-03 19:14:06 +01:00 |
|
Richard Davey
|
e91d95e107
|
Text updated to use proper texture frame and now supports crop
|
2018-08-03 19:07:12 +01:00 |
|
Richard Davey
|
708a857a26
|
SetTransform is a new Canvas Renderer function that consolidates the process of preparing a Game Object for rendering, without actually rendering it. This is used internally by the Graphics and Bitmap Text classes.
|
2018-08-03 19:02:43 +01:00 |
|
Richard Davey
|
0a35275c1a
|
TransformMatrix.setToContext is a new method that will set the values from the Matrix to the given Canvas Rendering Context using setTransform rather than transform.
|
2018-08-03 18:55:33 +01:00 |
|
Richard Davey
|
ca68904953
|
The Canvas Renderer has a new batchSprite method that consolidates the process of drawing a texture-based Game Object to the canvas. It processes the alpha, blend mode and matrix calculations in a single function and now is used by nearly all Game Object canvas renderers.
|
2018-08-03 18:53:50 +01:00 |
|
Richard Davey
|
c98f5edc23
|
Added resetCropObject method to cut down on duplicate code.
|
2018-08-03 18:50:36 +01:00 |
|
Richard Davey
|
b65cf0647b
|
New Crop Game Object component.
|
2018-08-03 18:49:10 +01:00 |
|
Richard Davey
|
fc0dc13930
|
Removed use of currentBlendMode and currentAlpha
|
2018-08-03 01:53:51 +01:00 |
|
Richard Davey
|
9f44896a3f
|
The Blend Mode is now set directly in all Canvas Renderers without comparing it to what's stored in the Canvas Renderer. This fixes problems where the blend mode would be lost between two different Game Objects because they restored the context, but didn't update the renderer flag. Game Objects in Canvas can now mix and match blend modes across the display list.
|
2018-08-03 01:29:18 +01:00 |
|
Richard Davey
|
e0918df6b0
|
Canvas particle renderer now using same matrix math as webgl
|
2018-08-03 01:04:46 +01:00 |
|
Richard Davey
|
0a035353fa
|
lint fix
|
2018-08-03 01:04:25 +01:00 |
|
Richard Davey
|
1b5f084640
|
Added jsdoc
|
2018-08-03 00:34:21 +01:00 |
|
Richard Davey
|
66f6f9abc1
|
Removed un-used matrix
|
2018-08-02 22:14:23 +01:00 |
|
Richard Davey
|
2a8dbb0c42
|
Removed un-used vars
|
2018-08-02 17:33:01 +01:00 |
|
Richard Davey
|
9ccb594958
|
Fixed Graphics Canvas Renderer so it uses the matrix values properly.
|
2018-08-02 17:24:29 +01:00 |
|
Richard Davey
|
c4c8b9e6ea
|
Added copyToContext method
|
2018-08-02 17:23:52 +01:00 |
|
Richard Davey
|
674fc487ec
|
Added missing commands
|
2018-08-02 17:03:41 +01:00 |
|