Richard Davey
|
63c2c73930
|
Finally using correct size :)
|
2019-01-10 13:40:41 +00:00 |
|
Richard Davey
|
5370e1e068
|
Removed autoResize as no longer needed. Added autoRound property. pixelArt is true if not set and if zoom > 1.
|
2019-01-10 13:40:28 +00:00 |
|
Richard Davey
|
aec555705f
|
Testing difference between w/h and scale
|
2019-01-10 00:16:06 +00:00 |
|
Richard Davey
|
6d80772faf
|
Get resolution from correct place
|
2019-01-10 00:15:29 +00:00 |
|
Richard Davey
|
04ea2798e9
|
Use gameSize
|
2019-01-10 00:15:20 +00:00 |
|
Richard Davey
|
d690b70216
|
Working the Size component magic into the Scale Manager.
|
2019-01-09 17:14:00 +00:00 |
|
Richard Davey
|
f9f162f499
|
Default is now zero again.
|
2019-01-09 17:13:43 +00:00 |
|
Richard Davey
|
debe7ac82a
|
Renamed consts to match Size component
|
2019-01-09 17:13:31 +00:00 |
|
Richard Davey
|
b3aeee0bd1
|
Use the new size properties
|
2019-01-09 17:13:22 +00:00 |
|
Richard Davey
|
8a8c4de557
|
Fixed expandParent config value and made the default
|
2019-01-09 17:13:06 +00:00 |
|
Richard Davey
|
7513a1c351
|
JSDoc update
|
2019-01-09 14:19:27 +00:00 |
|
Richard Davey
|
80b14368c1
|
Refactored how snap is applied and consolidated the fit and envelope methods into one.
|
2019-01-09 14:19:17 +00:00 |
|
Richard Davey
|
e7fcc0bb1a
|
Finished the Size component and JSDocs.
|
2019-01-09 00:16:36 +00:00 |
|
Richard Davey
|
92396ba9d8
|
Finalizing the Size component
|
2019-01-08 23:07:54 +00:00 |
|
Richard Davey
|
ad0e2a6435
|
Refactoring the Size component
|
2019-01-08 17:23:20 +00:00 |
|
Richard Davey
|
30dda882eb
|
Matter.TileBody.setFromTileCollision no longer checks if the shape is concave or convex before modifying the vertices, as the update to the Matter.js lib in 3.12 stopped this from working with Tiled collision shapes.
|
2019-01-08 11:50:21 +00:00 |
|
Richard Davey
|
d9f0483437
|
JSDoc update.
|
2019-01-07 23:13:07 +00:00 |
|
iam13islucky
|
c98f7b7363
|
Typo - Zoom.js Pan.js Camera.js docs refer to wrong effects
|
2019-01-06 14:04:38 -07:00 |
|
Richard Davey
|
21c9326e07
|
Change when dragState is populated. Fix #4278
|
2019-01-05 10:03:11 +00:00 |
|
Richard Davey
|
6a361ba8ea
|
Line.Extend is a new static function that allows you extend the start and/or end points of a Line by the given amounts.
|
2019-01-05 00:38:20 +00:00 |
|
Richard Davey
|
730c84e3e3
|
Draggable Game Objects would not work if you had multiple Scenes running in parallel, with draggable objects in both of them. Only the top-most Scene would work fully. Items in the bottom Scene would never finish their drag cycle, causing them to get stuck. Fix #4249
|
2019-01-04 16:34:59 +00:00 |
|
Richard Davey
|
9a7058915c
|
Removed dragState property.
|
2019-01-04 16:34:53 +00:00 |
|
Richard Davey
|
566df734a0
|
MatterSprite would set its type property to be Image . It now sets it to be Sprite as it should do.
|
2019-01-04 14:16:10 +00:00 |
|
Richard Davey
|
36f08d83e6
|
The processDomCallbacks method in the Input Manager wasn't correctly clearing the once arrays. Responsibility for this has now been passed to the queue methods queueTouchStart , queueTouchMove , queueTouchEnd , queueMouseDown , queueMouseMove and queueMouseUp . Fix #4257
|
2019-01-04 14:03:21 +00:00 |
|
Richard Davey
|
bb4ecc6c2b
|
Merge branch 'master' of https://github.com/photonstorm/phaser
|
2019-01-04 13:34:06 +00:00 |
|
Richard Davey
|
a6447cd6b0
|
Updated docs and change log
|
2019-01-04 13:33:56 +00:00 |
|
Richard Davey
|
874929d807
|
Merge pull request #4250 from jcyuan/Branch_v3.15.1
doc improvement & minor bug fix
|
2019-01-04 13:15:20 +00:00 |
|
Richard Davey
|
af86a3b348
|
Merge pull request #4258 from OmarShehata/jsdoc-syntax
Fix jsdoc syntax
|
2019-01-04 13:14:11 +00:00 |
|
Patrick Sletvold
|
206d61284b
|
Mark optional params as optional in jsdoc
|
2019-01-02 11:54:39 +01:00 |
|
Omar Shehata
|
9abb11cba5
|
Remove unecessary type description
|
2018-12-26 10:51:01 -05:00 |
|
Omar Shehata
|
9a77301e08
|
Fix jsdoc syntax
|
2018-12-26 10:43:57 -05:00 |
|
jestarray
|
5aef34884c
|
texture optional frame parameters
not specifying frame works on said methods
|
2018-12-21 08:25:42 -08:00 |
|
Richard Davey
|
cc280d8950
|
Removed dead code
|
2018-12-21 02:47:10 +00:00 |
|
Richard Davey
|
ef0b18f88b
|
If a Map entry exists, it is updated with the new value, rather than skipped.
|
2018-12-20 12:12:49 +00:00 |
|
Richard Davey
|
52519a1932
|
Updated docs and added envelope method.
|
2018-12-20 12:12:31 +00:00 |
|
Richard Davey
|
a40b6056f5
|
Added jsdocs
|
2018-12-20 12:12:20 +00:00 |
|
J.C
|
580cc36ad4
|
Merge branch 'master' into Branch_v3.15.1
|
2018-12-20 12:42:25 +08:00 |
|
J.C
|
136a8355d8
|
doc improvement:
1, provide type for callback argument
2, remove comment for $type to avoid jsdoc warning: "The @type tag does not permit a description;"
|
2018-12-20 12:15:49 +08:00 |
|
J.C
|
f09e777f84
|
1, GetFirstElement -> should be GetFirst
2, doc fix
|
2018-12-20 11:11:56 +08:00 |
|
J.C
|
c8fc944d94
|
the parameter is actually the value you are seeking but not T type.
bug fix: GetFirstElement -> GetFirst, as ArrayUtils does not have GetFirstElement method.
|
2018-12-20 11:09:30 +08:00 |
|
Richard Davey
|
e33bf4f7c0
|
Swapping to Size component
|
2018-12-19 17:08:14 +00:00 |
|
Richard Davey
|
81c4c54628
|
Beta 4
|
2018-12-19 17:08:06 +00:00 |
|
Richard Davey
|
f5fcea898c
|
Updated Size component to handle fitting, ratios, locking and more.
|
2018-12-19 17:07:46 +00:00 |
|
Richard Davey
|
c6f72241e3
|
Added Size component.
|
2018-12-19 12:16:13 +00:00 |
|
Richard Davey
|
74a84a8242
|
Merge pull request #4247 from jcyuan/Branch_v3.15.1
docs improvement for 3.5.1 release
|
2018-12-19 10:21:05 +00:00 |
|
Richard Davey
|
7aabb98b8e
|
Re-enabled IM
|
2018-12-18 17:29:15 +00:00 |
|
Richard Davey
|
cb57425a34
|
The Alpha, Flip and Origin components have been removed from the Mesh Game Object (and by extension, Quad as well) as they are not used in the renderer and should be manipulated via the Mesh properties. Fix #4188
|
2018-12-18 15:47:07 +00:00 |
|
Richard Davey
|
a2723249a3
|
CanvasTexture.destroy is a new method that specifically handles the destruction of the CanvasTexture and all of its associated typed arrays. This prevents a memory leak when creating and destroying lots of RenderTextures (which are CanvasTexture backed). Fix #4239
|
2018-12-18 15:21:24 +00:00 |
|
Richard Davey
|
41286b5170
|
Make sure we bind the framebuffer and pipeline in the boot step
|
2018-12-18 14:58:42 +00:00 |
|
Richard Davey
|
8eebe518ad
|
Added optional drawingBufferHeight argument to scissor methods.
|
2018-12-18 13:36:05 +00:00 |
|
Richard Davey
|
c882b52a3a
|
Fixed an issue where changing the viewport or size of a Camera belonging to a RenderTexture, it wouldn't impact the rendering and objects will still render outside of the viewport range. It's now converted to a proper gl scissor rect by the renderer, meaning you can limit the area rendered to by adjusting the internal Render Texture cameras viewport. Fix #4243
|
2018-12-18 13:35:53 +00:00 |
|
Richard Davey
|
4b1ea8db9b
|
WebGLRenderer.preRender now calls gl.clearColor in order to restore the background clear color in case something, like a Render Texture, has changed it.
|
2018-12-18 13:04:26 +00:00 |
|
Richard Davey
|
7ee0a717f5
|
Container.getFirst was using an incorrect Array Utils function GetFirstElement , when it should have been using GetFirst . It now uses the correct function. Fix #4244
|
2018-12-18 12:12:47 +00:00 |
|
Richard Davey
|
90c7d4d0e8
|
Removed un-needed argument
|
2018-12-18 12:12:38 +00:00 |
|
Richard Davey
|
8f873c87af
|
Clears the framebuffer at the start of every render.
|
2018-12-18 11:32:36 +00:00 |
|
Richard Davey
|
56fa0a119e
|
RenderTexture.fill in WebGL would use gl.clear and a clear color to try and fill the Render Texture. This only worked for full-canvas sized RenderTextures that didn't have a camera zoom applied. It has now been swapped to use the drawFillRect method of the Texture Tint Pipeline, allowing it to work properly regardless of camera zoom or size.
|
2018-12-18 11:31:42 +00:00 |
|
Richard Davey
|
7e732452eb
|
Fixed an issue in WebGLRenderer.setScissor where it was possible to try and compare the scissor size to a non-current scissor, if called outside of the render loop (i.e. from RenderTexture.fill )
|
2018-12-18 10:22:59 +00:00 |
|
Richard Davey
|
bc9d3511e1
|
When using RenderTexture.fill , the alpha argument would be ignored in Canvas mode. It's now used when filling the RenderTexture.
|
2018-12-18 09:55:23 +00:00 |
|
J.C
|
110819e82c
|
add docs for StableSort & StableSort.inplace
|
2018-12-17 16:11:51 +08:00 |
|
J.C
|
d860725d57
|
first / last / next / prev should specify the return type as T
|
2018-12-17 10:56:41 +08:00 |
|
J.C
|
524d015e60
|
removeListener / off
except 'event' all other parameters should be optional.
|
2018-12-17 10:42:46 +08:00 |
|
Richard Davey
|
83f3f9cdeb
|
Changed scissor order.
|
2018-12-13 14:24:49 +00:00 |
|
Richard Davey
|
b3c3b4bae7
|
Adjust pixel position so scaled tiles don't offset
|
2018-12-13 13:16:46 +00:00 |
|
Richard Davey
|
e3dc58ef17
|
Merge branch 'master' of https://github.com/photonstorm/phaser
|
2018-12-13 13:10:35 +00:00 |
|
Richard Davey
|
aae1cf5ae5
|
Tidying up
|
2018-12-13 13:10:31 +00:00 |
|
Richard Davey
|
f4f4512d0f
|
Fixed Math.RND assignment. Fix #4197.
|
2018-12-13 13:09:14 +00:00 |
|
Richard Davey
|
1bf9be5e12
|
Animation.stop guard.
|
2018-12-13 13:03:54 +00:00 |
|
Richard Davey
|
032c7bd405
|
Merge pull request #4227 from jcyuan/Branch_v3.15.1
TS definition improvements in doc for v3.15.1 release
|
2018-12-13 11:58:27 +00:00 |
|
Richard Davey
|
ffd217dbdd
|
Fixed size calculation and updated docs
|
2018-12-13 11:46:17 +00:00 |
|
Richard Davey
|
eef553d4c2
|
Fixed layer size calculations. Also changed rendering to use tileset tile sizes, as it should do.
|
2018-12-13 11:07:53 +00:00 |
|
Richard Davey
|
74d5af20c6
|
Tidying up
|
2018-12-13 11:07:20 +00:00 |
|
Richard Davey
|
a4badb68ad
|
Merge branch 'master' of https://github.com/photonstorm/phaser
|
2018-12-13 10:25:58 +00:00 |
|
Richard Davey
|
cc164b5399
|
Fixed camera background in WebGL.
|
2018-12-13 10:25:53 +00:00 |
|
J.C
|
5d696d49bf
|
doc improvement for typescript, missing mapping if use JSON as the config data for the game instance
|
2018-12-13 17:26:10 +08:00 |
|
J.C
|
b7424fd287
|
1, removed protected for a few of members, they are used publicly somewhere, for example this.loader.textureManager.addAtlasJSONArray in MultiAtlasFile.prototype.addCache.
2, doc improvement for typescript
|
2018-12-13 17:19:49 +08:00 |
|
J.C
|
b6c2934e65
|
doc improvement for typescript
|
2018-12-13 17:17:09 +08:00 |
|
J.C
|
a3d2ccf65c
|
doc improvement for typescript
|
2018-12-13 17:17:02 +08:00 |
|
Richard Davey
|
caad527b29
|
Added getData and putData methods.
|
2018-12-13 00:30:13 +00:00 |
|
Richard Davey
|
b8fbd0d2c0
|
keydown and keyup events now fire for every possible key, no matter if they exist in the KeyCodes list or not.
|
2018-12-12 16:50:04 +00:00 |
|
Richard Davey
|
7b478d2860
|
lint fix
|
2018-12-12 13:14:59 +00:00 |
|
Richard Davey
|
af5b1f2427
|
StaticBody.reset in Arcade Physics would ignore the x and y values given to it. If given, they're now used to reset the parent Game Object before the body is updated. Fix #4224
|
2018-12-12 12:39:47 +00:00 |
|
Richard Davey
|
cc55ee73cf
|
Changing scaleX or scaleY on a MatterImage or MatterSprite would cause the body scale to become distorted as the setters didn't use the correct factor when resetting the initial scale. Fix #4206
|
2018-12-12 12:07:16 +00:00 |
|
Richard Davey
|
bbe95d96d9
|
Added jsdocs for #4137
|
2018-12-12 11:58:58 +00:00 |
|
Richard Davey
|
3ee75a77a3
|
Merge branch 'master' of https://github.com/photonstorm/phaser
|
2018-12-12 11:56:19 +00:00 |
|
Richard Davey
|
193d1d5c73
|
Docs update.
|
2018-12-12 11:56:09 +00:00 |
|
Richard Davey
|
d823c66597
|
Merge pull request #4137 from sercant/master
Fix rotating normal map bug (issue #3870)
|
2018-12-12 11:52:27 +00:00 |
|
Richard Davey
|
5e1a144c05
|
Merge pull request #4181 from samme/docs/audioconfig
Correct docs for Phaser.Boot.Config#audio
|
2018-12-12 11:40:40 +00:00 |
|
Richard Davey
|
7ea03169e7
|
Merge pull request #4183 from DottieDot/setFont-fix
setFont fix (also fixes #4141)
|
2018-12-12 11:30:38 +00:00 |
|
Richard Davey
|
79ee2229ad
|
Merge pull request #4207 from tfelix/fix/tilemap-layer-typedef-fix
fixes the typedef for the layer parameter
|
2018-12-12 11:28:57 +00:00 |
|
Richard Davey
|
5c6d1cbe17
|
Merge pull request #4214 from matosummer/master
Add link to bitmaptext
|
2018-12-12 11:27:00 +00:00 |
|
Richard Davey
|
52e47da344
|
Merge pull request #4222 from bryanwood/fix-facebook-plugin-type-on-scene
Change JSDoc @type from any to Phaser.FacebookInstantGamesPlugin
|
2018-12-12 11:24:53 +00:00 |
|
Richard Davey
|
f2123a10c0
|
Merge pull request #4223 from bryanwood/add-facebook-plugin-to-scene-for-jsdoc
Add facebook plugin to Phaser.Scene for JSDoc
|
2018-12-12 11:23:46 +00:00 |
|
Richard Davey
|
96e08bb448
|
Merge branch 'master' of https://github.com/photonstorm/phaser
|
2018-12-12 11:09:11 +00:00 |
|
Richard Davey
|
05ffb5312f
|
Updated docs
|
2018-12-12 11:09:00 +00:00 |
|
Richard Davey
|
4b27b37a0c
|
Added texture and unit arguments to batchQuad and batchTri , fixing the y2k bug.
|
2018-12-12 11:08:52 +00:00 |
|
Richard Davey
|
62b489ee04
|
Merge branch 'master' of https://github.com/photonstorm/phaser
|
2018-12-11 23:22:04 +00:00 |
|
Richard Davey
|
69e6643800
|
Added setPixel method.
|
2018-12-11 23:22:00 +00:00 |
|
Richard Davey
|
bacff65177
|
Refactoring texture batch creation
|
2018-12-11 15:00:12 +00:00 |
|
Richard Davey
|
5683713253
|
Added flush argument
|
2018-12-11 14:59:50 +00:00 |
|
Richard Davey
|
d9f89fbde1
|
Fixed lint error, added docs.
|
2018-12-11 09:31:56 +00:00 |
|