Commit graph

11421 commits

Author SHA1 Message Date
Richard Davey
d586483dc3 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-09-01 01:48:30 +01:00
Richard Davey
cdd75f85a2 Updated log 2018-09-01 01:47:00 +01:00
iamchristopher
0a96bf356b Added Polygon.GetPoints 2018-08-31 20:30:36 -04:00
iamchristopher
a1335d3cc0 Added Polygon.Perimeter 2018-08-31 20:21:34 -04:00
Richard Davey
0a4fc5b026 Calling setTimeScale on the Sprite's Animation component will now set the time scale value and keep it set until you change it again. Previously it would be reset to 1 when a new animation was loaded into the component, but this no longer happens - once the time scale is set it remains in effect, regardless of which animations are played on the Sprite. 2018-08-31 18:45:50 +01:00
Richard Davey
55003641d2 Clamp scissor 2018-08-31 18:19:31 +01:00
Richard Davey
b317dc3d30 Set autoResize to true for now. Fix #3928 2018-08-31 18:19:25 +01:00
Richard Davey
0b95ed0478 Fixed scissors when using a small cam with render texture 2018-08-31 16:25:04 +01:00
Richard Davey
79b4f07530 Fixed mask flush and sped-up the render loop slightly (removed 1 duplicate conditional) 2018-08-31 14:40:12 +01:00
Richard Davey
5270b463d0 Removed visible check as it's no longer needed 2018-08-31 14:39:38 +01:00
Richard Davey
4794909e44 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-08-31 13:27:28 +01:00
Richard Davey
ecae9d0503 The setTintFill method would ignore the alpha value of the Game Object in the shader. The alpha value is now blended with the tint fill, allowing you to properly alpha out tint-filled Game Objects. Fix #3992 2018-08-31 13:27:24 +01:00
Richard Davey
751f362822
Merge pull request #3990 from dhruvyad/master
Fixed addKeys(string) whitespace issue
2018-08-31 12:16:48 +01:00
Dhruv Yadav
0fd6d9d7dc Fixed a trailing spaces issue from the addKey(string) whitespace update 2018-08-30 21:58:54 +05:30
Dhruv Yadav
75319233f2 Styling updates for addKey(string) whitespace fix 2018-08-30 21:53:19 +05:30
Dhruv Yadav
f29892b73f Fixed addKeys(string) whitespace issue 2018-08-30 21:36:36 +05:30
Richard Davey
1f859208ea Updated log 2018-08-29 16:35:18 +01:00
Richard Davey
14d3f6b35c Calling Arcade Physics collide during an update method wouldn't inject the results back into the Body parent, causing the bodies to carry on moving. Using Colliders worked, but manually checking did not. Now, both methods work. Fix #3777 2018-08-29 16:35:13 +01:00
Richard Davey
00b9da47d5 Updated log 2018-08-29 16:12:05 +01:00
Richard Davey
e4a7977bb9 The Transform Matrix has a new method applyInverse which will take an x/y position and inverse translate it through the current matrix. 2018-08-29 16:11:59 +01:00
Richard Davey
91f7e27ae8 Transform.getWorldTransformMatrix has been recoded to iterate the transform parents correctly, applying the matrix multiplications as it goes. This (along with some changes in the Input Manager) fix the issue with Game Objects inside of Containers failing hit tests between certain angles. Fix #3920 2018-08-29 16:10:48 +01:00
Richard Davey
0c4de357cf The Input Manager has gained a new private property _tempMatrix2. This is used internally in the hitTest checks to avoid constant matrix creation. 2018-08-29 16:08:04 +01:00
Richard Davey
3469ff2cfd Arcade Physics World has gained two new private properties _tempMatrix and _tempMatrix2. These are used by all bodies in the simulation that need a temporal matrix for calculations, rather than having their own instances. 2018-08-29 16:07:07 +01:00
Richard Davey
2c525845be The Arcade Physics Body _tempMatrix property has been removed. It was only used if the Body's Game Object had a parent. The matrix has been moved to the World instance instead, shared by all bodies. 2018-08-29 16:06:13 +01:00
Richard Davey
5c091f4ff9 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-08-29 11:57:33 +01:00
Richard Davey
7041bd99ec The InputManager.inputCandidate method, which determines if a Game Object can be interacted with by a given Pointer and Camera combination, now takes the full camera status into consideration. This means if a Camera is set to ignore a Game Object you can now longer interact with it, or if the Camera is ignoring a Container with an interactive Game Object inside it, you cannot interact with the Container children any more. Previously they would interact regardless of the Camera state. Fix #3984 2018-08-29 11:57:30 +01:00
Richard Davey
2e421b4349
Merge pull request #3981 from hypertrifle/master
Updated @param notation that cause issues generating docs
2018-08-29 11:18:22 +01:00
Richard Davey
c302cd6f4e
Merge pull request #3982 from spontoreau/master
Add CursorKeys type to Phaser.Input.Keyboard namespace
2018-08-29 11:17:12 +01:00
spontoreau
e922f378f4
Add CursorKeys type to Phaser.Input.Keyboard namespace 2018-08-26 22:28:21 +02:00
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
cbfc208e5b Updated log 2018-08-24 23:58:38 +01:00
Richard Davey
cb0eeb3d63 Added default blank frame for custom pipelines #3978 2018-08-24 23:58:27 +01:00
Richard Davey
5eaeb208f6 Preparing for beta4 2018-08-23 19:35:42 +01:00
Richard Davey
5189d95e72 3.12.0 Beta 3 Release 2018-08-23 19:29:53 +01:00
Richard Davey
ca783182bf Updated change log 2018-08-23 18:11:29 +01:00
Richard Davey
a585df3abf DOM Elements moved behind experimental flag for now 2018-08-23 18:11:10 +01:00
Richard Davey
eaeab041ee Added render to texture docs 2018-08-23 18:10:55 +01:00
Richard Davey
618754b411 Moved FB plugin to plugins folder 2018-08-23 18:10:46 +01:00
Richard Davey
7765496b19 Moved FB plugin behind build flag 2018-08-23 18:10:20 +01:00
Richard Davey
8af23472ed Added FBIG Plugin and Experimental build flag 2018-08-23 18:09:37 +01:00
Richard Davey
1d4b2ed01a Removed un-needed methods and fixed TileSprite and Tilemap Lights. Fix #3949 2018-08-23 17:30:27 +01:00
Richard Davey
0e27dc33e4 When a Sprite3D object is added to a Camera via Camera.add it is now added to the Display and Update Lists. Fix #3945 2018-08-23 15:53:33 +01:00
Richard Davey
ca0322a511 Added link 2018-08-23 15:49:29 +01:00
Richard Davey
ba4816c99c Typo plus example 2018-08-23 15:48:28 +01:00
Richard Davey
fc51f3a2db Updated log and added plugin readme 2018-08-23 15:44:53 +01:00
Richard Davey
b25ff9e065 Moved Camera3D to optional plugin
Also included build flag to allow it to be compiled into the standard lib if required (saves a bunch of KB in duplicated classes)
2018-08-23 15:30:21 +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
5ca4799871 Don't lint the config 2018-08-23 13:17:58 +01:00
Richard Davey
a8b649cf98 Log update 2018-08-23 12:36:35 +01:00
Richard Davey
f24204ee03 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-08-23 12:31:59 +01:00