Commit graph

665 commits

Author SHA1 Message Date
Richard Davey
37713b9f4a Group methods now have optional addToScene and removeFromScene arguments
#3080
2018-01-07 13:16:42 +00:00
Richard Davey
30e9699bb6 Zone.setSize now has a resizeInput argument (re: #3124) 2018-01-05 16:18:10 +00:00
Felipe Alfonso
7959656a58 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-01-04 19:04:15 -03:00
Felipe Alfonso
29bafd1137 Progress RenderPass SpriteBatch function 2018-01-04 19:04:06 -03:00
Richard Davey
1f07ad203a Fix #3112 2018-01-04 22:02:29 +00:00
Felipe Alfonso
2f5f9629b8 RenderPass specific SpriteBatch function 1 2018-01-04 18:40:41 -03:00
Richard Davey
6ce82dc870 Removed decimal places. 2018-01-04 15:42:12 +00:00
Richard Davey
0b33d53759 Tidying up. 2018-01-04 15:42:11 +00:00
Felipe Alfonso
9e9b1491d5 Flip forced added if texture is attachment to render target 2018-01-02 21:00:16 -03:00
Felipe Alfonso
bf2a73cb6a Reset RenderPass creation 2018-01-02 17:27:48 -03:00
Felipe Alfonso
1f4f3da7e0 Added resolution uniform to render pass 2018-01-02 16:55:59 -03:00
Felipe Alfonso
a3384230c9 Fixed Flip issue with RenderPass 2018-01-02 15:58:28 -03:00
Felipe Alfonso
3b6f3ef3b3 RenderPass fix 2017-12-15 13:03:55 -03:00
Richard Davey
2c9c220f58 Container render 2017-12-15 04:09:20 +00:00
Richard Davey
d999151d30 Added in start of the support for a parent transform 2017-12-15 04:08:25 +00:00
Richard Davey
76f27ed706 Added parent, setParent and fixed destroy 2017-12-15 04:08:05 +00:00
Richard Davey
912b318d3e Formating 2017-12-15 04:07:45 +00:00
Richard Davey
d42aa4cffd Updated Container class and factory 2017-12-15 04:06:50 +00:00
Richard Davey
4db457c464 Added Graphics.fillPoints and the option to specify an endIndex argument to strokePoints 2017-12-14 02:00:36 +00:00
Michael Hadley
ca7753e611 v2 -> v3, split lines using splitRegExp property 2017-12-13 15:44:59 -06:00
Michael Hadley
be74f40df9 Updating v2 comments to match v3 style 2017-12-13 15:30:43 -06:00
Michael Hadley
9357b835b4 Jsdoc wrapping methods 2017-12-13 15:28:52 -06:00
Michael Hadley
0415a9bc01 Remove accidental duplicate of GetValue 2017-12-13 15:28:36 -06:00
Michael Hadley
58b00a12e1 Make word wrap functions more pure so they are easier to share with other GOs later 2017-12-13 15:14:16 -06:00
Michael Hadley
d003945a66 v2's PrecalculateWordWrap -> getWrappedText 2017-12-13 15:09:06 -06:00
Michael Hadley
2fe60ffbf9 Add wrapping to Text & ensure context's font stays in sync 2017-12-13 15:08:43 -06:00
Michael Hadley
f6bd7ecb1b Add TextStyle wrap properties & parse with GetValue over GetAdvancedValue 2017-12-13 15:07:37 -06:00
Michael Hadley
0c3f144f88 Port v2 text wrapping functions to Text 2017-12-13 15:04:57 -06:00
Felipe Alfonso
b71edc2b34 Added support to RenderPass to use untextured shader 2017-12-10 11:03:29 -03:00
Richard Davey
71d6f8a085 Added fillMesh and strokeMesh. 2017-12-07 05:31:31 +00:00
Richard Davey
d89b6ba6b6 Added Mesh methods, camera and projection matrix. 2017-12-07 04:52:59 +00:00
Richard Davey
0b84b06e48 ESLint fixes 2017-12-07 04:52:07 +00:00
Felipe Alfonso
ea0c1ab81c Fixed shader so blending is applied properly. Textures now have a premultiplied alpha property flag and unpacking property is set at creation. 2017-12-06 20:52:09 -03:00
Michael Hadley
55492e8940 Typo fix 2017-12-03 15:31:05 -06:00
Richard Davey
50b1a67043 Added Group.countActive 2017-12-03 17:12:22 +00:00
Michael Hadley
f7cd3deb93 Newsletter addition: WeightedRandomize 2017-12-03 08:56:12 -06:00
Michael Hadley
d686cd7140 Fix: use globalAlpha since renderer.setAlpha doesn't work with ctx manipulation 2017-12-03 08:55:53 -06:00
Richard Davey
8a2ea673b6 Group.createMultipleCallback added 2017-12-02 04:03:22 +00:00
Richard Davey
011ebb5968 Destroy resorts children and sets invisible 2017-12-02 04:03:06 +00:00
Richard Davey
ed56fbce37 Merge branch 'master' of https://github.com/photonstorm/phaser 2017-12-02 01:24:52 +00:00
Richard Davey
84c86e23f0 strokePoints has new autoClose argument which strokeEllipse takes advantage of 2017-12-02 01:24:18 +00:00
Michael Hadley
10dfa0a7da Reverting last change - making it easier to access collision groups from Tileset 2017-12-01 18:57:27 -06:00
Michael Hadley
8adce2ed2e Tidying: making it easier to access collision objects from a tile 2017-12-01 18:08:58 -06:00
Michael Hadley
806c9d3237 Stroke ellipse fixes
- Circumference points should calculate point based on top left of ellipse
- Graphics missing Ellipse class
- Ellipse stroke not "closed"
2017-12-01 18:05:39 -06:00
Michael Hadley
195ea19ea7 Extra tilemap method findTile (matches Array.prototype.find) 2017-12-01 13:46:27 -06:00
Michael Hadley
a8fdcbc56b Small fix: use base tile size for tile <-> XY transforms. This only matters for maps with different size tiles. 2017-12-01 13:26:09 -06:00
Michael Hadley
37767ebde1 Tidy: fix v2 linting errors and move Tiled parser bits into modules 2017-12-01 13:26:09 -06:00
Michael Hadley
ed5cdf0bdb Tidy up - remove old skipIndexZero property on layers 2017-12-01 13:26:09 -06:00
Michael Hadley
742ff1a439 Internal terminology change to make API clearer: tile.worldXY -> tile.pixelXY 2017-12-01 13:26:09 -06:00
Richard Davey
81275a6197 Fixed transform issue with Text padding. 2017-12-01 16:53:02 +00:00