Commit graph

7407 commits

Author SHA1 Message Date
Richard Davey
4d4f500629 Improved typedefs 2019-01-31 11:12:00 +00:00
Richard Davey
ffde5564e3 Now uses GetTarget and new consts 2019-01-31 11:11:49 +00:00
Richard Davey
537d58a858 Moved Scale consts to their own files for better docs navigation 2019-01-31 11:11:35 +00:00
Richard Davey
3b52b8387e Fixed jsdoc type 2019-01-31 11:11:05 +00:00
Richard Davey
87ef5a14cf DOM.GetTarget is a new helper function that will return a reference to a DOM Element based on the given string or node. 2019-01-31 11:10:40 +00:00
Richard Davey
fd38cbd3ca Lots of Scale Manager tweaks to deal with dead div parents, dead height body docs and lots more. 2019-01-31 00:48:43 +00:00
Richard Davey
dbd3745b4a The AddToDOM method has had the overflowHidden argument removed. The DOM element the canvas is inserted into no longer has overflow: hidden applied to its style. If you wish to have this, please add it directly via CSS. 2019-01-30 22:46:29 +00:00
Richard Davey
a9d6951660 A Tween Timeline will now set it's internal destroy state _before_ calling either the onComplete callback or sending the COMPLETE event. This means you can now call methods that will change the state of the Timeline, such as play, during the callback handlers, where-as before doing this would have had the internal state changed immediately, preventing it 2019-01-30 15:49:08 +00:00
Richard Davey
04f06140d3 RC2 2019-01-30 00:17:42 +00:00
Richard Davey
1a6ac029ac Fixed Extern arguments, added as core and finished jsdocs. 2019-01-30 00:02:11 +00:00
Richard Davey
44f4ac3598 Type def fix 2019-01-29 23:49:23 +00:00
Richard Davey
3d5d84c01f Stop listener 2019-01-29 23:22:29 +00:00
Richard Davey
1c0acc2342 Needs to listen for the PROCESS event, plus emit keydown_ as well. 2019-01-29 23:21:54 +00:00
Richard Davey
fb0c4af780 Trim the keycodes 2019-01-29 23:21:34 +00:00
Richard Davey
21c06668fb jsdoc fix 2019-01-29 23:21:24 +00:00
Richard Davey
6c16a888b3 Updated namespace, added missing docs, explained in more detail some methods. 2019-01-29 19:17:07 +00:00
Richard Davey
3080286a30 Tidying up 2019-01-29 17:19:51 +00:00
Richard Davey
3e3acee4f6 jsdoc fixes 2019-01-29 17:17:26 +00:00
Richard Davey
cb7b335d7f Moved ScaleManager to its own namespace (Phaser.Scale) and out of DOM 2019-01-29 15:42:27 +00:00
Richard Davey
da8ac37192 resize can now be called at any point, moved centering to a new more solid method, added zoom support with scale mode none and more. 2019-01-29 15:18:47 +00:00
Richard Davey
0be5bd23a0 Added MAX_ZOOM const 2019-01-29 15:18:12 +00:00
Richard Davey
4182228e5a Updated DOM Container reference 2019-01-29 15:18:04 +00:00
Richard Davey
a9db477718 Moved to dom folder 2019-01-29 15:17:52 +00:00
Richard Davey
8d5a1fbd11 pixelArt if zoom !== 1 2019-01-29 15:17:41 +00:00
Richard Davey
eb78cf90c6 Swapped to using the Scene iteration approach instead of an event, as it fixes the issue with Scene ordering and global priority. Fix #4327 #4321 2019-01-29 01:05:27 +00:00
Richard Davey
aa967cdbc0 Removed process listener. 2019-01-29 01:04:09 +00:00
Richard Davey
c2db34f660 SceneManager.getScenes is a new method that will return all current Scenes being managed by the Scene Manager. You can optionally return only active scenes and reverse the order in which they are returned in the array. 2019-01-29 01:03:56 +00:00
Richard Davey
d380c3ac69 Virtually finished Scale Manager jsdocs and tidying up. 2019-01-28 17:12:28 +00:00
Richard Davey
ad70549c79 Move Extern to experimental 2019-01-28 16:40:41 +00:00
Richard Davey
91df0a4cb9 Fix pipeline reference 2019-01-28 16:40:24 +00:00
Richard Davey
47cd394ac5 Tidy jsdocs 2019-01-28 16:40:07 +00:00
Richard Davey
78b22ee617
Merge pull request #4316 from jcyuan/master
doc fix for TimerEvent and BMFontText & a minor bug in updateBounds
2019-01-28 13:47:13 +00:00
Richard Davey
974c5342e7 Fixed jsdoc types (#4311) 2019-01-28 13:45:48 +00:00
Richard Davey
6571511a41
Merge pull request #4311 from jestarray/master
Updated tilemap jsdocs
2019-01-28 13:43:24 +00:00
Richard Davey
618c703800
Merge pull request #4322 from kyranet/patch-1
fix: GetValue not checking for the existence of '.' correctly
2019-01-28 13:38:29 +00:00
Richard Davey
4ac6553b2c Final updates to full screen target handling. 2019-01-28 11:44:04 +00:00
Kyra
f83f63f318
fix: GetValue not checking for the existence of '.' correctly
indexOf returns -1 when the passed string is not found, which is truthy.
2019-01-26 16:52:25 +01:00
Richard Davey
147a0a0e98 ScaleManager.resize now calls resize on all the Size components 2019-01-25 17:29:49 +00:00
Richard Davey
f5106de6c5 Callback is now invoked in Image.onload to avoid race conditions. 2019-01-25 17:29:31 +00:00
Richard Davey
7c03028534 Updated jsdocs 2019-01-25 17:29:10 +00:00
Richard Davey
3206a585d1 Now takes a snapshot configuration object and changes path based on the type of grab being taken. 2019-01-25 17:29:03 +00:00
Richard Davey
f59f51ffd0 Added snapshotState, removed the old properties and added the new snapshotArea and snapshotPixel methods. 2019-01-25 17:28:39 +00:00
Richard Davey
57970f1149 Added Size.resize and Size.setAspectRatio methods. 2019-01-25 12:13:26 +00:00
Richard Davey
8f016ef983 Updating snapshot feature 2019-01-25 10:01:53 +00:00
J.C
cb0f3e079c add doc for the static method. BTW: have to admit that Phaser is absolutely well considered, even for such case that user probably make all BMFont atlas combined into one. 2019-01-25 11:02:38 +08:00
J.C
cff904d74b doc fix: wrong argument type 2019-01-25 11:00:40 +08:00
J.C
b5476a8b2d minor fix for updateBounds in some environment which does not support DOM well, if pageOffsetXY / clientXY returns undefined, input won't work. 2019-01-25 10:59:42 +08:00
Richard Davey
9142260307 Texture filter mode is now based on game anti-alias setting. 2019-01-24 14:23:24 +00:00
Richard Davey
22fcb75ac1 Formatting 2019-01-24 14:11:08 +00:00
Richard Davey
c221bb7165 Updated docs to clarify #4091 2019-01-24 14:10:55 +00:00