Commit graph

10949 commits

Author SHA1 Message Date
Chris Andrew
634edcf538 Fixed Graphics.generateTexture() causing a runtime error (#3879).
The Graphics object had new dependencies (1a62a356) that were not provided when the static Graphics.TargetCamera object was used by the Graphics.generateTexture() method. Providing a Graphics instances scene object to the TargetCamera at texture rendering time resolved the issue.
2018-07-30 23:02:40 +01:00
Chris Andrew
157dc59999 Fixed invalid syntax in the HTMLFile's loader file type documentation example (#3873). 2018-07-30 19:01:53 +01:00
Chris Andrew
3141510fdf Fixed invalid syntax in some loader file type documentation examples (#3873). 2018-07-30 18:52:53 +01:00
Richard Davey
a8b605f42d Zone now calls updateDisplayOrigin in its constructor, causing the displayOriginX and displayOriginY values to now be correct if you create a Zone and then don't resize it. Fix #3865 2018-07-29 12:34:21 +01:00
Richard Davey
189c2c7e0f Merge branch 'master' of https://github.com/photonstorm/phaser 2018-07-29 12:24:17 +01:00
Richard Davey
2889d68f93 Updated change log 2018-07-29 12:24:14 +01:00
Richard Davey
7fe9167657 The alpha value is now always set for Render Textures in canvas mode, regardless of the previous alpha value in the renderer 2018-07-29 12:23:52 +01:00
Richard Davey
a1ae1744ac RenderTexture.preDestroy will now release the canvas back to the CanvasPool if running in canvas mode
Also removed un-used `drawFrame` references.
2018-07-29 12:20:09 +01:00
Richard Davey
34b27fd57a ParticleEmitter would fail to draw a textured particle in Canvas mode 2018-07-29 12:16:42 +01:00
Richard Davey
56e1e04da3 RenderTexture.draw would fail to draw the frame in Canvas mode 2018-07-29 12:10:28 +01:00
Richard Davey
7e55d5adac BlitterCanvasRenderer would fail to render a Bob in Canvas mode if it was flipped 2018-07-29 12:09:03 +01:00
Richard Davey
27d0bd8a9b
Merge pull request #3844 from samme/fix/closest-furthest
Fix ArcadePhysics#closest, furthest
2018-07-29 11:45:22 +01:00
Richard Davey
72dbfcd9f4 jsdoc path fix 2018-07-28 21:37:51 +01:00
Richard Davey
162e910d18 Added intent methods and leaderboard score class 2018-07-27 11:19:41 +01:00
Richard Davey
b30e4185b9 Updated log 2018-07-27 11:19:26 +01:00
Richard Davey
6749417ef3 lint fix 2018-07-27 11:19:19 +01:00
Richard Davey
08b7d00ce9 Fixed base64 method 2018-07-27 11:19:12 +01:00
Richard Davey
939fc24088 Added lots of new API calls 2018-07-27 09:43:21 +01:00
Richard Davey
c1111753f0 Added getBase64 method 2018-07-27 09:43:12 +01:00
Richard Davey
c65e3c7428 Added FB Instant Games Plugin to core (will prepare for moving to unique build once feature complete) 2018-07-27 08:33:51 +01:00
Richard Davey
1abe90433f Updated log and docs 2018-07-27 02:49:05 +01:00
Richard Davey
a63acd0427 Updated docs. 2018-07-27 02:40:56 +01:00
Richard Davey
9331c15c48 Updated to use tint object. 2018-07-27 02:14:08 +01:00
Richard Davey
6027b65500 Added fill gradient and line gradient methods 2018-07-27 02:13:58 +01:00
Richard Davey
0c50b0eba8 Typo 2018-07-27 02:13:41 +01:00
Richard Davey
6163340f58 Updated log 2018-07-27 00:53:07 +01:00
Richard Davey
4481795d32 Swapped to using getX / getY 2018-07-27 00:53:00 +01:00
Richard Davey
8873bdcbf6 Fixed pipeline method call 2018-07-26 23:50:54 +01:00
Richard Davey
6877582531 Removed un-used pipeline and shaders 2018-07-26 23:43:49 +01:00
Richard Davey
4bdecf488b jsdocs tweaks 2018-07-26 23:41:52 +01:00
Richard Davey
a09c2a4958 Now uses customViewports counter to avoid scissor setting and skips box check 2018-07-26 23:05:25 +01:00
Richard Davey
f2290abf9b Added new customViewports counter 2018-07-26 23:05:08 +01:00
Richard Davey
1a62a3563e Added refs to config and Scene Manager and new customViewport bool 2018-07-26 23:04:53 +01:00
Richard Davey
1777e16227 Sorting out the scissor stack 2018-07-26 17:50:07 +01:00
Richard Davey
a3c4c60519 Log update. 2018-07-26 16:34:13 +01:00
Richard Davey
d093f35e5c Merged all of the required FTP methods into TTP. 2018-07-26 16:34:04 +01:00
Richard Davey
cc3ed1659e Lint fix. 2018-07-26 16:33:51 +01:00
Richard Davey
e0c0db5f8e Final bit of tidying up before merging this with the TTP. 2018-07-26 16:33:43 +01:00
Richard Davey
90219d46b3 Removed all references to the FlatTintPipeline. 2018-07-26 16:33:29 +01:00
Richard Davey
5dbd7591cd Graphics now using the TextureTintPipe. Farewell draw calls! 2018-07-26 16:33:02 +01:00
Richard Davey
e851209b41 Camera effects using the new drawFillRect method. 2018-07-26 16:32:31 +01:00
Richard Davey
947d301f42 Removed the unit batch from TTP and put it into FDLP 2018-07-26 15:31:44 +01:00
Richard Davey
bda9159cb0 Textures now use the frame UV values. 2018-07-26 15:05:10 +01:00
Richard Davey
d3e07b519a Added setBlankTexture method 2018-07-26 15:04:46 +01:00
Richard Davey
1cc0e7d5e5 Moved the rendering code from the pipeline to the Graphics object 2018-07-26 15:04:35 +01:00
Richard Davey
620c5a3360 Added Graphics.setTexture and a clear texture command 2018-07-26 15:04:19 +01:00
Richard Davey
7acbbcf58a Fixed linejoin, added arc and triangle, tidying up code 2018-07-26 13:49:05 +01:00
Richard Davey
39a6622623 Working on joints 2018-07-26 09:58:33 +01:00
Richard Davey
1749ea683c Merge branch 'master' of https://github.com/photonstorm/phaser 2018-07-25 23:00:39 +01:00
Richard Davey
c65e7dc5fa Updated log 2018-07-25 23:00:36 +01:00