Commit graph

5113 commits

Author SHA1 Message Date
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
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