Commit graph

9776 commits

Author SHA1 Message Date
Richard Davey
fa6b3bba64 Actions.SetRotation has 2 new arguments: index and direction. 2018-03-17 17:45:38 +00:00
Richard Davey
e8fe38b560 Actions.SetDepth has 2 new arguments: index and direction. 2018-03-17 17:45:19 +00:00
Richard Davey
bdddad818a Actions.SetBlendMode has 2 new arguments: index and direction. 2018-03-17 17:43:04 +00:00
Richard Davey
f47119be08 Actions.ScaleXY has 4 new arguments: stepX, stepY, index and direction. 2018-03-17 17:41:30 +00:00
Richard Davey
30f76e384d Fixed docs 2018-03-17 17:41:07 +00:00
Richard Davey
5f196aa81f Actions.SetAlpha has 2 new arguments: index and direction. 2018-03-17 17:34:41 +00:00
Richard Davey
2935e59cf6 Actions.ScaleY has 3 new arguments: step, index and direction. 2018-03-17 17:34:13 +00:00
Richard Davey
fd3aad5f08 Actions.ScaleX has 3 new arguments: step, index and direction. 2018-03-17 17:34:02 +00:00
Richard Davey
47287bc466 Actions.Rotate has 3 new arguments: step, index and direction. 2018-03-17 17:33:02 +00:00
Richard Davey
a282b76d07 Actions.PropertyValueSet is a new action that will set any property of an array of objects to the given value, using an optional step value, index and iteration direction. Most Actions have been updated to use this internally. 2018-03-17 17:32:19 +00:00
Richard Davey
263086fd6a Actions.PropertyValueInc is a new action that will increment any property of an array of objects by the given amount, using an optional step value, index and iteration direction. Most Actions have been updated to use this internally. 2018-03-17 17:31:38 +00:00
Richard Davey
5be0932fae Actions.IncXY has 4 new arguments: stepX, stepY, index and direction. 2018-03-17 17:25:25 +00:00
Richard Davey
85d4b036b3 Actions.IncY has 3 new arguments: step, index and direction. 2018-03-17 17:18:28 +00:00
Richard Davey
2d09f69410 Actions.IncX has 3 new arguments: step, index and direction. 2018-03-17 17:18:16 +00:00
Richard Davey
70058392d3 Actions.IncAlpha has 3 new arguments: step, index and direction. 2018-03-17 17:17:41 +00:00
Richard Davey
eb0fb84563 Actions.Angle has 3 new arguments: step, index and direction. 2018-03-17 17:17:18 +00:00
Richard Davey
389669e21b Updated jsdocs 2018-03-17 17:16:26 +00:00
Richard Davey
ccbf399dc2 Actions.GetLast will return the last element in the items array matching the conditions. 2018-03-17 17:16:11 +00:00
Richard Davey
3537dce193
Merge pull request #3409 from macbury/scene_key_exist
Remove scene key in SceneManager
2018-03-17 17:08:36 +00:00
Richard Davey
a8886a60d3 Actually round the value. 2018-03-17 17:03:30 +00:00
Richard Davey
46e9dbd05a Fixed left / right rotation and exposed via namespace
Phaser.Utils.Array.Matrix.RotateLeft actually rotated to the right (thanks @Tomas2h)
Phaser.Utils.Array.Matrix.RotateRight actually rotated to the left (thanks @Tomas2h)
2018-03-17 17:03:15 +00:00
Arkadiusz Buras
e981932db1
Remove scene key in SceneManager 2018-03-17 13:42:42 +01:00
Richard Davey
2ea8489716 Tidying up 2018-03-16 18:08:51 +00:00
Richard Davey
3b8da57008 jsdoc fixes 2018-03-16 17:38:15 +00:00
Richard Davey
1b20232bd1 Exposed consts and added jsdocs 2018-03-16 17:35:01 +00:00
Richard Davey
05a4385cd7 jsdoc fixes 2018-03-16 17:29:39 +00:00
Richard Davey
625394a24c Don't reset the callbacks unless xhrLoader is set 2018-03-16 17:00:45 +00:00
Richard Davey
9832befeea Fixed camera y 2018-03-16 15:47:14 +00:00
Richard Davey
b2d062b0bd LoaderPlugin.progress and the corresponding event now factor in both the list size and the inflight size when calculating the percentage complete. Fix #3384 2018-03-16 15:01:39 +00:00
Richard Davey
b6b03b85bd The InputPlugin.processOverOutEvents method wasn't correctly working out the total of the number of objects interacted with, which caused input events to be disabled in Scenes further down the scene list if something was being dragged in an upper scene. Fix #3399 2018-03-16 14:57:19 +00:00
Richard Davey
4ab98eb492 The TweenManager will now check the state of a tween before playing it. If not in a pending state it will be skipped. This allows you to stop a tween immediately after creating it and not have it play through once anyway. Fix #3405 2018-03-16 14:31:49 +00:00
Richard Davey
a524dc44b0 Expose constants. Fix #3387 2018-03-16 13:29:30 +00:00
Richard Davey
fbec8f978c You can now specify all of the renderer config options within a render object in the config. If no render object is found, it will scan the config object directly for the properties. 2018-03-16 13:22:52 +00:00
Richard Davey
bce89313c1 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-03-16 13:10:51 +00:00
Richard Davey
a7b8d754d6 Updated change log 2018-03-16 13:10:47 +00:00
Richard Davey
1304e0066c Correct config property 2018-03-16 13:10:41 +00:00
Richard Davey
64c1ec1e2d
Merge pull request #3360 from allanbreyes/fix/timeline.resetTweens
Fix error when calling `timeline.resetTweens()`
2018-03-16 13:04:58 +00:00
Richard Davey
a6d742227c
Merge pull request #3394 from stuff/patch-2
pass data to the manager queue when starting a scene
2018-03-16 13:00:25 +00:00
Richard Davey
7a8e4cf5e1
Merge pull request #3366 from samme/feature/world-wrap
Add Arcade.World wrap methods and Actions.WrapInRectangle
2018-03-16 12:58:16 +00:00
Richard Davey
053d7e14b1
Merge pull request #3398 from bigbozo/zoomed-camera-tilemap
Fixed Tile-Culling for Zoomed Camera
2018-03-16 12:56:14 +00:00
Richard Davey
24eec0ccd0
Merge pull request #3365 from samme/feature/tilesprite-settileposition
Add Phaser.GameObjects.TileSprite#setTilePosition
2018-03-16 12:55:03 +00:00
Richard Davey
e850ddcb72
Merge pull request #3397 from bigbozo/master
Fix [CameraManager].getCamera(<name>)
2018-03-16 12:53:04 +00:00
Richard Davey
19ea528c99
Merge pull request #3392 from samme/feature/group-create-active
Add `active` to Group create methods
2018-03-16 12:51:21 +00:00
Richard Davey
ee1e4f1e90 InputManager.hitTest will now factor the game resolution into account, stopping the tests from being offset if resolution didn't equal 1. #3376 2018-03-16 12:49:02 +00:00
Richard Davey
77357dbde0 jsdoc fix #3377 2018-03-16 12:39:39 +00:00
Richard Davey
9676205403 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-03-16 12:39:07 +00:00
Richard Davey
aa8a4524b6 Updated log 2018-03-16 12:39:01 +00:00
Richard Davey
bd40c7844d
Merge pull request #3377 from jmcriat/patch-1
set default gamepad button threshold to 1
2018-03-16 12:38:36 +00:00
Richard Davey
588b8f79a3
Merge pull request #3393 from samme/feature/createSceneFromObject
Remove 'shutdown' and 'destroy' callbacks in createSceneFromObject
2018-03-16 12:34:36 +00:00
Richard Davey
c9ad488b18
Merge pull request #3403 from rexrainbow/master
Fix bug in data.merge()
2018-03-16 12:33:13 +00:00