orblazer
1e8311e1ab
Add callbacks on Dom and Data
2018-03-19 22:43:48 +01:00
orblazer
33e49a4416
Add callbacks on Boot, Actions and Create
2018-03-19 22:37:47 +01:00
orblazer
b4a30b8e43
Add callbacks on GameObjects
2018-03-19 22:27:16 +01:00
Jeroen Reurings
ed3dc2b9b4
Added @since 3.3.0 to new callback method comments.
2018-03-19 22:25:19 +01:00
orblazer
41d7c4b715
Add callbacks on Input and Geom
2018-03-19 22:12:11 +01:00
orblazer
f30218d3d3
Add callbacks on Physics
2018-03-19 21:42:07 +01:00
orblazer
8fdedabaeb
Add callbacks on Renderer
2018-03-19 21:41:24 +01:00
Jeroen Reurings
6ada1ec2f3
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-03-19 20:31:10 +01:00
orblazer
bf630f7d57
Fix types in JSDocs
2018-03-19 19:49:14 +01:00
Jeroen Reurings
a759266064
Changed default values of effect callbacks to null instead of undefined;
...
Removed @since JSDoc comments for newly added class methods (because it's still unknown in which version they will be added).
2018-03-19 19:38:43 +01:00
orblazer
6a4fda392c
Fix Object type in DataManager
2018-03-19 19:03:00 +01:00
Richard Davey
ff7119dfc1
Merge pull request #3422 from orblazer/fix-types
...
Fix types and begin object TypeDef
2018-03-19 17:16:45 +00:00
orblazer
45158c2fbd
Update JSDoc on Animations and Boot
2018-03-19 18:13:33 +01:00
Richard Davey
4de9719fbe
Fixed jsdoc types
2018-03-19 17:05:29 +00:00
Richard Davey
15579d7350
Fixed jsdocs
2018-03-19 17:01:53 +00:00
Richard Davey
968dc05eae
Triangle.getLineA/B/C now returns a Line instead of an untyped object. It also now has an optional argument that allows you to pass a Line in to be populated, rather than creating a new one.
2018-03-19 16:51:39 +00:00
Richard Davey
4704745ac6
Optional vec2.
2018-03-19 16:47:43 +00:00
Richard Davey
917dc8f8be
Rectangle.getLineA/B/C/D now returns a Line instead of an untyped object. It also now has an optional argument that allows you to pass a Line in to be populated, rather than creating a new one.
2018-03-19 16:47:34 +00:00
Richard Davey
3eef3213be
Spacing
2018-03-19 16:34:39 +00:00
Richard Davey
d551ef3d29
Added RayDef
2018-03-19 16:34:33 +00:00
Richard Davey
034161bd66
Line.getPointA and Line.getPointB now return Vector2 instances instead of un-typed objects.
2018-03-19 16:34:22 +00:00
orblazer
0ca95676ba
Update JSDoc on Cameras
2018-03-19 17:21:25 +01:00
orblazer
13324dd04f
Update JSDoc on Create
2018-03-19 17:03:32 +01:00
orblazer
abf63cc33e
Update JSDoc on Curves
2018-03-19 16:53:55 +01:00
orblazer
e2ab82c7b1
Fix types on Data
2018-03-19 16:37:01 +01:00
orblazer
1933547140
Fix types on DOM
2018-03-19 16:29:26 +01:00
orblazer
94d92910cb
Update JSDoc on Display (object types)
2018-03-19 16:22:51 +01:00
Jeroen Reurings
b27130c8a6
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-03-19 16:22:16 +01:00
Jeroen Reurings
9006f19f41
Added callbacks to Shake, Fade and Flash effects, so you don't have to use a delayed call to trigger something after an effect is completed;
...
Moved the shake function next to the other effect functions.
2018-03-19 16:21:48 +01:00
Richard Davey
19a08286c0
More types added
2018-03-19 15:01:14 +00:00
Richard Davey
876911fd32
Fixed var error
2018-03-19 13:50:23 +00:00
Richard Davey
620bcc6ae5
jsdoc fixes and additions
2018-03-19 13:45:00 +00:00
Richard Davey
a78651ab12
Removed un-used properties and fixed jsdoc types
2018-03-19 13:33:02 +00:00
Richard Davey
d0d05fa76e
Added descriptions and fixed some types
2018-03-19 13:22:30 +00:00
orblazer
fa63a9090a
Update JSDoc on Display
2018-03-19 14:03:41 +01:00
orblazer
ddf2f748cd
Update JSDoc on Animation
2018-03-19 13:54:20 +01:00
orblazer
87d6cdaff8
Update JSDoc on GameObjects
2018-03-19 13:50:32 +01:00
orblazer
0b1078fdb8
Update JSDoc on Input
2018-03-19 13:43:19 +01:00
orblazer
679253f591
Update JSDoc on Math
2018-03-19 13:06:46 +01:00
orblazer
0e06dcf3a1
Update JSDoc on Geom
2018-03-19 13:05:23 +01:00
orblazer
90def456f2
Update JSDoc on GameObjects
2018-03-19 12:54:31 +01:00
Richard Davey
4fe6a25117
Added jsdoc data types
2018-03-19 11:25:46 +00:00
Hua
1dc98b586f
Expose FILE_CONST
...
Expose FILE_CONST for 3rd party developer
2018-03-19 13:46:16 +08:00
orblazer
253f3b1896
Fix import on array utils
2018-03-19 02:14:22 +01:00
orblazer
454849d67d
Update JSDoc on Tweens and Utils
2018-03-19 02:07:03 +01:00
orblazer
cb708dcc32
Update JSDoc on Textures, Tilemaps and Time
2018-03-19 02:03:17 +01:00
orblazer
6b5dc62ad1
Update JSDoc on Structs
2018-03-19 02:00:21 +01:00
orblazer
6a4dd8db8f
Update JSDoc on Renderer and Scene
2018-03-19 01:59:59 +01:00
orblazer
449506db87
Update JSDoc on Loader
2018-03-19 01:54:19 +01:00
orblazer
c3fb72780b
Update JSDoc on Cameras
2018-03-19 01:49:29 +01:00
orblazer
ae15eca7bd
Update JSDoc on "Matter.JS" physics
2018-03-19 01:10:32 +01:00
orblazer
2da6a2bffe
Update JSDoc on "Impact" physics
2018-03-19 00:42:09 +01:00
orblazer
af3c03a3cb
Update JSDoc on "Arcade" physics
2018-03-19 00:29:46 +01:00
Rex
4125e74550
Bug fix: font might not sync to context
...
Sync font before runWordWrap
2018-03-18 22:53:02 +08:00
Richard Davey
edeb63ebbd
eslint fix
2018-03-18 14:21:53 +00:00
Richard Davey
cc0998660e
Updated jsdocs
2018-03-18 13:43:37 +00:00
Richard Davey
3d4be64331
Testing MatterGameObject
2018-03-17 18:07:05 +00:00
Richard Davey
7e26fdb907
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-03-17 17:51:54 +00:00
Richard Davey
45194658fb
Added new Actions
2018-03-17 17:51:27 +00:00
Richard Davey
cb110e4977
Actions.SetXY has 2 new arguments: index
and direction
.
2018-03-17 17:51:12 +00:00
Richard Davey
c67882e900
Actions.SetY has 2 new arguments: index
and direction
.
2018-03-17 17:50:13 +00:00
Richard Davey
80560b7b3c
Actions.SetX has 2 new arguments: index
and direction
.
2018-03-17 17:49:49 +00:00
Richard Davey
7052f981b5
Actions.SetVisible has 2 new arguments: index
and direction
.
2018-03-17 17:49:23 +00:00
Richard Davey
8f0ee99f23
Actions.SetScaleY has 2 new arguments: index
and direction
.
2018-03-17 17:47:37 +00:00
Richard Davey
fe7d72b326
Actions.SetScaleX has 2 new arguments: index
and direction
.
2018-03-17 17:47:26 +00:00
Richard Davey
84cc2c7aa2
Actions.SetScale has 2 new arguments: index
and direction
.
2018-03-17 17:47:07 +00:00
Richard Davey
6f3b2cf9a5
Actions.SetOrigin has 4 new arguments: stepX
, stepY
, index
and direction
.
2018-03-17 17:46:26 +00:00
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
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
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
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
Richard Davey
cac7aea9ca
Merge pull request #3401 from pixelpicosean/fix-arcade-circle-debug-draw
...
Fix arcade circle debug draw
2018-03-16 12:31:50 +00:00
Richard Davey
66c40dda69
eslint fix
2018-03-16 12:30:39 +00:00
Hua
f16cf72826
Fix bug
...
Copy value of key, instead of the reference of data object
2018-03-16 16:57:25 +08:00
Sean Bohan
4cde28fecd
Forgot to devide width by 2
2018-03-16 14:02:41 +08:00
Sean Bohan
72e82ecf48
Fix debug draw of scaled arcade body
2018-03-16 14:02:41 +08:00
Richard Davey
dd4e00007f
Added antialias config value
2018-03-16 00:52:21 +00:00
Richard Davey
78b72c55be
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-03-16 00:46:42 +00:00
Richard Davey
1fea31bac8
Fixed package names
2018-03-16 00:46:39 +00:00
Felipe Alfonso
2238a132e2
Context Creationg Config attributes are default to Khronos spec for webgl context creation
2018-03-15 19:55:52 -03:00
Richard Davey
0c1c16deba
Used new config values, fixed eslint formatting and floored dimensions
2018-03-15 21:15:39 +00:00
Richard Davey
36f5ca47a9
Added new config values
...
* Game.Config.preserveDrawingBuffer is now passed to the WebGL Renderer (default `false`).
* Game.Config.failIfMajorPerformanceCaveat is now passed to the WebGL Renderer (default `false`).
* Game.Config.powerPreference is now passed to the WebGL Renderer (default `default`).
* Game.Config.pixelArt is now passed to the WebGL Renderer as the antialias context property (default `false`).
2018-03-15 21:15:12 +00:00
Bugi Görtz
077d933bbb
Fixed Tile-Culling for Zoomed Camera
...
The fix from https://github.com/photonstorm/phaser/pull/3354/ leads to some tiles getting culled when camera is zoomed as the camera.scrollX/camera.scrollY-Properties are needed in unscaled Coordinates (World-Coordinates?) in CullTile.js
Error gets bigger with distance from (0|0)
2018-03-15 20:32:09 +01:00
Richard Davey
d286a932cd
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-03-15 17:27:33 +00:00
Richard Davey
19a17bcf63
Updating docs
2018-03-15 17:27:30 +00:00
Bugi Görtz
b977f096f8
fixed getCamera in CameraManager (2d/3d) to work correctly; forEach()-iterator doesn't return values
...
(https://hacks.mozilla.org/2015/04/es6-in-depth-iterators-and-the-for-of-loop/ )
2018-03-15 17:12:06 +01:00
Bugi Görtz
5af8e745d1
fixed getCamera in CameraManager to work correctly; forEach()-construct can't return values
...
(https://hacks.mozilla.org/2015/04/es6-in-depth-iterators-and-the-for-of-loop/ )
2018-03-15 16:58:05 +01:00
Michael Hadley
d966aaa412
Fixes #3395
2018-03-15 06:22:22 -05:00
Nicolas Challeil
53de26e572
pass data to the manager queue
2018-03-14 23:52:00 +01:00
samme
55ccf7f026
Remove unused callbacks in createSceneFromObject
...
Phaser never calls 'shutdown' or 'destroy' methods.
2018-03-14 13:28:04 -07:00
samme
731b006ec3
Add active
to Group create methods
...
- Adds `active=true` argument to Group#create
- Adds `active=true` config value to Group#createMultiple etc.
2018-03-14 12:22:08 -07:00
Richard Davey
1d23aad976
TextStyle has two new properties: baselineX
and baselineY
which allow you to customize the 'magic' value used in calculating the text metrics.
2018-03-13 13:21:51 +00:00
Richard Davey
00a5ce9a03
Preparing for 3.3.0
2018-03-13 13:21:34 +00:00
José Maria
128691b50d
set default gamepad button threshold to 1
...
this.threshold = 0 was making all gamepad buttons to be always pressed down (this.pressed = true).
this.threshold = 1 will correct the issue and in the case of analogue buttons it will only emit the event when the 'pressure' is at max.
2018-03-12 14:04:04 -03:00
Richard Davey
247e8b9337
Text.setFixedSize was incorrectly setting the text
property instead of the parent
property. Fix #3375
2018-03-12 16:34:21 +00:00
Allan Reyes
a08c75bb06
Delegate Timeline#makeActive to TweenManager
...
This fixes a bug when calling Timeline#resetTweens() while the tweens
are pending removal or completed. Delegating the #makeActive method
here was chosen to:
- Follow "tell, don't ask" (pragprog.com/articles/tell-dont-ask)
- Prevent an additional branch conditional in Tween.js
- Prevent a Law of Demeter violation, e.g.
// src/tweens/tween/Tween.js
if (this.parentIsTimeline) // "asking"
{
this.parent.manager.makeActive(this); // LoD violation
}
else
{
this.parent.makeActive(this);
}
2018-03-12 09:31:00 -07:00
Richard Davey
1ebf639de3
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-03-12 16:30:16 +00:00
Felipe Alfonso
be81ddfd51
Fixed issue on RenderTexture canvas clear. The clearRect was affected by previous transformations
2018-03-12 13:30:05 -03:00
Richard Davey
267e8b4b84
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-03-12 16:27:49 +00:00
Felipe Alfonso
9585a1c78b
Fixed issue of render texture only rendering the first frame. It should've read the cut properties
2018-03-12 13:27:32 -03:00
Felipe Alfonso
e0a4577938
Fixed issue of TileSprite rendering pattern based on the power of 2 dimension on canvas.
2018-03-12 13:18:38 -03:00
Richard Davey
70d9c7d728
Always return the parent Text object, no matter the flow
2018-03-12 16:13:42 +00:00
Richard Davey
e2ad743b92
_this fix
2018-03-12 14:52:35 +00:00
Richard Davey
0368473b95
The SetFrame method now has two optional arguments: updateSize
and updateOrigin
(both true by default) which will update the size and origin of the Game Object respectively. Fix #3339
2018-03-12 14:45:18 +00:00
samme
4b25574d82
Expect v3.3.0
2018-03-12 07:29:49 -07:00
samme
c7fd31d3d2
Note samme
2018-03-12 07:29:04 -07:00
samme
f4e843038c
Expect v3.3.0
2018-03-12 07:23:20 -07:00
Richard Davey
33cbb067b4
Phaser.Display.Color.Interpolate would return NaN values because it was loading the wrong Linear function. Fix #3372
2018-03-12 13:41:09 +00:00
Richard Davey
cb3e476d97
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-03-12 13:37:16 +00:00
Richard Davey
edf1aa7cc1
The onContextRestored
callback won't be defined any more unless the WebGL Renderer is in use in the following objects: BitmapMask, Static Tilemap, TileSprite and Text. This should allow those objects to now work in HEADLESS mode. Fix #3368
2018-03-12 13:37:13 +00:00
Richard Davey
4e49a9b4c9
Merge pull request #3357 from delftswa2018/3268-object-based-atlas-loading
...
Fixed object based atlas loading
2018-03-12 13:11:19 +00:00
Richard Davey
063d30602e
The ForwardDiffuseLightPipeline now uses sys.lights
instead of the Scene variable to avoid errors due to injection removal.
2018-03-12 12:55:09 +00:00
samme
d7780aff64
Fix error when no Light Manager exists
2018-03-11 19:22:42 -07:00
samme
66e5a72dae
Add Phaser.Physics.Arcade.World#wrap and friends
...
- Phaser.Physics.Arcade.World#wrap
- Phaser.Physics.Arcade.World#wrapArray
- Phaser.Physics.Arcade.World#wrapObject
2018-03-10 13:36:18 -08:00
samme
add318491f
Add Phaser.Actions.WrapInRectangle
2018-03-10 13:35:02 -08:00
samme
aebce8a695
Add Phaser.GameObjects.TileSprite#setTilePosition
...
Both arguments are optional.
2018-03-10 11:41:22 -08:00
Richard Davey
935a89342d
Calling setText
on a BitmapText object will now recalculate its display origin values. Fix #3350
2018-03-09 17:08:12 +00:00
Richard Davey
87f2d0f831
Merge pull request #3335 from iamchristopher/fix-group-clear-from-scene
...
Fixed Group doesn't remove children from Scene when cleared
2018-03-09 15:54:44 +00:00
Richard Davey
3ed077a6d7
Merge pull request #3358 from delftswa2018/3231-CANVAS-tilesprite-rotation-flip-scaling
...
Added rotation, scaling and flipping to TileSpriteCanvasRenderer
2018-03-09 15:51:35 +00:00
Richard Davey
9a88b5a163
Merge pull request #3354 from brandonvdongen/master
...
fixed camera offset when combining zoom+follow
2018-03-09 15:49:35 +00:00
Richard Davey
eb43249b8f
Merge pull request #3356 from migiyubi/fix-timerevent-remove
...
Fix TimerEvent.remove behaves opposite to what we expect
2018-03-09 15:48:33 +00:00
Richard Davey
2ee4f581f5
Merge pull request #3355 from rexrainbow/master
...
Add reference of GameObject class
2018-03-09 15:45:46 +00:00
Richard Davey
852e74721f
Merge branch 'master' into master
2018-03-09 15:44:19 +00:00
Richard Davey
7adcb66267
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-03-09 15:42:27 +00:00
Richard Davey
40818ba57b
Merge pull request #3349 from migiyubi/make-scene-restartable
...
Make scene restartable
2018-03-09 15:41:03 +00:00
Richard Davey
db3112de31
The SceneManager.render will now render a Scene as long as it's in a LOADING state or higher. Before it would only render RUNNING scenes, but this precluded those that were loading assets.
2018-03-09 15:33:07 +00:00
Tom Catshoek
5c64404608
Fixed style issues
2018-03-09 15:31:07 +01:00
Tom Catshoek
74b18921e8
Added rotation, scaling and flipping to TileSpriteCanvasRenderer
2018-03-09 15:16:34 +01:00
Tom Catshoek
57d82d9a28
Fixed object based atlas loading
2018-03-09 15:05:01 +01:00
migiyubi
174c982966
Fix TimerEvent.remove behaves opposite to what we expect
2018-03-09 19:47:45 +09:00
Hua
4719589382
Add reference of BuildGameObject, BuildGameObjectAnimation
2018-03-09 15:13:42 +08:00
brandonvdongen
143d598780
fixed lint issue
2018-03-09 07:26:09 +01:00
Hua
cf8d4703b3
Add reference of GameObject class
2018-03-09 12:31:37 +08:00
brandonvdongen
08a02c4675
fixed camera offset when combining zoom+follow
2018-03-09 00:07:42 +01:00
migiyubi
decbe18705
Make scene restartable
2018-03-08 20:27:22 +09:00
Samid\Sami
f5e471dad7
removed trailing space for JSHint validation.
2018-03-08 11:46:01 +01:00
Samid\Sami
84481da4d1
* Fix #3345 by adding beginPath and closePath when done drawing in postUpdate.
2018-03-08 11:16:04 +01:00
samme
b625cc1ff6
Remove extra assignment
2018-03-07 16:59:41 -08:00
samme
cad8a5ce64
Fix Phaser.Utils.String.Format
...
Replacements were lost.
2018-03-07 12:13:53 -08:00
Felipe Alfonso
9a21b4c7f4
Fixed issue with render texture tint
2018-03-06 15:56:33 -03:00
Richard Davey
0a9633cbd6
Preparing for 3.2.1.
2018-03-06 01:54:20 +00:00
iamchristopher
1d402a732e
Fixed Group doesn't remove children from Scene when cleared
2018-03-05 19:04:01 -05:00
Richard Davey
a712dea197
eslint fix
2018-03-05 22:25:55 +00:00
Richard Davey
acf88f5aa5
Merge pull request #3313 from samme/feature/playCatchPromise
...
Warn if HTML5AudioSound#audio fails to play
2018-03-05 21:58:16 +00:00
Richard Davey
9ad7aeef1d
Merge pull request #3304 from rexrainbow/master
...
Add destroy event of gameobject
2018-03-05 21:56:07 +00:00
Richard Davey
c2f25b3742
Merge pull request #3240 from Twilrom/arc-fix
...
Update WebGL Graphics.arc to work more like on Canvas
2018-03-05 21:54:46 +00:00
Richard Davey
6e92ff6b51
Merge pull request #3331 from rblopes/pass-game-instance-in-boot-callback-arguments
...
Pass game instance as boot callback arguments
2018-03-05 21:51:45 +00:00
Richard Davey
bfabe35cdf
eslint fixes
2018-03-05 21:49:08 +00:00
Richard Davey
f94ad4bbc6
InputPlugin.update now takes the totals from the drag and pointerup events into consideration when deciding to fall through to the Scene below. Fix #3333
2018-03-05 21:49:00 +00:00
Felipe Alfonso
ddc85cfdc7
Added support for tint and alpha to RenderTexture
2018-03-05 16:57:41 -03:00
Richard Davey
0538134a04
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-03-05 16:59:03 +00:00
Richard Davey
1e6bfe660f
Removed accidental overwrite of the object key #3185
2018-03-05 16:58:59 +00:00
Rafael Barbosa Lopes
61fbbdacd9
Removed a few blank lines along the way.
2018-03-05 13:15:16 -03:00
Rafael Barbosa Lopes
20e3825e1f
Pass game instance as boot callback arguments.
...
It may be useful to run some operations while the game is booting.
However, if a living instance of the game is necessary during this
process, only way possible is using a global variable at the moment.
This commit aims to amend that so whenever needed the game instance
reference is passed down and can be used inside the {pre,post}Boot
callbacks.
2018-03-05 13:09:12 -03:00
Felipe Alfonso
6e82760c99
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-03-05 12:32:29 -03:00
Felipe Alfonso
c1d482b593
Added jsdoc comments to new methods and properties on WebGLPipeline and WebGLRenderer
2018-03-05 12:28:59 -03:00
Richard Davey
6128b27402
Merge pull request #3329 from sftsk/master
...
Quick fix for missing lineSpacing
2018-03-05 14:51:16 +00:00
Richard Davey
5168300463
The SceneManager now employs a new queue for all pending Scenes, creating them and booting them in strict sequence. This should prevent errors where Scenes were unable to reference other Scenes further down the boot list in their create functions. Fix #3314
2018-03-05 14:48:30 +00:00