Commit graph

1025 commits

Author SHA1 Message Date
Felipe Alfonso
865f0a604e Small fix on the MatrixStack rotation function 2018-03-02 11:29:04 -03:00
Richard Davey
acc4922027 Fixes to the InputPlugin re: drop zones and addition of setInteractive argument. 2018-03-01 02:46:17 +00:00
Richard Davey
9a561ff385 Added roundPixels support to BitmapText canvas 2018-02-28 23:07:30 +00:00
Richard Davey
fdc1f3cab3 Added canvas roundPixels support for Text, Particles and TileSprites 2018-02-28 22:40:08 +00:00
Richard Davey
252a76f416 The Headless render mode has been implemented. You can now set HEADLESS as the renderType in the Game Config and it will run a special game step that skips rendering. It will still create a Canvas element, as lots of internal systems (like input) rely on it, but it will not draw anything to it. Fix #3256 2018-02-28 21:57:32 +00:00
Felipe Alfonso
14399d6910 TileSprite can now set frame of the pattern texture 2018-02-28 17:04:57 -03:00
Richard Davey
8ae3493296 setText updates
BitmapText.setText will check if the value given is falsey but not a zero and set to an empty string if so.
BitmapText.setText will now cast the given value to a string before setting.
BitmapText.setText will not change the text via `setText` unless the new text is different to the old one.
2018-02-27 15:14:03 +00:00
Richard Davey
b447665533 Text.setText will check if the value given is falsey but not a zero and set to an empty string if so. 2018-02-27 15:13:39 +00:00
Richard Davey
34e5a282d2 AnimationComponent.play now calls setSizeToFrame() and updateDisplayOrigin() on the parent Game Object in order to catch situations where you've started playing an animation on a Game Object that uses a different size to the previously set frame. 2018-02-27 01:09:09 +00:00
Felipe Alfonso
7c96e93c47 Canvas RenderTexture rendering added 2018-02-23 21:05:15 -03:00
Felipe Alfonso
9dbb4db4c6 Added inverted alpha to bitmap mask 2018-02-23 14:09:27 -03:00
Felipe Alfonso
ef8e92dc01 RenderTexture base webgl implementation 2018-02-23 00:44:22 -03:00
Richard Davey
fe5bd7e6bb Fixed jsdoc errors 2018-02-21 22:51:05 +00:00
Felipe Alfonso
4b9b4c91a3 Dynamic BitmapText's origin is used on rendering the text 2018-02-19 18:20:30 -03:00
Felipe Alfonso
41bcaba43a Dynamic BitmapText now uses origin component to render the text. 2018-02-19 18:16:57 -03:00
Richard Davey
3c65121cb3 eslint fixes 2018-02-16 19:17:49 +00:00
Richard Davey
50dac412be eslint fixes and console removal 2018-02-16 19:08:50 +00:00
Richard Davey
d745b70330 The Mesh Game Object Factory entry had incorrect arguments passed to Mesh constructor. 2018-02-16 19:07:58 +00:00
Richard Davey
5b4b5de075 TileSprite was missing a gl reference, causing it to fail during a context loss and restore. 2018-02-16 18:54:33 +00:00
Richard Davey
86f00eeb52 eslint fixes 2018-02-16 18:17:51 +00:00
Richard Davey
79520bfdc4 Added jsdoc 2018-02-15 14:33:36 +00:00
Richard Davey
d72c7d501a Destroying a Game Object will now call destroy on its physics body. 2018-02-14 19:33:13 +00:00
Richard Davey
c80e2fde2c Fixed use of List structure for the Blitter game object. 2018-02-14 12:25:17 +00:00
Richard Davey
2892f20e5c Depth component added to the Zone Game Object. Fix #3213 2018-02-13 22:19:44 +00:00
Richard Davey
353dba4d5e Added missing Target camera back, fixing Graphics.generateTexture in the process. 2018-02-13 08:08:48 +00:00
Richard Davey
2813ac8162 Moved PluginManager and merged configs into single root file for easier changing. 2018-02-12 23:03:48 +00:00
Richard Davey
275f6e40b2 Moved to sub-folder. 2018-02-12 22:16:27 +00:00
Richard Davey
ef87b33a10 Added jsdocs 2018-02-12 21:54:51 +00:00
Felipe Alfonso
9b2741387b Resolution affecting camera display 2018-02-12 16:03:13 -03:00
Richard Davey
8bce7ea7c9 Added jsdocs. 2018-02-12 17:21:06 +00:00
Richard Davey
3493e272d6 Added jsdocs 2018-02-12 17:03:53 +00:00
Richard Davey
b6b8f70550 DisplayList now just extends List and removed the Plugin, as it acts as its own plugin now. 2018-02-12 16:59:57 +00:00
Richard Davey
d578e89828 Moved Mesh out of core and into its own Graphics extension. 2018-02-12 16:59:27 +00:00
Richard Davey
d1f5f8a82b Added jsdocs 2018-02-12 16:01:21 +00:00
Richard Davey
d67daa998e If no value given, set to empty string. 2018-02-12 13:48:51 +00:00
Richard Davey
38b6d2834b Added jsdocs 2018-02-10 17:11:36 +00:00
Richard Davey
2ece55c28e Renamed folder to match namespace 2018-02-10 14:56:08 +00:00
Richard Davey
a71998d682 Updated origin call. 2018-02-09 15:23:26 +00:00
Richard Davey
5085ed5c9f Added setOriginFromFrame. 2018-02-09 15:21:49 +00:00
Richard Davey
3422569a4a setFrame will use a custom pivot, if set. 2018-02-09 15:21:39 +00:00
Richard Davey
e0899bfa00 Added jsdocs 2018-02-09 03:44:23 +00:00
Richard Davey
10193c181a Fixed require paths. 2018-02-07 17:10:01 +00:00
Richard Davey
89fe7123e1 Moved to its own top-level folder. 2018-02-07 16:29:48 +00:00
Richard Davey
3c8470863a Fixed undef error. 2018-02-07 16:16:26 +00:00
Richard Davey
40689d1e35 Updated jsdocs. 2018-02-07 15:27:21 +00:00
Richard Davey
8ae958037e Added jsdocs 2018-02-07 02:46:11 +00:00
Richard Davey
33c9f39b9d Merge branch 'master' of https://github.com/photonstorm/phaser 2018-02-07 00:19:15 +00:00
Richard Davey
650ae3cf5a Added jsdocs 2018-02-07 00:18:22 +00:00
Michael Hadley
50434227ac Tile's flip/rotation is now only set by the flipX, flipY and rotation props 2018-02-06 18:17:15 -06:00
Richard Davey
5c0872485c Added jsdocs 2018-02-06 22:56:27 +00:00