Richard Davey
28b1f0cfe6
Merge pull request #3926 from Mursaat/arcade-squared-dist
...
Replace DistanceBetween with DistanceSquared in closest() and furthest() functions (ArcadePhysics.js)
2018-08-20 18:26:21 +01:00
Richard Davey
4faa0ed228
Merge pull request #3942 from goldfire/small-pre-render-optimize
...
Don't set gl.clearColor when no clearBeforeRender
2018-08-20 18:22:21 +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
Richard Davey
5da3c811f2
Updated beta
2018-08-20 17:04:59 +01:00
Richard Davey
20be4e3c60
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-08-20 16:42:29 +01:00
Richard Davey
818fbb05c7
Updated log
2018-08-20 16:42:27 +01:00
Richard Davey
74e362f7af
Merge pull request #3956 from rootasjey/fix-documentation
...
Fix JSDoc in Tilemap
2018-08-20 16:09:04 +01:00
rootasjey
e2c505554a
Fix JSDoc in Tilemap
2018-08-20 13:20:23 +02:00
Richard Davey
1d20cf0e19
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-08-18 16:46:06 +01:00
Richard Davey
661070ec6a
Updated log
2018-08-18 16:46:03 +01:00
Richard Davey
224d587928
Merge pull request #3907 from iamchristopher/feature-data-manager-changedata-prev-val
...
Emit previous value with DataManager's `changedata` event
2018-08-18 16:06:47 +01:00
Richard Davey
eb220df3f6
Merge pull request #3947 from padme-amidala/bugfix/3946-fix-export-for-canvas
...
Fixed an issue where module exports are not named correct for CanvasInterpolation and CanvasPool
2018-08-18 16:04:37 +01:00
Richard Davey
7918f0991d
Merge pull request #3937 from goldfire/goldfire-patch-1
...
Use correct frame name in pixel perfect hit test
2018-08-18 16:03:07 +01:00
Andre Hofmeister
68900651bf
Fixed an issue where module exports are not named correct for CanvasInterpolation and CanvasPool #3946 .
2018-08-18 13:30:16 +02:00
YsraelJMM
081f4188df
Resize SVG in the preload.
...
The third time's the charm.
this.load.svg (key, src, {width: number, height: number}).
2018-08-17 14:24:31 -05:00
James Simpson
1ac7c969ea
Don't set gl.clearColor when no clearBeforeRender
...
Unless I'm missing something, the `gl.clearColor` command is unnecessary when you have `this.config.clearBeforeRender` set to `false`. This simply moves that into the config check to eliminate an unused command in those situations.
2018-08-17 14:03:17 -05:00
YsraelJMM
fb414129f8
Resizing SVG in the preload (2)
...
this.load.svg(key, src, {width: number, height: number});
example: https://www.youtube.com/watch?v=Kd7pNjY-FLk
2018-08-17 13:50:23 -05:00
YsraelJMM
1816e529e1
Resizing of the SVG in the preload
...
One of the main qualities of SVG images, is its scalability, not being able to use this, is to reduce it to be a bit more image. An SVG file has an XML format, so it can be modified with the DOM.
In order to collaborate, I have put the option to modify the parameters of the SVG and in this way make it adaptable.
The modification gives the option of being able to choose the size in the preload to which you want to have the image before rasterizing it; And so avoid the subsequent scaling that will not have the same quality.
You can see the example here:
https://www.youtube.com/watch?v=Kd7pNjY-FLk
tested in version 3.11 It does not interfere with the original code.
2018-08-17 12:37:35 -05:00
Chris Andrew
f46bd2cacd
Fixed documentation for a Vector2 constructor parameter and its ZERO constant.
2018-08-17 00:18:26 +01:00
James Simpson
e4ccc8ec2d
Use correct frame name in pixel perfect hit test
...
`gameObject.frame.key` doesn't exist and was passing an undefined value to `getPixelAlpha`. This just changes it to the correct `gameObject.frame.name` value.
2018-08-16 12:23:10 -05: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
Aurélien DUSSAUGE
b14d920581
Replace DistanceBetween with DistanceSquared in closest() and furthest() functions (ArcadePhysics.js)
2018-08-13 21:59:58 +02:00
Eirik S Korsnes
fe748e9dc7
- wrote dot-notated config properties as seperate typedefs
...
- add some missing properties
2018-08-12 12:19:48 +02:00
iamchristopher
9ef5fde70e
Added previous value when changing value
2018-08-09 15:28:56 -04:00
Richard Davey
c94404986c
3.12 Beta 2 Release
2018-08-09 14:16:12 +01:00
Richard Davey
7efb05c76e
Updated issues template
2018-08-08 19:34:35 +01:00
Richard Davey
4bdb0de312
The Arcade Physics Body.speed
property is now set whenever you set the velocity via setVelocity
or setVelocityX
or setVelocityY
which stops the body velocity being reset to zero if useDamping
is enabled. Fix #3888
2018-08-08 17:31:22 +01:00
Richard Davey
fe2ddcf934
Updated jsdocs
2018-08-08 17:03:08 +01:00
Richard Davey
764de08ff4
Camera.ignore
can now take nested-arrays of Game Objects and also supports both Groups and Containers.
2018-08-08 16:46:14 +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
66afe973af
Trying mixins
2018-08-08 01:33:55 +01:00
Richard Davey
452a364c0b
Updated log
2018-08-08 01:33:39 +01:00
Jonan Scheffler
7c525b00fa
Correct Konami code in createCombo documentation.
2018-08-07 14:25:48 -07:00
Richard Davey
cc26b51ff8
Merge pull request #3899 from Dreaded-Gnu/typings-1
...
Added initial type definitions for plugins property of game object
2018-08-07 21:34:28 +01:00
Christian Freitag
1909d73a0e
- Added initial type definitions for plugins property within game object
2018-08-07 21:38:28 +02:00
Richard Davey
963141a5a8
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-08-07 16:27:25 +01:00
Richard Davey
3a4bfa679b
Added experimental Camera to Render Texture
2018-08-07 16:27:21 +01:00
Richard Davey
65d81ec426
Formatting
2018-08-07 16:26:22 +01:00
Richard Davey
50baa268e3
addBase64
will return intance for chaining
2018-08-07 16:26:15 +01:00
Richard Davey
8573e60273
No config, no update
2018-08-07 16:25:55 +01:00
Richard Davey
8a9cfdf83b
Added properties and methods to Scale Manager ready for integration
2018-08-07 16:25:45 +01:00
Richard Davey
9af64d02ad
Updated log
2018-08-07 16:25:20 +01:00
Richard Davey
e6e5d91a08
Merge pull request #3896 from dcbriccetti/typo
...
Fix typo, us -> use
2018-08-07 14:24:51 +01:00
Richard Davey
f953fe42b9
lint the Scale Manager
2018-08-07 11:20:12 +01:00
Richard Davey
9f98b4c438
Moved to beta 2
2018-08-07 11:20:00 +01:00
Richard Davey
2d91d4a26b
You can now access the Game instance directly from a Scene using this.game
2018-08-07 11:19:20 +01:00