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
Lukas Jakob Hafner
97bfe2e752
Quick fix for missing lineSpacing
...
Reads lineSpacing if passed as attribute to `style` within text config.
2018-03-05 16:35:42 +02:00
Felipe Alfonso
38dc3bbd82
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-03-05 11:29:56 -03:00
Felipe Alfonso
98893e1bba
Modified WebGLPipeline and it's child classes to make them easier to generate custom Pipelines. Added functions to WebGLPipeline to modify uniforms. Exposed Renderer namespace for usage outside the engine
2018-03-05 11:29:48 -03:00
Richard Davey
8d85a9bc72
Added jsdocs
2018-03-05 14:19:53 +00:00
Richard Davey
7c16368d3e
SceneManager uses new internal boot queue.
2018-03-05 14:11:42 +00:00
Richard Davey
23285896c0
The HTML5 Sound Manager would unlock the Sound API on a touch event but only if the audio files were loaded in the first Scene, if they were loaded in a subsequent Scene the audio system would never unlock. It now unlocks only if there are audio files in the cache. Fix #3311
2018-03-05 13:39:08 +00:00
Richard Davey
af212a1837
Merge pull request #3279 from squaresun/master
...
Fix KeyboardManager keydown events keeps firing
2018-03-05 12:21:39 +00:00
Richard Davey
c74ad8dee2
Merge pull request #3292 from CodeAndWeb/master
...
Support MultiAtlas with TexturePackers "Phaser 3" atlas format
2018-03-05 12:17:24 +00:00
Richard Davey
19eb931e0e
Merge pull request #3327 from patrickgalbraith/patch-1
...
Fix for collideGroupVsSelf is undefined
2018-03-05 12:12:27 +00:00
Patrick Galbraith
8eb82e4fcb
Fix for collideGroupVsSelf is undefined
...
This happens when you call collide with a single group as the first param.
Seems like the `collideGroupVsSelf` function was not implemented. I've changed it to just call the `collideGroupVsGroup` with the first object twice which worked when I tested it on my project.
2018-03-05 21:15:38 +10:30
samme
9234fd1d4f
Fix property name conflict in Phaser.Math.RandomDataGenerator#sign
...
Fixes #3323
2018-03-04 22:09:29 -08:00
Richard Davey
4c59d9a35d
Added jsdocs
2018-03-05 02:24:47 +00:00
Richard Davey
4d16b0c00a
eslint fixes
2018-03-05 01:45:28 +00:00
Richard Davey
ef3df149c6
Fixed RenderTexture flipY
2018-03-05 01:42:37 +00:00
Richard Davey
4f99228d60
Removed un-used var
2018-03-05 01:42:23 +00:00
Richard Davey
ae1c91cf6a
eslint fixes
2018-03-05 01:40:11 +00:00
Richard Davey
375db253f2
Quadratic Curve updates
...
* Quadratic Bezier Interpolation has been added to the Math.Interpolation functions
* A new Quadratic Bezier Curve class has been added, expanding the available Curve types
* Path.quadraticBezierTo allows you to add a Quadratic Bezier Curve into your Path.
2018-03-05 01:15:18 +00:00
Richard Davey
af8f8739ba
Merge pull request #3307 from RiCoTeRoX/curves-quadratic
...
Add quadraticBezier to API
2018-03-05 00:20:43 +00:00
Richard Davey
7d777f36e5
Merge pull request #3301 from migiyubi/fix-rnd
...
Fix RandomDataGenerator's randomness
2018-03-05 00:15:53 +00:00
samme
983772a2fa
Warn if HTML5AudioSound#audio fails to play
...
#3309
2018-03-03 14:29:14 -08:00
danny
af3e47ce4b
Fix on P0 vector
2018-03-02 20:16:11 -03:00
danny
db6039bf4f
Add quadraticBezier to API
2018-03-02 17:42:12 -03:00
Richard Davey
95d85576c9
SceneManager.moveAbove and moveBelow added.
...
SceneManager.moveAbove will move a Scene to be directly above another Scene in the Scenes list. This is also exposed in the ScenePlugin.
SceneManager.moveBelow will move a Scene to be directly below another Scene in the Scenes list. This is also exposed in the ScenePlugin.
2018-03-02 18:25:44 +00:00
Richard Davey
7341d7a6cf
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-03-02 17:49:01 +00:00
Richard Davey
9a6e6265e8
The SceneManager no longer renders a Scene unless it is visible AND either running or paused. This now skips Scenes that are in an init
state.
2018-03-02 17:48:45 +00:00
Richard Davey
a993251dea
ScenePlugin.swapPosition now allows you to use it to swap the positions of any two Scenes. Before the change it only allowed you to swap the position of the calling Scene and another one, but a new optional keyB
argument opens this up.
2018-03-02 17:47:01 +00:00
Richard Davey
4de9690f98
The setFrame
method of the Texture component has been updated so that it will now automatically reset the width
and height
of a Game Object to match that of the new Frame. Related, it will also adjust the display origin values, because they are size based. If the Frame has a custom pivot it will set the origin to match the custom pivot instead.
2018-03-02 16:23:43 +00:00
Felipe Alfonso
865f0a604e
Small fix on the MatrixStack rotation function
2018-03-02 11:29:04 -03:00
migiyubi
2f239de66a
Correct JSDoc
2018-03-02 19:35:01 +09:00
Richard Davey
98930de3a8
The SceneManager has a new method: remove
which allows you to remove and destroy a Scene, freeing up the Scene key for use by future scenes and potentially clearing the Scene from active memory for gc.
2018-03-02 03:50:55 +00:00
Hua
baeca90ae8
Add destroy event
...
Add destroy event of gameobject, also add a checking to prevent re-enter this destroy function.
2018-03-02 10:50:20 +08:00
migiyubi
fc1181970b
Fix RandomDataGenerator's randomness
2018-03-01 19:57:16 +09:00
Richard Davey
1f8d0c80f9
Fixed array access
2018-03-01 04:13:30 +00:00
Richard Davey
d8eeb3b760
Merge pull request #3300 from pixelpicosean/master
...
Bug fix: arcade body does not align with scaled parent object
2018-03-01 02:48:45 +00:00
Richard Davey
acc4922027
Fixes to the InputPlugin re: drop zones and addition of setInteractive argument.
2018-03-01 02:46:17 +00:00
Sean Bohan
3f2e63fc17
Fix arcade body does not align with scaled parent object.
...
When a game object scaled, arcade body still calculate its position based on its original size instead of scaled one.
2018-03-01 09:02:04 +08:00
Richard Davey
ee42432c74
Texture.get has been optimized to fail first, then error, with a new falsey check. This allows you to skip out specifying animation frames in the animation config without generating a console warning.
2018-03-01 00:36:50 +00:00
Richard Davey
9a561ff385
Added roundPixels support to BitmapText canvas
2018-02-28 23:07:30 +00:00
Richard Davey
fdc1f3cab3
Added canvas roundPixels support for Text, Particles and TileSprites
2018-02-28 22:40:08 +00:00
Richard Davey
2c10ac328c
Added roundPixels
support for the Canvas renderer
2018-02-28 22:32:59 +00:00
Richard Davey
252a76f416
The Headless render mode has been implemented. You can now set HEADLESS as the renderType
in the Game Config and it will run a special game step that skips rendering. It will still create a Canvas element, as lots of internal systems (like input) rely on it, but it will not draw anything to it. Fix #3256
2018-02-28 21:57:32 +00:00
Richard Davey
a223b35ccf
Rectangle.top wouldn't reset the y
position if the value given never exceed the Rectangles bottom. Fix #3290 (thanks @chancezeus)
2018-02-28 21:25:55 +00:00
Richard Davey
70eca02ce6
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-02-28 21:15:22 +00:00
Richard Davey
3a1a9ea700
If you set transparent
in the Game Config but didn't provide a backgroundColor
then it would render as black. It will now be properly transparent. If you do provide a color value then it must include an alpha component.
2018-02-28 21:15:18 +00:00
Richard Davey
a89be7abc5
Tween.complete will allow you to flag a tween as being complete, no matter what stage it is at. If an onComplete callback has been defined it will be invoked. You can set an optional delay before this happens (thanks @Jerenaux for the idea)
...
Fix #3280
2018-02-28 21:14:56 +00:00
Richard Davey
1cae348300
Merge pull request #3278 from nkholski/arcadeGroups
...
Groups arcade collision
2018-02-28 20:56:11 +00:00
Richard Davey
de9cfb6ee2
Merge pull request #3234 from nkholski/master
...
load.plugin now accepts class as an argument besides an url-string
2018-02-28 20:50:32 +00:00
Richard Davey
218b4e4a52
Merge pull request #3285 from samme/docs/onWorldBounds
...
Describe Arcade.Body#onWorldBounds
2018-02-28 20:48:31 +00:00
Richard Davey
63e5681073
Merge pull request #3287 from gaudeon/master
...
BugFix for ScenePlugin.launch, data now passed to queued scenes
2018-02-28 20:47:51 +00:00
srobertson421
66e881c7eb
swapped queue loop to use _queue prop rather than queueLength var
2018-02-28 12:25:43 -08:00
Felipe Alfonso
14399d6910
TileSprite can now set frame of the pattern texture
2018-02-28 17:04:57 -03:00
Felipe Alfonso
4a103f91ad
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-02-28 15:08:35 -03:00
Felipe Alfonso
6a114fc07a
Added roundPixels to the texture pipeline
2018-02-28 15:08:08 -03:00
Richard Davey
31f331de98
Added CameraManager.resize method.
2018-02-28 17:19:10 +00:00
Richard Davey
e6059f65cd
SceneManager invokes resize method on all Systems.
2018-02-28 17:18:55 +00:00
Richard Davey
e44ce76214
Scene.Systems resize handler added.
2018-02-28 17:18:40 +00:00
Richard Davey
cf01056913
Game.resize now resizes the SceneManager and emits an event.
2018-02-28 17:18:25 +00:00
Richard Davey
c9d3c1a279
Added missing autoResize property to Game.Config
2018-02-28 17:17:37 +00:00
Richard Davey
550e53b81b
Fixed InputManager.updateBounds
so it factors in the document element position.
...
Also added `InputManager.resize` method, as the scale wouldn't ever be updated in the update loop if no interactive objects exist.
2018-02-28 14:27:28 +00:00
Richard Davey
d4d2b21d6c
Added Game.resize to help with resizing the game config, renderer and input in one
2018-02-28 14:26:24 +00:00
Richard Davey
0144badd94
Added roundPixels
boolean to config
2018-02-28 14:26:02 +00:00
Richard Davey
8ae3493296
setText updates
...
BitmapText.setText will check if the value given is falsey but not a zero and set to an empty string if so.
BitmapText.setText will now cast the given value to a string before setting.
BitmapText.setText will not change the text via `setText` unless the new text is different to the old one.
2018-02-27 15:14:03 +00:00
Richard Davey
b447665533
Text.setText will check if the value given is falsey but not a zero and set to an empty string if so.
2018-02-27 15:13:39 +00:00
Joachim Grill
22ecd23f09
fixed multiatlas loader to support new TexturePacker atlas format introduced for Phaser 3
2018-02-27 14:48:45 +01:00
Travis Chase
ca0366bfc8
launching a scene that is not running will now pass data through when start op is called for this scene in the scene process queue
2018-02-26 22:04:58 -07:00
Richard Davey
34e5a282d2
AnimationComponent.play now calls setSizeToFrame()
and updateDisplayOrigin()
on the parent Game Object in order to catch situations where you've started playing an animation on a Game Object that uses a different size to the previously set frame.
2018-02-27 01:09:09 +00:00
Richard Davey
921d7e317a
Arcade Physics Bodies didn't apply the results of allowRotation
to the parent Game Object.
2018-02-27 01:08:55 +00:00
samme
36d91e9955
Describe Arcade.Body#onWorldBounds
2018-02-26 11:27:57 -08:00
dominic
af7d619dc3
Simplify global key down emit check
2018-02-25 21:16:05 +08:00
squaresun
9af8cdcea6
Fix key.repeats not increased when key holding down
2018-02-25 21:03:58 +08:00
squaresun
c5514bcab7
Fix KeyboardManager keydown events keeps firing #3239
2018-02-24 18:20:36 +08:00
Niklas Berg
b87d71ab73
single out groups without physics
2018-02-24 08:44:38 +01:00
Felipe Alfonso
7c96e93c47
Canvas RenderTexture rendering added
2018-02-23 21:05:15 -03:00
Niklas Berg
a50eaae727
Arcade groups collider
2018-02-24 00:04:12 +01:00
Niklas Berg
456faf400c
Arcade groups collider
2018-02-24 00:02:19 +01:00
Niklas Berg
b9e4d15efb
Groups arcade collisions
2018-02-23 23:49:12 +01:00
Niklas Berg
25aa3263ed
Merge remote-tracking branch 'upstream/master'
2018-02-23 23:45:11 +01:00
Richard Davey
f6210905ae
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-02-23 17:48:05 +00:00
Richard Davey
13863eca30
Preparing for 3.2.0.
2018-02-23 17:48:00 +00:00
Felipe Alfonso
9dbb4db4c6
Added inverted alpha to bitmap mask
2018-02-23 14:09:27 -03:00
Pavle Goloskokovic
e0b85dd3f2
Updated forEachActiveSound method docs to make scope param optional
2018-02-23 15:27:40 +01:00
Felipe Alfonso
ef8e92dc01
RenderTexture base webgl implementation
2018-02-23 00:44:22 -03:00
Richard Davey
4043fa2925
Merge branch 'master' into Phaser#3180
2018-02-22 23:58:38 +00:00
Richard Davey
6581f301c4
Merge pull request #3273 from samme/feature/load-data-uri-warning
...
Elevate console message for loading data URIs
2018-02-22 23:53:03 +00:00
Felipe Alfonso
57333ea492
Fixed issue with null texture on particle emitter batch generation
2018-02-22 20:36:25 -03:00
samme
2b309c06e5
Elevate console message for loading data URIs
2018-02-22 09:28:02 -08:00
AleBles
697d096221
Added data to ScenePlugin, fixes #3180
2018-02-22 12:34:19 +01:00
Felipe Alfonso
6293233488
Implemented static tilemap layer scale and tilemap alpha
2018-02-22 01:16:10 -03:00
Felipe Alfonso
a218cd5f4a
Fixed issue with vertex buffer creation on Static Tilemap Layer
2018-02-22 01:07:43 -03:00
Richard Davey
11d77de4ab
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-02-22 01:59:41 +00:00
Richard Davey
b57ab091c1
The KeyCode FORWAD_SLASH
had a typo and has been changed to FORWAD_SLASH
. Fix #3271 (thanks @josedarioxyz)
2018-02-22 01:59:32 +00:00
Richard Davey
0fdeb64ad1
Merge pull request #3269 from samme/docs/load-spritesheet
...
Correct method name in LoaderPlugin#spritesheet
2018-02-22 01:56:43 +00:00
Richard Davey
997338c35b
jsdoc fixes
2018-02-22 01:52:11 +00:00
Richard Davey
9b37a123e2
Updated version number and change log
2018-02-22 01:50:46 +00:00
Richard Davey
147dec11ab
Tween.updateTweenData will now check to see if the Tween target still exists before trying to update its properties.
2018-02-22 01:50:36 +00:00
Richard Davey
7126f80615
Fixed jsdocs
2018-02-22 01:38:19 +00:00
Richard Davey
df341be520
Removed local properties that were overwritten by the getters / setters
2018-02-22 01:26:36 +00:00
Richard Davey
4b96ed4d6e
jsdoc fixes
2018-02-22 01:17:54 +00:00
Richard Davey
26f0578261
jsdoc fixes
2018-02-22 01:07:30 +00:00
Richard Davey
fe5bd7e6bb
Fixed jsdoc errors
2018-02-21 22:51:05 +00:00
samme
bb23b19ef7
Correct method name in LoaderPlugin#spritesheet
2018-02-21 09:43:49 -08:00
Richard Davey
193ac6bfed
Updated for 3.1.1 Release.
2018-02-20 14:23:21 +00:00
Richard Davey
73da8608e0
Fixed lint errors
2018-02-19 23:14:57 +00:00
Felipe Alfonso
4b9b4c91a3
Dynamic BitmapText's origin is used on rendering the text
2018-02-19 18:20:30 -03:00
Felipe Alfonso
41bcaba43a
Dynamic BitmapText now uses origin component to render the text.
2018-02-19 18:16:57 -03:00
Felipe Alfonso
0c895db8a0
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-02-19 17:57:26 -03:00
Felipe Alfonso
abfe7536e9
Removed the read of constant values from the WebGLRenderingContext object. Now they are read from an instance of webgl context.
2018-02-19 17:49:17 -03:00
Richard Davey
337d07a1ab
Merge pull request #3254 from yupaul/master
...
Bugfixes in Structs.Set
2018-02-19 20:48:31 +00:00
Richard Davey
8bf38d6ac3
Merge pull request #3255 from samme/fix/keyword-static
...
Fix 'static is a reserved word in strict mode'
2018-02-19 20:41:31 +00:00
Richard Davey
3b70819f4f
Merge pull request #3260 from rblopes/remove-unused-scene-plugin-property
...
Removed unused queue property in `ScenePlugin`.
2018-02-19 20:39:21 +00:00
Felipe Alfonso
50c79c14af
Removed double rounding to pixel on rendering routines.
...
Fixed rounding pixel issue when camera is shaking
2018-02-19 17:38:40 -03:00
Felipe Alfonso
cdc4359fd7
Fixed issue with tint being set on the incorrect vertex
2018-02-19 17:06:08 -03:00
Pavle Goloskokovic
b39f4fcfa1
Fixes #3238
2018-02-19 16:17:06 +01:00
Rafael Barbosa Lopes
7d64c12e66
Removed unused queue property in ScenePlugin
.
2018-02-19 10:00:52 -03:00
Pavle Goloskokovic
fe9951216b
Calling base class destroy method only after cleaning up all Web Audio related stuff
2018-02-18 21:52:51 +01:00
Pavle Goloskokovic
ae89750610
Removed redundant docs
2018-02-18 21:38:04 +01:00
Pavle Goloskokovic
812cbbff9f
Removed redundant docs
2018-02-18 21:37:23 +01:00
Pavle Goloskokovic
7b9af8691a
Fixed add method docs
2018-02-18 21:36:39 +01:00
Pavle Goloskokovic
c3313ef6e5
Fixed class docs
2018-02-18 21:35:39 +01:00
Pavle Goloskokovic
631e6cdf59
Removed redundant docs
2018-02-18 21:24:49 +01:00
Pavle Goloskokovic
1046991e66
Removed redundant docs
2018-02-18 21:24:29 +01:00
Pavle Goloskokovic
81bebfd8c1
Removed redundant docs
2018-02-18 21:24:05 +01:00
Pavle Goloskokovic
ae890eca8a
Removed redundant docs
2018-02-18 21:23:30 +01:00
Pavle Goloskokovic
94859c6f99
Removed redundant docs
2018-02-18 21:23:15 +01:00
Pavle Goloskokovic
0b377a34d6
Fixed update method docs, ESLint fix
2018-02-18 21:22:49 +01:00
Pavle Goloskokovic
a08dc5ef64
ESLint fix for playCatchPromise method
2018-02-18 21:21:42 +01:00
Pavle Goloskokovic
1e08945173
Fixed pickAudioTag method docs
2018-02-18 21:20:49 +01:00
Pavle Goloskokovic
c745e096ad
Fixed pickAndPlayAudioTag method docs
2018-02-18 21:20:21 +01:00
Pavle Goloskokovic
b607251e77
Fixed stop method docs
2018-02-18 21:20:00 +01:00
Pavle Goloskokovic
5010755aea
Fixed resume method docs
2018-02-18 21:19:44 +01:00
Pavle Goloskokovic
7fd6ce95c3
Fixed pause method docs
2018-02-18 21:19:16 +01:00
Pavle Goloskokovic
ebd23f9ae2
Fixed play method docs
2018-02-18 21:18:45 +01:00
Pavle Goloskokovic
0d20a413a7
Fixed class docs
2018-02-18 21:18:09 +01:00
Pavle Goloskokovic
735394bc84
ESLint fix
2018-02-18 21:13:55 +01:00
Pavle Goloskokovic
e6616ec484
Fixed play method docs
2018-02-18 21:13:18 +01:00
Pavle Goloskokovic
1d373cb91e
ESLint fix
2018-02-18 21:12:34 +01:00
Pavle Goloskokovic
afbbd7a724
ESLint fix
2018-02-18 21:11:56 +01:00
Pavle Goloskokovic
9af39924ca
Updated sounds property docs, ESLint fix
2018-02-18 21:10:37 +01:00
Pavle Goloskokovic
e9ef90da40
ESLint fix
2018-02-18 21:09:14 +01:00
Pavle Goloskokovic
fcad5b12d2
Removed redundant docs
2018-02-18 20:38:57 +01:00
Pavle Goloskokovic
41cf6a2584
Removed redundant docs
2018-02-18 20:38:38 +01:00
Pavle Goloskokovic
ec51794197
Removed redundant docs
2018-02-18 20:38:04 +01:00
Pavle Goloskokovic
4969349f23
Removed redundant docs
2018-02-18 20:37:53 +01:00
Pavle Goloskokovic
ae2120b36a
Removed redundant docs, eslint fix
2018-02-18 20:37:37 +01:00
Pavle Goloskokovic
dd9d769061
Removed redundant docs, eslint fix
2018-02-18 20:37:27 +01:00
Pavle Goloskokovic
2ec0f4f5c5
Removed redundant docs
2018-02-18 20:37:12 +01:00
Pavle Goloskokovic
c140e2e40b
Removed redundant docs
2018-02-18 20:36:59 +01:00
Pavle Goloskokovic
06d8a21d3a
Removed redundant docs
2018-02-18 20:36:16 +01:00
Pavle Goloskokovic
4dbb8a1dee
Removed redundant docs
2018-02-18 20:36:04 +01:00
Pavle Goloskokovic
c5981812e2
Removed redundant docs
2018-02-18 20:35:53 +01:00
Pavle Goloskokovic
19bec4d832
Removed redundant docs
2018-02-18 20:35:35 +01:00
Pavle Goloskokovic
8850435ed3
Removed redundant docs
2018-02-18 20:35:14 +01:00
Pavle Goloskokovic
03a659a9e2
Removed redundant docs
2018-02-18 20:35:02 +01:00
Pavle Goloskokovic
e676d264fa
Removed redundant docs
2018-02-18 20:34:49 +01:00
Pavle Goloskokovic
0f6aa55859
Removed redundant docs
2018-02-18 20:34:37 +01:00
Pavle Goloskokovic
67fd912c1f
Fixed class docs
2018-02-18 20:34:16 +01:00
Pavle Goloskokovic
d7f25fb363
Removed redundant docs
2018-02-18 20:25:22 +01:00
Pavle Goloskokovic
b92f958a4f
Removed redundant docs
2018-02-18 20:25:00 +01:00
Pavle Goloskokovic
4efd588123
Removed redundant docs
2018-02-18 20:24:44 +01:00
Pavle Goloskokovic
5c631d8b8e
Removed redundant docs
2018-02-18 20:24:31 +01:00
Pavle Goloskokovic
a733ce8054
Removed redundant docs, eslint fix
2018-02-18 20:24:18 +01:00
Pavle Goloskokovic
8cf45cdc7e
Removed redundant docs, eslint fix
2018-02-18 20:24:05 +01:00
Pavle Goloskokovic
06fba3b6c7
Removed redundant docs, eslint fix
2018-02-18 20:23:55 +01:00
Pavle Goloskokovic
3bcf936347
Fixed play method docs, eslint fix
2018-02-18 20:23:31 +01:00
Pavle Goloskokovic
7522e8613f
Removed redundant docs
2018-02-18 20:23:15 +01:00
Pavle Goloskokovic
8945fa798e
Fixed play method docs
2018-02-18 20:23:02 +01:00
Pavle Goloskokovic
43eec1c43c
Removed redundant docs
2018-02-18 20:22:52 +01:00
Pavle Goloskokovic
98fdfde972
Removed redundant docs
2018-02-18 20:22:39 +01:00
Pavle Goloskokovic
bb7909b7f0
Removed redundant docs
2018-02-18 20:22:27 +01:00
Pavle Goloskokovic
5a34d1ae2c
Removed redundant docs
2018-02-18 20:22:17 +01:00
Pavle Goloskokovic
870f1d95a5
Removed redundant docs
2018-02-18 20:22:07 +01:00
Pavle Goloskokovic
d9af59c72e
Removed redundant docs
2018-02-18 20:21:57 +01:00
Pavle Goloskokovic
daeba568b9
Fixed play method docs
2018-02-18 20:21:42 +01:00
Pavle Goloskokovic
05581a4c49
Removed redundant docs
2018-02-18 20:21:29 +01:00
Pavle Goloskokovic
56641fa7ee
Removed redundant docs
2018-02-18 20:21:14 +01:00
Pavle Goloskokovic
fe782073cd
Removed redundant docs
2018-02-18 20:20:58 +01:00
Pavle Goloskokovic
bb4c8404d2
Removed redundant docs
2018-02-18 20:20:45 +01:00
Pavle Goloskokovic
cf0732a599
Removed redundant docs
2018-02-18 20:20:29 +01:00
Pavle Goloskokovic
455579a427
Removed redundant docs
2018-02-18 20:20:11 +01:00
Pavle Goloskokovic
146c998ff7
Removed redundant docs
2018-02-18 20:19:46 +01:00
Pavle Goloskokovic
7e5b680e3c
Removed redundant docs
2018-02-18 20:19:31 +01:00
Pavle Goloskokovic
6d0ec24aa6
Removed redundant docs
2018-02-18 20:18:57 +01:00
Pavle Goloskokovic
19384cb914
Fixed class docs
2018-02-18 20:18:41 +01:00
Pavle Goloskokovic
87f2d4bf0d
Removed redundant docs
2018-02-18 20:03:37 +01:00
Pavle Goloskokovic
5131bd6571
Removed redundant docs
2018-02-18 20:03:21 +01:00
Pavle Goloskokovic
3b6a406e6d
Fixed add method docs
2018-02-18 20:02:57 +01:00
Pavle Goloskokovic
e018be1d65
Removed redundant docs
2018-02-18 20:02:22 +01:00
Pavle Goloskokovic
9ce14d62be
Fixed destination property docs
2018-02-18 20:02:06 +01:00
Pavle Goloskokovic
9550d6f9fe
Fixed masterVolumeNode property docs
2018-02-18 20:01:45 +01:00
Pavle Goloskokovic
12efd5da3e
Fixed masterMuteNode property docs
2018-02-18 20:01:29 +01:00
Pavle Goloskokovic
89eaea2e8e
Fixed context property docs
2018-02-18 20:01:01 +01:00
samme
64e5b4394a
Fix 'static is a reserved word in strict mode'
2018-02-18 10:38:08 -08:00
Pavle Goloskokovic
18588efcc7
Removed redundant docs
2018-02-18 19:35:53 +01:00
Pavle Goloskokovic
8760c39beb
Removed redundant docs
2018-02-18 19:35:36 +01:00
Pavle Goloskokovic
75fb69ff32
Removed redundant docs
2018-02-18 19:34:57 +01:00
Pavle Goloskokovic
2fb6590da3
Removed redundant docs
2018-02-18 19:34:39 +01:00
Pavle Goloskokovic
124722e27a
ESLint fix
2018-02-18 19:34:13 +01:00
Pavle Goloskokovic
a0098a2994
Fixed play method docs
2018-02-18 19:33:30 +01:00
Pavle Goloskokovic
0ecda6b08d
Removed redundant docs
2018-02-18 19:32:57 +01:00
Pavle Goloskokovic
c25345c2d5
Removed redundant docs
2018-02-18 19:32:41 +01:00
Pavle Goloskokovic
97b3724762
Fixed hasLooped property docs
2018-02-18 19:31:57 +01:00
Pavle Goloskokovic
650cc1c395
Fixed hasEnded property docs
2018-02-18 19:31:41 +01:00
Pavle Goloskokovic
baaa92c62d
Fixed rateUpdates property docs
2018-02-18 19:31:25 +01:00
Pavle Goloskokovic
a20095389d
Fixed loopTime property docs
2018-02-18 19:31:02 +01:00
Pavle Goloskokovic
7b3f457378
Fixed startTime property docs
2018-02-18 19:30:44 +01:00
Pavle Goloskokovic
919ed923ee
Fixed playTime property docs
2018-02-18 19:30:24 +01:00
Pavle Goloskokovic
eeeeea71ac
Fixed volumeNode property docs
2018-02-18 19:30:10 +01:00
Pavle Goloskokovic
a13c6b778e
Fixed muteNode property docs
2018-02-18 19:29:52 +01:00
Pavle Goloskokovic
7db6ac48b3
Fixed loopSource property docs
2018-02-18 19:29:36 +01:00
Pavle Goloskokovic
0137e18d7b
Fixed source property docs
2018-02-18 19:29:18 +01:00
Pavle Goloskokovic
5f18bb263b
Fixed constructor docs
2018-02-18 19:28:55 +01:00
Pavle Goloskokovic
a50f7adb1c
Reverted type changes
2018-02-18 19:12:16 +01:00
Pavle Goloskokovic
6a241358c4
Reverted type changes
2018-02-18 19:12:04 +01:00
Pavle Goloskokovic
07263863a7
Removed duplicate docs
2018-02-18 17:22:07 +01:00
Pavle Goloskokovic
7939edb8b4
Removed duplicate docs
2018-02-18 17:21:54 +01:00
Pavle Goloskokovic
3c9542f565
Fixed remove method docs
2018-02-18 17:21:11 +01:00
Pavle Goloskokovic
91d40a9531
Fixed playAudioSprite method docs
2018-02-18 17:20:42 +01:00
Pavle Goloskokovic
b03bc3e3af
Fixed play method docs
2018-02-18 17:20:09 +01:00
Pavle Goloskokovic
3f201121f8
Removed unnecessary docs
2018-02-18 17:19:43 +01:00
Pavle Goloskokovic
24f5de4c5c
Fixed addAudioSprite method docs
2018-02-18 17:19:24 +01:00
Pavle Goloskokovic
af76f7f9f1
Added docs type definition for audiosprite sound object
2018-02-18 17:18:55 +01:00
Pavle Goloskokovic
5e41c48b3d
Fixed add method docs
2018-02-18 17:18:13 +01:00
Pavle Goloskokovic
cb939cc7d8
Fixed unlocked property docs
2018-02-18 17:17:04 +01:00
Pavle Goloskokovic
8d55a4aeb4
Fixed locked property docs
2018-02-18 17:16:46 +01:00
Pavle Goloskokovic
3faaf28596
Fixed sounds property docs
2018-02-18 17:16:19 +01:00
Pavle Goloskokovic
472da3dc22
Updated docs
2018-02-18 16:07:06 +01:00
Pavle Goloskokovic
f8ac9dcabb
Updated docs
2018-02-18 16:06:40 +01:00
Pavle Goloskokovic
d637f04caf
Removed duplicate docs
2018-02-18 15:59:43 +01:00
Pavle Goloskokovic
d352363424
Removed duplicate docs
2018-02-18 15:58:56 +01:00
Pavle Goloskokovic
ac95880995
Fixed play method docs
2018-02-18 15:57:48 +01:00
Pavle Goloskokovic
36475d5381
Fixed removeMarker method docs
2018-02-18 15:57:11 +01:00
Pavle Goloskokovic
9959d42fbc
Fixed updateMarker method docs
2018-02-18 15:56:25 +01:00
Pavle Goloskokovic
af89faa83e
Adjusted default marker duration value calculation
2018-02-18 15:55:56 +01:00
Pavle Goloskokovic
942fd09397
Fixed addMarker method docs
2018-02-18 15:55:08 +01:00
Pavle Goloskokovic
6a828b3943
Fixed currentMarker property docs
2018-02-18 15:54:36 +01:00
Pavle Goloskokovic
9adce2b40e
Fixed markers property docs
2018-02-18 15:54:16 +01:00
Pavle Goloskokovic
05a20d6435
Removed duplicate docs
2018-02-18 15:53:47 +01:00
Pavle Goloskokovic
42fc672174
Fixed currentConfig property docs
2018-02-18 15:52:57 +01:00
Pavle Goloskokovic
1c66d38834
Fixed config property docs
2018-02-18 15:52:39 +01:00
Pavle Goloskokovic
82119c1601
Fixed constructor config param docs
2018-02-18 15:51:50 +01:00
Pavle Goloskokovic
99c5053acb
Added BaseSound class description
2018-02-18 15:50:32 +01:00
Pavle Goloskokovic
28bf61f846
Added docs for defining SoundMarker custom type
2018-02-18 15:29:49 +01:00
Pavle Goloskokovic
8e2cb94c63
Added docs for defining SoundConfig custom type
2018-02-18 15:29:33 +01:00
yp
9f07ee0af4
Bugfixes in Structs.Set
2018-02-18 12:59:32 +02:00
Richard Davey
33873fe23d
eslint fixes and removing type related console errors
2018-02-16 19:32:43 +00:00
Richard Davey
3c65121cb3
eslint fixes
2018-02-16 19:17:49 +00:00
Richard Davey
50dac412be
eslint fixes and console removal
2018-02-16 19:08:50 +00:00
Richard Davey
d745b70330
The Mesh Game Object Factory entry had incorrect arguments passed to Mesh constructor.
2018-02-16 19:07:58 +00:00
Richard Davey
5b4b5de075
TileSprite was missing a gl reference, causing it to fail during a context loss and restore.
2018-02-16 18:54:33 +00:00
Richard Davey
d23688c3e4
Added eslint fixes and overrides
2018-02-16 18:44:07 +00:00
Richard Davey
4a3f4293d4
Fuzzy.Floor had an incorrect method signature.
2018-02-16 18:43:52 +00:00
Richard Davey
3f155bf8f3
World didn't import GetOverlapX or GetOverlapY, causing separateCircle
to break.
2018-02-16 18:43:06 +00:00
Richard Davey
86f00eeb52
eslint fixes
2018-02-16 18:17:51 +00:00
Richard Davey
e1554c34d6
eslint fixes
2018-02-16 18:07:49 +00:00
Twilrom
d443ff380e
Make WebGL Graphics closePath work the same as in Canvas.
2018-02-16 16:28:35 +01:00
Twilrom
d45784f3c9
Remove some unnecessary calls to closePath.
2018-02-16 16:13:48 +01:00
Twilrom
859cc27e2e
Fix beginPath in WebGL Graphics
2018-02-16 15:38:21 +01:00
Twilrom
0c0b272ccc
Update WebGL Graphics.arc to work more like on Canvas
2018-02-16 15:38:21 +01:00
Niklas Berg
6dde7002dc
fixed formatting
2018-02-15 18:11:55 +01:00
Richard Davey
79520bfdc4
Added jsdoc
2018-02-15 14:33:36 +00:00
Richard Davey
1399355d3f
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-02-15 14:31:19 +00:00
Richard Davey
4e6df03512
Updated semver
2018-02-15 14:31:15 +00:00
Richard Davey
39c415424d
Merge pull request #3233 from samme/samme-patch-1
...
Fix wrong Extend target in MergeXHRSettings
2018-02-15 13:59:21 +00:00
Richard Davey
130f9943d0
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-02-15 01:52:06 +00:00
Richard Davey
aa9cac4ba8
Added refreshBody method and jsdocs
2018-02-15 01:52:01 +00:00
Richard Davey
7df00ccb6f
Removed un-used properties from the Static Body
...
Set un-used Vectors to use the Vec2 ZERO constant to save object creation.
Added setGameObject and updateFromGameObject methods.
2018-02-15 01:51:36 +00:00
Richard Davey
4cc7fed1dd
Added World.pendingDestroy Set and process it during postUpdate.
2018-02-15 01:50:22 +00:00
Richard Davey
b36dd17430
Removed pendingDestroy and opted for easier Set iteration.
...
Updated Body.reset so it resets the Sprite as well, otherwise the Body remains stuck on the next update loop.
2018-02-15 01:49:55 +00:00
Richard Davey
11aff17e0d
Added Vector2.ZERO const for a handy zero vec2 reference.
2018-02-15 01:49:11 +00:00
Felipe Alfonso
8083cd9d64
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-02-14 20:04:46 -03:00
Niklas Berg
6a77790aef
load.plugin now accepts class as an argument besides an url-string
2018-02-14 23:35:05 +01:00
Richard Davey
e68329f763
Fixed version numbers
2018-02-14 19:55:00 +00:00
Felipe Alfonso
e2bebd3ddd
jsdoc property and method updates
2018-02-14 16:52:37 -03:00
Felipe Alfonso
1737399f69
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-02-14 16:45:30 -03:00
Felipe Alfonso
74abb96211
Added alpha and tint to static tilemap layer. Fixed BitmapMask binding resources issue.
2018-02-14 16:45:22 -03:00
Richard Davey
24e8f7a119
Body.destroy is now flag based, cleared by the World.
...
Added pendingDestroy flag to handle body destruction within events or collider iterations.
2018-02-14 19:36:34 +00:00
Richard Davey
81d0a48c58
disableBody renamed disableGameObjectBody
...
disableBody now disables just a body object.
destroying a body sets its `pendingDestroy` flag, which is now cleared in the postUpdate method.
Group vs. Group collision has been implemented.
World.destroy properly clears down its Sets and RTrees.
2018-02-14 19:35:57 +00:00
Richard Davey
b7beea1d37
Impact bodies now remove themselves from the world when destroyed.
2018-02-14 19:34:21 +00:00
Richard Davey
b81b268b29
Matter JS bodies now have a destroy method that removes them from the world.
2018-02-14 19:33:56 +00:00
Richard Davey
c6f4a6ed43
Arcade Physics Colliders have a name property and setName method.
2018-02-14 19:33:33 +00:00
Richard Davey
d72c7d501a
Destroying a Game Object will now call destroy on its physics body.
2018-02-14 19:33:13 +00:00
samme
633acec058
Fix wrong Extend target in MergeXHRSettings
2018-02-14 09:52:52 -08:00
Felipe Alfonso
92182bed90
Fixed issue with Blitter renderer where it overwrote previous vertex data
2018-02-14 13:43:35 -03:00
Felipe Alfonso
edf15986ff
BitmapMask si working properly with the vertex update batching.
2018-02-14 13:20:56 -03:00
Felipe Alfonso
b700ac158c
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-02-14 10:32:17 -03:00
Richard Davey
c80e2fde2c
Fixed use of List structure for the Blitter game object.
2018-02-14 12:25:17 +00:00
Felipe Alfonso
844e72a7e1
Buffer resource update batching implemented into TextureTintPipeline
2018-02-13 23:46:34 -03:00
Richard Davey
2892f20e5c
Depth component added to the Zone Game Object. Fix #3213
2018-02-13 22:19:44 +00:00
Richard Davey
6a9ac033e2
Fixed call to TweenManager.makeActive. Fix #3219
2018-02-13 21:55:07 +00:00
Richard Davey
eec13883e0
Removed rogue Tween emit calls. Fix #3222
2018-02-13 21:45:21 +00:00
Yat Hin Wong
3af1d57a95
Changed let to var
2018-02-13 17:03:28 +01:00
Richard Davey
8afeafd66b
SetHitArea now calls setInteractive, fixing Group.createMultiple when a hitArea has been set.
2018-02-13 08:09:13 +00:00
Richard Davey
353dba4d5e
Added missing Target camera back, fixing Graphics.generateTexture in the process.
2018-02-13 08:08:48 +00:00
Richard Davey
26403aa84f
Added setCORS method.
2018-02-13 05:54:43 +00:00
Richard Davey
b6e6eb749f
Added Arcade Physics entry point.
2018-02-13 03:43:12 +00:00
Richard Davey
5a7a6c20a9
Removed checksum.
2018-02-13 03:23:29 +00:00
Richard Davey
8f4a1012fd
Updated jsdocs.
2018-02-13 01:39:22 +00:00
Richard Davey
512c8df232
Updated jsdocs
2018-02-13 01:13:12 +00:00
Richard Davey
965f2b0e74
Fixed jsdocs and general tidying up.
2018-02-13 00:41:01 +00:00
Felipe Alfonso
2aa94c28eb
WebGL types added to jsdoc
2018-02-12 21:12:17 -03:00
Richard Davey
8425629165
jsdoc fixes.
2018-02-12 23:51:47 +00:00
Richard Davey
e607d14171
Added jsdocs.
2018-02-12 23:13:16 +00:00
Richard Davey
2813ac8162
Moved PluginManager and merged configs into single root file for easier changing.
2018-02-12 23:03:48 +00:00
Richard Davey
275f6e40b2
Moved to sub-folder.
2018-02-12 22:16:27 +00:00
Richard Davey
14c5aad929
Added jsdocs
2018-02-12 22:16:18 +00:00
Richard Davey
ef87b33a10
Added jsdocs
2018-02-12 21:54:51 +00:00
Richard Davey
ae3cd50356
Fixed jsdocs
2018-02-12 21:39:26 +00:00
Richard Davey
08a968f5ec
Added jsdocs
2018-02-12 21:15:15 +00:00
Felipe Alfonso
9b2741387b
Resolution affecting camera display
2018-02-12 16:03:13 -03:00
Richard Davey
8bce7ea7c9
Added jsdocs.
2018-02-12 17:21:06 +00:00
Richard Davey
3493e272d6
Added jsdocs
2018-02-12 17:03:53 +00:00
Richard Davey
b6b8f70550
DisplayList now just extends List and removed the Plugin, as it acts as its own plugin now.
2018-02-12 16:59:57 +00:00
Richard Davey
d578e89828
Moved Mesh out of core and into its own Graphics extension.
2018-02-12 16:59:27 +00:00
Richard Davey
5ad167a8bf
Added jsdocs
2018-02-12 16:18:34 +00:00
Richard Davey
d1f5f8a82b
Added jsdocs
2018-02-12 16:01:21 +00:00
Richard Davey
fd9cf6c1f7
Added jsdocs
2018-02-12 15:18:31 +00:00
Richard Davey
eaca4eb462
Added jsdocs
2018-02-12 13:48:53 +00:00
Richard Davey
e448ec59f0
Added removeConstraint method.
2018-02-12 13:48:52 +00:00
Richard Davey
d67daa998e
If no value given, set to empty string.
2018-02-12 13:48:51 +00:00
Richard Davey
0ca8390ecb
Optionally retain listeners.
2018-02-12 13:48:50 +00:00
Richard Davey
d421e9264e
Fixed #3145
2018-02-12 13:48:49 +00:00
Richard Davey
8de078d333
Added jsdocs
2018-02-12 13:48:48 +00:00
Richard Davey
92db8cfa2c
Added jsdocs and fix #3179
2018-02-12 13:48:48 +00:00
Richard Davey
403a9363fd
Updated jsdocs
2018-02-12 13:48:47 +00:00
Greg
e9897c31f9
#3190 Tweens/Timeline parent.makeActive missing
2018-02-10 20:45:32 -05:00
Richard Davey
2dda99c1ab
Added jsdocs
2018-02-10 17:51:02 +00:00
Richard Davey
5f39206f35
Added jsdocs
2018-02-10 17:40:40 +00:00
Richard Davey
da88485bc7
Added jsdocs
2018-02-10 17:14:35 +00:00
Richard Davey
38b6d2834b
Added jsdocs
2018-02-10 17:11:36 +00:00
Richard Davey
2ece55c28e
Renamed folder to match namespace
2018-02-10 14:56:08 +00:00
Richard Davey
502ebf7068
Added jsdocs
2018-02-10 02:31:42 +00:00
Richard Davey
b0529c79f8
Moved un-used class
2018-02-10 02:20:36 +00:00
Richard Davey
c9742b6f8a
Added jsdocs
2018-02-10 02:08:53 +00:00
Richard Davey
31e3c5896e
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-02-10 01:50:52 +00:00
Richard Davey
6283a8d6a6
Added jsdocs
2018-02-10 01:50:48 +00:00
Felipe Alfonso
17d00eea4a
Removed model and view scale from pipeline
2018-02-09 17:03:18 -03:00
Richard Davey
97bb52faec
Added jsdocs
2018-02-09 19:19:21 +00:00
Richard Davey
f679716b92
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-02-09 18:46:05 +00:00
Richard Davey
3c4ce58ced
Added jsdocs
2018-02-09 18:45:54 +00:00
Felipe Alfonso
bf9146e490
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-02-09 15:45:32 -03:00
Felipe Alfonso
8529cb9ad1
Resolution fix work in progress
2018-02-09 15:45:22 -03:00
Richard Davey
4c13b9aa7f
Added jsdocs
2018-02-09 18:44:16 +00:00
Richard Davey
aadb075bdf
Fixed function case
2018-02-09 18:33:39 +00:00
Richard Davey
bc87630d61
Added jsdocs.
2018-02-09 18:03:39 +00:00
Richard Davey
cbb0f236f5
Added jsdocs
2018-02-09 17:56:43 +00:00
Richard Davey
d3cb0761d2
Updated jsdocs.
2018-02-09 16:52:19 +00:00
Richard Davey
2434bb187a
Added jsdocs.
2018-02-09 16:52:18 +00:00
Richard Davey
c7a84a1f7a
Merge pull request #3209 from vulcanoidlogic/master
...
matterjs PointerConstraint.js world.events.on undefined
2018-02-09 16:51:52 +00:00
Richard Davey
5db058021f
Added jsdocs.
2018-02-09 15:23:33 +00:00
Richard Davey
a71998d682
Updated origin call.
2018-02-09 15:23:26 +00:00
Richard Davey
73833e6628
Fixed require path.
2018-02-09 15:23:12 +00:00
Richard Davey
3225367240
Check for new TP3 structure.
2018-02-09 15:23:03 +00:00
Richard Davey
33a67f3aff
Added custom pivot boolean.
2018-02-09 15:22:43 +00:00
Richard Davey
5085ed5c9f
Added setOriginFromFrame.
2018-02-09 15:21:49 +00:00
Richard Davey
3422569a4a
setFrame will use a custom pivot, if set.
2018-02-09 15:21:39 +00:00
Richard Davey
b525ecb502
Added jsdocs
2018-02-09 13:46:04 +00:00
Greg
79b61defe6
#3200 Errors in Input Mouse Events examples
2018-02-09 00:21:08 -05:00
Richard Davey
ff1a26c7a3
Added jsdocs
2018-02-09 04:35:23 +00:00
Richard Davey
c1b5ff885e
Added jsdocs
2018-02-09 04:08:01 +00:00
Richard Davey
e0899bfa00
Added jsdocs
2018-02-09 03:44:23 +00:00
Richard Davey
91887815f6
Merged Arcade Physics methods and added jsdocs
2018-02-09 01:40:41 +00:00
Richard Davey
e5f32ef546
Added jsdocs and moved FileTypes to their own namespace
2018-02-08 17:00:14 +00:00
Richard Davey
93a2c3734b
Added jsdocs
2018-02-08 13:45:53 +00:00
Richard Davey
4c5150a24c
Added jsdocs
2018-02-08 04:01:44 +00:00
Richard Davey
7b04ea3130
Fixed path
2018-02-08 02:28:47 +00:00
Richard Davey
d79cffec39
Added jsdocs
2018-02-08 02:21:27 +00:00
Richard Davey
ed89e48b4d
Updated jsdocs
2018-02-08 02:02:37 +00:00
Richard Davey
cf6bbbd0fb
Added jsdocs
2018-02-08 01:08:59 +00:00
Richard Davey
e8c12d164b
Added and updated jsdocs
2018-02-07 23:40:59 +00:00
Richard Davey
5dffe21858
Updated jsdocs
2018-02-07 23:27:01 +00:00
Richard Davey
67f13e30f9
Updated jsdocs
2018-02-07 23:12:55 +00:00
Richard Davey
6d58f92cd9
Updated jsdocs
2018-02-07 23:08:37 +00:00
Richard Davey
fb42cbee42
Updated jsdocs
2018-02-07 22:46:07 +00:00
Richard Davey
ea52b2e12c
Updated jsdocs
2018-02-07 21:58:23 +00:00
Felipe Alfonso
feabcdadb9
Fixed issue with scaled tilemaps
2018-02-07 16:30:18 -03:00
Richard Davey
10193c181a
Fixed require paths.
2018-02-07 17:10:01 +00:00
Richard Davey
89fe7123e1
Moved to its own top-level folder.
2018-02-07 16:29:48 +00:00
Richard Davey
3c8470863a
Fixed undef error.
2018-02-07 16:16:26 +00:00
Richard Davey
ebe2f0758a
Removed incorrect namespace.
2018-02-07 16:16:25 +00:00
Felipe Alfonso
3821ba5ede
WebGL tile flipping and rotation
2018-02-07 13:14:52 -03:00
Richard Davey
40689d1e35
Updated jsdocs.
2018-02-07 15:27:21 +00:00
Richard Davey
8ae958037e
Added jsdocs
2018-02-07 02:46:11 +00:00
Richard Davey
33c9f39b9d
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-02-07 00:19:15 +00:00
Richard Davey
650ae3cf5a
Added jsdocs
2018-02-07 00:18:22 +00:00
Michael Hadley
50434227ac
Tile's flip/rotation is now only set by the flipX, flipY and rotation props
2018-02-06 18:17:15 -06:00
Richard Davey
5c0872485c
Added jsdocs
2018-02-06 22:56:27 +00:00
Richard Davey
645f1e618e
Added jsdocs
2018-02-06 22:37:56 +00:00
Richard Davey
2d4b7b5398
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-02-06 22:25:26 +00:00
Richard Davey
6efb94cce9
Added jsdocs
2018-02-06 22:25:23 +00:00
Felipe Alfonso
cff54d8511
Added tile rotation and fixed undefined resolution on webgl renderer config
2018-02-06 18:47:42 -03:00
Felipe Alfonso
da8c7c0b3e
WebGL config data is now stored on WebGLRenderer
2018-02-06 17:37:13 -03:00
Felipe Alfonso
cffc40b834
Fixed flip on blitter game object. Added camera scrollFactor to blitter canvas renderer
2018-02-06 17:19:11 -03:00
Felipe Alfonso
29f96758a2
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-02-06 17:15:44 -03:00
Richard Davey
8cd5e772d8
Added jsdocs
2018-02-06 19:22:20 +00:00
Richard Davey
0ebe23e396
Added jsdocs
2018-02-06 19:10:44 +00:00
Richard Davey
039d63b17d
Added jsdocs
2018-02-06 17:17:34 +00:00
Richard Davey
a42d1a3f3e
Added jsdocs
2018-02-06 16:37:35 +00:00
Richard Davey
b0bb397369
Added jsdocs
2018-02-06 16:15:22 +00:00
Felipe Alfonso
96834fd7f0
Fixed tilesprite issue of not repeating on webgl
2018-02-06 12:46:05 -03:00
Richard Davey
26a496ac3f
Added jsdocs
2018-02-06 15:04:20 +00:00
Richard Davey
a4381d65aa
Added jsdocs
2018-02-06 14:13:30 +00:00
Richard Davey
d9227420b3
Added jsdocs
2018-02-06 01:22:22 +00:00
Richard Davey
36229eee79
Added jsdocs
2018-02-06 01:08:43 +00:00
Richard Davey
d838f4cfcd
Added jsdocs
2018-02-06 00:56:09 +00:00
Richard Davey
a8eae2bab7
Added jsdocs
2018-02-05 23:59:51 +00:00
Richard Davey
6df51372d5
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-02-05 22:08:52 +00:00
Richard Davey
45bda0b6ab
Added jsdocs
2018-02-05 22:08:48 +00:00
Felipe Alfonso
7b1ad0b307
transparent, clearBeforeRender and roundPixels now affect the rendering result
2018-02-05 19:06:02 -03:00
Richard Davey
b889a39bfb
Removed extra docs output line
2018-02-05 02:34:42 +00:00
Richard Davey
99913b9da4
More jsdoc updates
2018-02-01 05:48:56 +00:00
Richard Davey
9e8ee078e8
Fixed mixin jsdoc defs
2018-02-01 01:36:52 +00:00
Richard Davey
6611685640
Added jsdocs
2018-02-01 01:20:11 +00:00
Richard Davey
6dc4a122bf
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-02-01 01:09:37 +00:00
Richard Davey
a506fcc3ac
Added jsdocs
2018-02-01 01:09:34 +00:00
Felipe Alfonso
b48c2a8173
Fixed scale issue with baseScale of camera manager
2018-01-31 21:52:48 -03:00
Richard Davey
d457373287
Added Depth component and tidied up redundant parts of Transform
2018-02-01 00:50:15 +00:00
Richard Davey
c254cb2991
Added jsdocs
2018-02-01 00:25:33 +00:00
Richard Davey
218dde8d8a
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-02-01 00:04:48 +00:00
Richard Davey
950a125d71
Added jsdocs
2018-02-01 00:04:45 +00:00
Felipe Alfonso
e5831138a4
baseScale added to camera manager and propagated to cameras through preRender function
2018-01-31 21:01:27 -03:00
Richard Davey
35b1cce047
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-01-31 17:48:32 +00:00
Richard Davey
203a0ee98c
Added jsdocs
2018-01-31 17:48:30 +00:00
Felipe Alfonso
4d03853935
Added cleanup routine for all webgl content on WebGLRenderer destroy function
2018-01-31 14:36:00 -03:00
Richard Davey
ee281f95e8
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-01-31 16:53:51 +00:00
Richard Davey
d8b2b6e340
jsdoc tweaks
2018-01-31 16:53:48 +00:00
Pavle Goloskokovic
499c2206c6
Merge remote-tracking branch 'origin/master'
2018-01-31 16:42:59 +01:00
Pavle Goloskokovic
53fc478a1c
Fixed scope bug
2018-01-31 16:42:47 +01:00
Richard Davey
65e5b14276
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-01-31 13:54:48 +00:00
Richard Davey
2a86400a28
Added in jsdocs
2018-01-31 13:54:44 +00:00
Pavle Goloskokovic
cfefbdab5a
Resuming audio context passed to audio config before returning it from createAudioContext method
2018-01-31 14:09:01 +01:00
Pavle Goloskokovic
2f6d89c01a
Destroy updates
2018-01-31 14:07:57 +01:00
Pavle Goloskokovic
6bfb0d21ce
Releasing audio context reference
2018-01-31 14:07:03 +01:00
Richard Davey
f73d66a246
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-01-31 03:38:13 +00:00
Richard Davey
a802914243
Added in destroy methods for all managers and invoked them from Game
2018-01-31 03:38:10 +00:00
Felipe Alfonso
f294a17a79
Fixed light culling
2018-01-30 22:27:11 -03:00
Felipe Alfonso
0648161ca5
Added simple light culling
2018-01-30 22:11:51 -03:00
Felipe Alfonso
d9b04ef2e9
Light2D Plugin added to scene
2018-01-30 19:46:43 -03:00
Richard Davey
f1a25921c7
Fixed missing Pipeline component.
2018-01-30 19:16:00 +00:00
Richard Davey
4f76b4ddb8
Merge pull request #3195 from benabbottnz/debugheader
...
Update url to https
2018-01-30 13:30:10 +00:00
Richard Davey
bc2263dbd4
Fixed Camera3D Plugin, exposed it via camera3d
in a Scene and added cameras to local array.
...
Closes #3188
2018-01-30 13:15:50 +00:00
Felipe Alfonso
de4b308fbd
Light2D update
2018-01-30 00:38:31 -03:00
Richard Davey
4ec30b8db8
Recoded the Data component
...
Added is back in as DataManager, which Game Objects can have an instance of. Plus exposed as DataManagerPlugin available to Scenes. Removed callback based system and implemented events and fixed the destroy method.
2018-01-30 00:55:27 +00:00
Richard Davey
a62892c44a
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-01-29 23:38:30 +00:00
Richard Davey
f0726d4060
Added the ability to provide a data source image to go with a standard image
...
This allows you to load a normal map, specular map, or other format of image based data alongside a regular image and have them bound together internally, without creating duplicate entries in the Texture Manager or loader
2018-01-29 23:38:27 +00:00
Michael Hadley
65beefce29
Fix #3169 : add optional param to Tile#setCollision & Tile.resetCollision to recalc faces
2018-01-29 16:51:08 -06:00
Michael Hadley
b537ebd966
Made CalculateFacesAt accessible as part of the tilemap API
...
This is used internally, but may be useful for some devs
2018-01-29 16:31:14 -06:00
Felipe Alfonso
71a6360a7b
Pipeline components added
2018-01-29 18:46:48 -03:00
Richard Davey
107cd8426f
Updated spacing addition issue.
2018-01-29 16:12:10 +00:00
Michael Hadley
d088889c02
Added resetFX to 2D camera
2018-01-28 11:06:37 -06:00
Michael Hadley
16767927cb
Bug fix: setExisting -> setExistingBody
2018-01-28 08:06:05 -06:00
Ben Abbott
ee598818b1
Update URL to https
2018-01-28 17:10:44 +13:00
Ben Abbott
27ed94b6b1
Update url to https
2018-01-28 15:52:35 +13:00
Michael Hadley
dfab17fb7a
Tilemap helper methods for accessing objects from object layers
2018-01-27 10:27:12 -06:00
Michael Hadley
7acd9b0381
Tiled object parser: store points as xy objects instead of arrays
...
V2 used arrays, but other places in the codebase (and users) will expect an object with XY props over an array.
2018-01-27 08:34:11 -06:00
Michael Hadley
901b5f8ba9
Upgraded Tilemap object layer parser from v2
...
- Added ObjectLayer class to make the structure of an object layer clear
- Tilemap.objects is now an array of objects. This allows object layer properties to be parsed.
2018-01-27 08:27:56 -06:00
Michael Hadley
c7c94cdea8
Remove unnecessary v2 code: tilemap.collision
2018-01-27 08:05:45 -06:00
Michael Hadley
cbc493df98
MatterTileBody bug fix: tile -> this.tile
2018-01-26 22:31:53 -06:00
Michael Hadley
801d2e92e1
Revert "Add matter component for inertia - useful for platformers"
...
This reverts commit 2b20c8bbfb
.
2018-01-26 21:51:20 -06:00
Michael Hadley
ec444f876e
Extend SetBody component with setExistingBody method
...
This makes it easy to add compound bodies to a MatterSprite/MatterImage
2018-01-26 21:50:22 -06:00
Michael Hadley
0d84860a8a
Update Matter.World to render compound bodies
2018-01-26 21:50:21 -06:00
Felipe Alfonso
0e1009150c
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-01-26 20:17:28 -03:00
Felipe Alfonso
00c6c4a6df
Light2D Pipeline
2018-01-26 20:17:11 -03:00
Michael Hadley
63123250d1
Add clairifying note to fix #3193
2018-01-26 15:34:03 -06:00
Richard Davey
79de1b860a
Added jsdocs
2018-01-26 15:37:42 +00:00
Felipe Alfonso
4a63326f39
Forced nearest filtering for canvas textures
2018-01-26 12:21:05 -03:00
Pavle Goloskokovic
13b2c126bb
ESLint fix
2018-01-26 15:40:45 +01:00
Pavle Goloskokovic
48f73e3b32
ESLint fix
2018-01-26 15:39:34 +01:00
Pavle Goloskokovic
6c5f72f86e
ESLint fix
2018-01-26 15:38:00 +01:00
Pavle Goloskokovic
31fa6e9b31
ESLint fix
2018-01-26 15:37:31 +01:00
Pavle Goloskokovic
a703c3481e
ESLint fix
2018-01-26 15:36:41 +01:00
Pavle Goloskokovic
7507d095af
ESLint fix
2018-01-26 15:36:10 +01:00
Pavle Goloskokovic
06d31f1c0b
ESLint fix
2018-01-26 15:35:09 +01:00
Pavle Goloskokovic
c20835bce8
Eslint fix
2018-01-26 15:34:18 +01:00
Pavle Goloskokovic
879f821bd4
Removed completed TODO
2018-01-26 15:29:31 +01:00
Pavle Goloskokovic
b4602e0ba1
Merge remote-tracking branch 'origin/master'
2018-01-26 15:26:33 +01:00
Pavle Goloskokovic
f3d2b9e510
Added loop event docs
2018-01-26 15:25:59 +01:00
Pavle Goloskokovic
3de4234db8
Added seek event docs
2018-01-26 15:25:45 +01:00
Pavle Goloskokovic
3d20e05641
Added volume event docs
2018-01-26 15:25:09 +01:00
Pavle Goloskokovic
c1b3a18ea0
Added mute event docs
2018-01-26 15:24:55 +01:00
Pavle Goloskokovic
07d06a58ad
Added ended event docs
2018-01-26 15:24:40 +01:00
Pavle Goloskokovic
419761db15
Added looped event docs
2018-01-26 15:24:25 +01:00
Pavle Goloskokovic
d9f6669277
Added stop event docs
2018-01-26 15:24:05 +01:00
Pavle Goloskokovic
fd2995d978
Added resume event docs
2018-01-26 15:23:48 +01:00
Pavle Goloskokovic
58006988f0
Added pause event docs
2018-01-26 15:23:35 +01:00
Pavle Goloskokovic
9b4930ea47
Added play event docs
2018-01-26 15:23:06 +01:00
Richard Davey
a4e9ae5fdd
Added jsdocs.
2018-01-26 14:23:00 +00:00
Pavle Goloskokovic
0a1e4abd9f
Added setRate method docs
2018-01-26 15:20:44 +01:00
Pavle Goloskokovic
f7f3906810
Added setVolume method docs
2018-01-26 15:20:15 +01:00
Pavle Goloskokovic
ace58fa019
Added setMute method docs
2018-01-26 15:19:55 +01:00
Pavle Goloskokovic
4d5720d094
Added destroy method docs
2018-01-26 15:19:32 +01:00
Pavle Goloskokovic
32a2bcbf85
Added update method docs
2018-01-26 15:19:07 +01:00
Pavle Goloskokovic
1ca182e209
Added onFocus method docs
2018-01-26 15:18:45 +01:00
Pavle Goloskokovic
5b371db61f
Added onBlur method docs
2018-01-26 15:18:22 +01:00
Pavle Goloskokovic
18cd227e69
Added reset method docs
2018-01-26 15:18:02 +01:00
Pavle Goloskokovic
a2fdf7c42c
Added stopAndReleaseAudioTag method docs
2018-01-26 15:17:36 +01:00
Pavle Goloskokovic
3f6df08552
Added playCatchPromise method docs
2018-01-26 15:17:19 +01:00
Pavle Goloskokovic
fcd9efee42
Added pickAudioTag method docs
2018-01-26 15:16:43 +01:00
Pavle Goloskokovic
443599f261
Added pickAndPlayAudioTag method docs
2018-01-26 15:15:52 +01:00