Commit graph

11604 commits

Author SHA1 Message Date
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
Dave Briccetti
95b244a292 Fix typo, us -> use 2018-08-06 21:28:31 -07:00
Richard Davey
80dcb601c7 Added bots methods 2018-08-07 04:32:26 +01:00
Richard Davey
9399f32de0 FB API calls complete 2018-08-07 03:16:48 +01:00
Richard Davey
a499345369 Leaderboard objects added 2018-08-07 01:25:32 +01:00
Richard Davey
d415e2ff7f Updated FB Plugin 2018-08-07 00:54:34 +01:00
Richard Davey
fcf5d20d7b Disable culling if layer has non-1 scroll factor #3893 2018-08-06 22:22:32 +01:00
Richard Davey
d45c1c9d97 Updating FB API 2018-08-06 17:48:58 +01:00
Richard Davey
f9e498353d Fixed lack of TempMatrix for Graphics generateTexture 2018-08-06 16:19:30 +01:00
Richard Davey
1d4440a726 3.12 Beta 1 Release 2018-08-06 15:33:32 +01:00
Richard Davey
faeed47b5e eslint fixes 2018-08-06 15:32:08 +01:00
Richard Davey
e3f5590fc3 Use var to cut down on bytes 2018-08-06 15:29:36 +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
fbb67ac201 The CanvasRenderer.DrawImage function has been removed, as has the associated drawImage property from the Canvas Renderer as they're no longer used. 2018-08-06 15:24:51 +01:00
Richard Davey
702e738ffc When a Static Tilemap Layer is generated in WebGL it will use the Cameras roundPixels value to clamp the tile coordinates. 2018-08-06 14:16:36 +01:00
Richard Davey
50821c29ac Updated jsdocs 2018-08-06 13:45:56 +01:00
Richard Davey
cb6a6d2394 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-08-06 13:31:31 +01:00
Richard Davey
86965c28e4 The Tilemap Culling function now uses the Tilemap tile dimensions for its bounds calculations, instead of the layer tile sizes, as they two don't have to match and it's the underlying grid size that takes precedence when calculating visible tiles. Fix #3893 2018-08-06 13:31:27 +01:00
Richard Davey
e1f554b119
Merge pull request #3894 from mikewesthad/fix-collision-end-triggering-multiple-times
Fix `collisionEnd` triggering many times in Phaser's Matter.js copy
2018-08-06 11:48:31 +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
Michael Hadley
7675615b70 Update matter copy with bug fix from liabru/matter-js@4e04043fe0 2018-08-05 21:29:49 -05:00
Richard Davey
41c9f8b1e1 Docs update 2018-08-06 00:41:34 +01:00