Commit graph

7021 commits

Author SHA1 Message Date
Richard Davey
57084cb65e Added Pointer.smoothFactor property, and pass new boolean to input manager. 2018-11-19 15:30:42 +00:00
Richard Davey
8fca5ab575 Added InputSmoothFactor config property. 2018-11-19 15:30:21 +00: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
0ac7decfff Clarified the docs 2018-11-16 10:57:24 +00:00
Richard Davey
a625963803 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-11-16 10:56:51 +00:00
Richard Davey
eb5da1f26d Docs update 2018-11-16 10:56:43 +00:00
Richard Davey
83a4843f50
Merge pull request #4148 from kainage/fix-scene-add-data
Fix Passing in Data to the Scene via Add
2018-11-16 10:55:20 +00:00
Richard Davey
e8364cb551
Merge pull request #4156 from RoryO/callback-scope-optional
Fix TS definition of Set#iterate, callbackScope is an optional param
2018-11-16 10:52:33 +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
41343e3102 Removed copy paste error 2018-11-16 10:46:22 +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
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
48686881dc Removed clearColor. CSS now handles this. Context always transparent. 2018-11-13 15:10:10 +00:00
Richard Davey
1b51ef1130 Remove fillRect. CSS now handles the background color. 2018-11-13 15:09:42 +00:00
Richard Davey
8de7973c92 Added new captures array. 2018-11-13 15:09:18 +00:00
Richard Davey
355bc2e1ee If not transparent, then set backgroundColor to the canvas itself. 2018-11-13 15:05:59 +00:00
Richard Davey
16ef9df977 Updated capture docs and values 2018-11-13 15:05:35 +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
837cc4e86d Swapped hit area size detection priority 2018-11-12 23:19:49 +00:00
Richard Davey
696e3dc6b8 Prevent non-modified keys only 2018-11-12 23:01:30 +00:00
Richard Davey
d8b0bf7a29 Added metaKey support 2018-11-12 23:00:56 +00:00
Richard Davey
2f4f0d89ad Bumped version. 2018-11-12 22:22:26 +00:00
Richard Davey
5f92b05fd7 Added game config keyboard capture flag for global preventDefault handling. 2018-11-12 22:22:12 +00:00
Rory O'Connell
49e5e5c3a9 callbackScope is an optional param 2018-11-10 14:29:49 -08: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
Richard Davey
7d1f990ad3 Added ERASE blend mode. 2018-11-10 04:22:13 +00: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
kainage
a01726f57e Fix Scene Add Data
Data was not being passed in to the scene manager when adding a scene via `add`.
2018-11-06 06:38:36 -08: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
Richard Davey
789713b4b1 Updated the clear and rebind pipeline methods 2018-10-29 23:07:10 +00:00
Richard Davey
32a22140a6 Use the predefined variable 2018-10-29 23:06:51 +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
f95f611c1f Added CounterClockwise helper function 2018-10-26 19:38:51 +01:00
Richard Davey
d740ca2302 Use QR decomposition or it all goes wrong! 2018-10-26 19:38:30 +01:00
Richard Davey
8e04ce5b14 Typos 2018-10-26 19:38:13 +01:00
Richard Davey
6634a439af :) 2018-10-26 19:38:08 +01:00