Commit graph

11268 commits

Author SHA1 Message Date
Richard Davey
fb5bf5d9c1 Added stroke rendering to all shapes 2018-09-06 15:49:42 +01:00
Richard Davey
a508cd2195 Added support for stroke rendering path data 2018-09-06 15:09:15 +01:00
Richard Davey
2f5f5542fd Added more global properties 2018-09-06 15:08:51 +01:00
Richard Davey
0918bc15c2 Support for stroke rendering added 2018-09-06 15:08:41 +01:00
Richard Davey
aac783064f Added per Shape factories 2018-09-06 15:08:15 +01:00
Richard Davey
5e126b80fa Parent matrix and now optional and it won't draw a line cap unless the first point has been set 2018-09-06 15:07:36 +01:00
Richard Davey
19a50eaa98 Moving Shapes to their own folders to keep things tidy 2018-09-06 11:26:50 +01:00
Richard Davey
d3181b41c5 Added smooth method 2018-09-06 00:17:07 +01:00
Richard Davey
b54de56c85 Added Polygon.Smooth and exposed Polygon.Reverse 2018-09-06 00:16:56 +01:00
Richard Davey
7d4906bf73 Added smoothing function 2018-09-05 17:44:12 +01:00
Richard Davey
9820eb4e2d Added Ellipse 2018-09-05 17:27:48 +01:00
Richard Davey
356e6f0753 Added Polygon support 2018-09-05 17:11:46 +01:00
Richard Davey
40a53f75b7 Added Arc rendering and fixed version numbers 2018-09-05 16:50:33 +01:00
Richard Davey
9f9043d881 Added the new Shape base class and the Arc, Rectangle and Triangle primitives 2018-09-05 16:20:25 +01:00
Richard Davey
dedc939fdd initPipeline now defaults to the Texture Tint Pipeline if nothing else is specified. 2018-09-05 11:19:02 +01:00
Richard Davey
dff9bdef9f The Graphics Canvas Renderer will now automatically call beginPath on the target context before processing the command stack. This has the effect of clearing off any sub-paths that may have persisted on the stack from previous Graphics objects or frames. 2018-09-04 23:33:38 +01:00
Richard Davey
4d74b99018 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-09-04 22:45:39 +01:00
Richard Davey
8216c11143 Updated log 2018-09-04 22:45:30 +01:00
Richard Davey
203fb989c6
Merge pull request #4012 from jf908/master
Allow matter js bodies to render their debug graphics individually
2018-09-04 22:44:12 +01:00
Richard Davey
424a1e328e Merge branch 'master' of https://github.com/photonstorm/phaser 2018-09-04 22:43:28 +01:00
Richard Davey
5b98386677 Calling Text.setStyle would make the Text vanish if you didn't provide a resolution property in the style configuration object. Calling setStyle now only changes the properties given in the object, leaving any previously changed properties as-is. Fix #4011 2018-09-04 22:43:25 +01:00
Richard Davey
3b7f14f764
Merge pull request #4014 from alexeymolchan/master
fixed incorrect properties assignment in setTileScale method
2018-09-04 22:16:08 +01:00
Alexey Molchan
2aba731f4a fixed incorrect properties assignment in setTileScale method 2018-09-04 22:19:42 +03:00
jf908
4f5b43e0ed
Allow matter js bodies to render their debug graphics individually 2018-09-04 18:45:54 +01:00
Richard Davey
03aeaefe21 Preparing for 3.13 development 2018-09-04 16:01:42 +01:00
Richard Davey
a533895569 3.12 Release 2018-09-04 15:48:36 +01:00
Richard Davey
cb1c6f614d Preparing for 3.12 release 2018-09-04 15:42:10 +01:00
Richard Davey
2df27a4db8 Resolution adjust 2018-09-04 15:13:48 +01:00
Richard Davey
ecf952ef77 Removed component code 2018-09-04 15:13:32 +01:00
Richard Davey
382d6ae687 Updated log 2018-09-04 14:12:51 +01:00
Richard Davey
89967af66b Fixed Camera input resolution 2018-09-04 14:04:48 +01:00
Richard Davey
a103b0e6a6 Fixed FB Plugin paths to avoid build errors if plugin is enabled. 2018-09-04 12:35:23 +01:00
Richard Davey
a6e650f26f
Merge pull request #4006 from samme/docs/arcade-image-body
Correct types for ArcadeImage#body, ArcadeSprite#body
2018-09-04 12:23:26 +01:00
Richard Davey
7c55e65543 Arcade Physics Body deltaX and deltaY methods will now return the previous steps delta values, rather than zero. Fix #3987 2018-09-04 12:16:24 +01:00
Richard Davey
3d989e136f Arcade Physics World collideSpriteVsTilemapLayer now syncs the collision results back to the body, allowing you to call collide from within an update loop once again. Fix #3999 2018-09-04 12:12:51 +01:00
Richard Davey
0399ca178e Merge branch 'master' of https://github.com/photonstorm/phaser 2018-09-03 13:13:52 +01:00
Richard Davey
a1610fd9d7 Log updated 2018-09-03 13:13:37 +01:00
Richard Davey
b19449f518 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-09-03 13:12:41 +01:00
Richard Davey
78ffd41704 More specific includes 2018-09-03 13:12:37 +01:00
samme
c0e141513c Correct types for ArcadeImage#body, ArcadeSprite#body 2018-09-02 14:45:39 -07:00
Richard Davey
cc90c6756b
Merge pull request #4001 from khaleb85/master
Fixed animation playReverse with yoyo flag
2018-09-01 17:45:31 +01:00
Shukizu
96c7a4830c fixed playReverse with repeat bigger than 1 #3837 2018-09-01 12:40:26 -03:00
Shukizu
a1bb80997e fixed play in yoyo mode, bug found by @Ben-Millions #3837 2018-09-01 10:48:23 -03:00
Richard Davey
a2dc7929dc Updated log 2018-09-01 10:22:03 +01:00
Richard Davey
2c4f0d0d68 Added missing jsdocs for #3996 2018-09-01 10:19:38 +01:00
Richard Davey
ec412b2d89
Merge pull request #3996 from iamchristopher/feature-polygon-get-points
Adds Polygon.Perimeter and Polygon.GetPoints
2018-09-01 10:17:50 +01:00
Richard Davey
00a31d2d88 Updated docs. Close #3997 2018-09-01 10:14:22 +01:00
Richard Davey
d586483dc3 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-09-01 01:48:30 +01:00
Richard Davey
cdd75f85a2 Updated log 2018-09-01 01:47:00 +01:00
iamchristopher
0a96bf356b Added Polygon.GetPoints 2018-08-31 20:30:36 -04:00