Richard Davey
1e3b75b32c
Merge pull request #4363 from rootasjey/patch-1
...
Update `Tile.properties` type to `any`
2019-02-24 21:45:23 +00:00
Richard Davey
341e78ce0d
Added touch Window handlers and remove handlers
2019-02-22 02:26:52 +00:00
Richard Davey
c90ae09f9f
Added window specific handlers
...
And game config option:
```
input: {
windowEvents: false
},
```
2019-02-22 02:11:13 +00:00
sky-coding
bab6a0bd69
remove erroneous doc comment parameter
2019-02-20 20:48:09 -08:00
Chad Engler
5fbef0b1cb
Correct jsdoc for Class utilities
2019-02-18 16:47:44 -08:00
danilo neves cruz
a586a4adeb
fix reverse generateFrameNumbers
2019-02-15 17:38:39 -02:00
Richard Davey
376f06d2a9
Updated for 3.16.3
2019-02-15 10:39:07 +00:00
Richard Davey
53c63fa190
Removed all references to Cocoon.
2019-02-15 10:38:57 +00:00
Jeremie Corpinot
e40ff20a2c
Update Tile.properties
type to any
...
Update `Tile.properties` type from ` object` to `any` so we can access any un-declared property without TypeScript throwing an error.
Solve issue https://github.com/photonstorm/phaser/issues/4356
2019-02-13 20:04:45 +01:00
Richard Davey
0479badd6e
Properties are optional
2019-02-13 17:20:10 +00:00
Richard Davey
31b14156de
Fixed event name
2019-02-13 16:55:52 +00:00
Richard Davey
fd629fe783
Adding callback typedefs
2019-02-13 16:32:27 +00:00
Richard Davey
4fc817c519
Final batch of typedefs
2019-02-13 16:06:00 +00:00
Richard Davey
ccf677dfa6
Textures typedefs
2019-02-13 15:43:08 +00:00
Richard Davey
0db663d901
More typedefs
2019-02-13 15:38:50 +00:00
Richard Davey
42cb39749f
Matter and Snapshot typedefs
2019-02-13 15:22:29 +00:00
Richard Davey
b4dbfea0a1
Impact typedefs
2019-02-13 15:05:16 +00:00
Richard Davey
3bb73c5664
Fixed Group defs and completed Arcade Physics defs
2019-02-13 14:45:36 +00:00
Richard Davey
43b4aad96c
Math typedefs
2019-02-13 14:20:51 +00:00
Richard Davey
3938675d9f
Input typedefs
2019-02-13 14:17:36 +00:00
Richard Davey
c9bdb83941
GameObject and Loader typedefs
2019-02-13 13:57:59 +00:00
Richard Davey
f62ec4a739
Config typedefs done
2019-02-13 12:58:04 +00:00
Richard Davey
70a87a576d
Some legacy instances of float
moved to number
.
2019-02-13 12:39:36 +00:00
Richard Davey
e7b1d086e7
Moving all of the typedefs to properly namespaced scopes, rather than globals
...
\o/ ~ "Someone, save me!"
2019-02-13 12:35:12 +00:00
Richard Davey
b50e1c78b5
Lots more jsdoc tweaks and improvements
2019-02-12 15:01:54 +00:00
Richard Davey
c8439393fb
Much better keycode jsdoc handling.
2019-02-12 12:51:43 +00:00
Richard Davey
4e817497d4
Namespace fixes
2019-02-12 12:48:41 +00:00
Richard Davey
dc73993fe2
Added jsdoc version numbers
2019-02-12 12:22:25 +00:00
Richard Davey
56dfdb7a74
More jsdoc global fixes
2019-02-12 12:14:26 +00:00
Richard Davey
27004061f5
Fixed jsdocs
2019-02-12 12:04:35 +00:00
Richard Davey
c85497b6c5
Fixing jsdocs
2019-02-12 11:59:31 +00:00
Richard Davey
ccaae460a4
Added jsdoc version numbers to each event
2019-02-12 11:37:58 +00:00
Richard Davey
3104246386
Merge pull request #4347 from rgk/patch-5
...
On mobile, have pointerup and pointerout get triggered together.
2019-02-10 21:17:24 +00:00
Richard Davey
62399a3aa5
Removed un-used package
2019-02-10 17:33:51 +00:00
Richard Davey
d50475045d
Added Zone.setBlendMode
method as a NOOP function, fixing a bug where if you added a Zone to a Container when running under Canvas it would fail. Fix #4295
2019-02-10 17:30:01 +00:00
Richard Davey
f3f65d1437
Refactored the game over and out handling to work with the non-legacy input system. Fix #4344
2019-02-10 17:10:13 +00:00
Richard Davey
a252225be6
Entering Fullscreen mode in the Scale Manager and then pressing ESC would leave the injected fullsceen div in the DOM, causing it to fail with a node insertion failure the second time you wanted to enter fullscreen mode. Fix #4352
2019-02-10 16:13:45 +00:00
Richard Davey
0ab61ac6de
When the Matter World creates its wall bounds, the left and right walls now extend further up and down than before, so that in a 4-wall setting there are no gaps in the corners, which previously allowed for fast moving objects that hit a corner intersection point to sometimes travel through it.
2019-02-09 16:27:20 +00:00
Richard Davey
fd8d75ab02
Refactored the Pointer Constraint to make it work more like a real pointer does, added missing events, added full jsdocs.
2019-02-09 16:02:21 +00:00
Richard Davey
7041601893
Added drag events to Pointer Constraint
2019-02-09 14:58:42 +00:00
Richard Davey
bb83f4803e
Testing Pointer events.
2019-02-08 19:46:23 +00:00
Richard Davey
5f03d2cd5e
Testing Composite.remove, instead of removeBody.
2019-02-08 19:46:13 +00:00
Richard Davey
ac1b0d8d85
Added dirty rect arguments to putData method
2019-02-08 19:45:58 +00:00
Robert Kowalski
6105c1a9b2
Emit pointerout always after pointerup on touch.
...
Now pointerout will always emit after pointerup.
2019-02-08 09:33:25 -05:00
Richard Davey
2467b624d0
Merge pull request #4350 from brian-lui/patch-1
...
Fix: Type declaration for blendMode
2019-02-08 13:37:53 +00:00
Richard Davey
550ac7a051
Bumped version number
2019-02-08 13:37:07 +00:00
Richard Davey
7fbf4152c7
Merge branch 'master' of https://github.com/photonstorm/phaser
2019-02-08 13:36:37 +00:00
Richard Davey
f121b1e416
Merge pull request #4346 from strangeweekend/doc-fix-scale-manager-in-scene
...
Added this.scale property to Scene
2019-02-08 13:35:36 +00:00
Richard Davey
6cd17618b1
Moved time to getter and fixed checkDown.
2019-02-08 13:32:54 +00:00
Richard Davey
7f91956c09
Added time property and preStep.
2019-02-08 13:32:44 +00:00
Richard Davey
f0de61961f
3.16.2
2019-02-08 13:32:34 +00:00
Richard Davey
17d56bd8ac
Moved jsdoc comment to stop weird TS module generation
2019-02-08 13:08:32 +00:00
Richard Davey
f8c4252fcb
Tweaked setTileScale arguments
2019-02-08 12:13:01 +00:00
Brian Lui
af085646eb
Fix: Type declaration for blendMode
2019-02-08 15:58:18 +08:00
Richard Davey
916a13cf9d
resetKeys doc update. Fix #4345
2019-02-07 00:31:10 +00:00
Richard Davey
05e3520048
The Mesh.setAlpha
method has been restored, even though it's empty and does nothing, to prevent runtime errors when adding a Mesh or Quad object to a Container. Fix #4338 #4343
2019-02-06 23:36:05 +00:00
Robert Kowalski
b94f655405
Only needs to be cleared once.
...
No need for the duplicate clearing of this, and quick fix.
2019-02-06 11:38:50 -05:00
Robert Kowalski
8cd8b6f98e
Stops pointerover from being triggered if pointerup has been.
...
In 3.16.1 if you trigger pointerup and then move to another button, the past buttons pointerover event gets triggered. This clears that and stops that from happening by stopping pointerover from being triggered if pointerup has been.
2019-02-06 11:27:22 -05:00
Richard Davey
b09fa3f10e
Preparing for 3.17 dev
2019-02-06 12:41:18 +00:00
Elliott Wallace
6adb88619e
Added this.scale property to Scene
2019-02-06 12:13:03 +00:00
Richard Davey
f9cb8972ab
3.16.1 (because, npm)
2019-02-05 00:49:42 +00:00
Richard Davey
81a5bbf2db
Updated jsdocs
2019-02-05 00:03:34 +00:00
Richard Davey
ba381f8e3d
Don't create a promise unless the context exists
2019-02-04 23:29:39 +00:00
Richard Davey
cfe6452924
Don't set if game is being destroyed
2019-02-04 23:29:22 +00:00
Richard Davey
4cfa29a524
Added flag to help avoid cursor reset issue
2019-02-04 23:29:10 +00:00
Richard Davey
e423e9c387
No scale mode, no expansion.
2019-02-04 22:14:16 +00:00
Richard Davey
0b4dc5f037
Should be a config setter.
2019-02-04 21:50:55 +00:00
Richard Davey
60542a25cc
Numerous jsdoc and TS related fixes
2019-02-04 17:16:08 +00:00
Richard Davey
a3b615bac5
JSDoc fixes
2019-02-04 11:49:34 +00:00
Richard Davey
d04232ae54
JSDoc fixes
2019-02-04 11:45:17 +00:00
Richard Davey
38f90ec355
Release number
2019-02-04 10:55:26 +00:00
Richard Davey
f3075fea72
Updated jsdocs
2019-02-04 10:55:09 +00:00
Richard Davey
eb9ed3463f
Lots of namespace and jsdoc fixes
2019-02-01 18:02:58 +00:00
Richard Davey
8e195838ae
Release Candidate 3
2019-01-31 14:48:59 +00:00
Richard Davey
348306cafb
Lots more jsdoc fixes and new documentation
2019-01-31 14:47:50 +00:00
Richard Davey
4f6f6ee72f
Lots of jsdoc and type fixes
2019-01-31 12:19:01 +00:00
Richard Davey
b7f99496dc
Updated function name
2019-01-31 11:27:26 +00:00
Richard Davey
404c94ac27
Fixed namespace name
2019-01-31 11:27:15 +00:00
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