Commit graph

12552 commits

Author SHA1 Message Date
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
3bc9d1be46 Lint tweak 2019-01-29 17:19:46 +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
696283686a Updated curly newline rule 2019-01-29 15:42:05 +00:00
Richard Davey
2bae58c459 Removed files from ignore list 2019-01-29 15:41:57 +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
e3d6b00dde Merge branch 'master' of https://github.com/photonstorm/phaser 2019-01-28 13:43:45 +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
b082b6d23d Merge branch 'master' of https://github.com/photonstorm/phaser 2019-01-28 13:40:58 +00:00
Richard Davey
e63b340f06 Update CHANGELOG.md 2019-01-28 13:40:52 +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
Bill Reed
0c12d836a2
2d Camera startFollow should respect useBounds
It was possible for the 2d camera's `startFollow` method to set the `scrollX` and `scrollY` values out of the camera's bounds, even when `useBounds` was set to true.

This PR ensures that `useBounds` is respected by the `startFollow` method when setting the `scrollX` and `scrollY` values. 

Question - should this check also happen when setting the `midpoint` with the `fx` and `fy` values?
2019-01-27 16:01:34 -05: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
2882208180 3.16.0-rc1 2019-01-25 17:42:29 +00:00
Richard Davey
3ee62e88e0 Update CHANGELOG.md 2019-01-25 17:29:53 +00: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
Richard Davey
dc1756bbc8 Pass xhr to onerror 2019-01-24 13:55:36 +00:00
Richard Davey
facd0d0ca4 Better handling of responseURL re #4309 2019-01-24 13:55:27 +00:00