Commit graph

8049 commits

Author SHA1 Message Date
Richard Davey
2cdb672d36 Added new Text Padding typedef 2019-06-05 23:40:27 +01:00
Richard Davey
2446e2f3fc Setting padding in a Text style configuration object would cause an error about calling split on undefined. Padding can now be applied both in the config and via setPadding 2019-06-05 23:40:10 +01:00
Richard Davey
458c592596 Changing the radius of an Arc Game Object wouldn't update the size, causing origin issues. It now updates the size and origin correctly in WebGL. Fix #4542 2019-06-05 23:02:59 +01:00
Richard Davey
515adc737d Fixed typo 2019-06-05 22:48:22 +01:00
Richard Davey
ab17888c18
Merge pull request #4577 from samme/feature/group-name
Add Group#name
2019-06-05 22:45:58 +01:00
Richard Davey
3947fe38cf
Merge pull request #4576 from samme/fix/StaticBody-drawDebug
Use defaultStrokeWidth in drawDebug()
2019-06-05 22:43:39 +01:00
Richard Davey
9327351e86 Added deltaX, Y, Z and wheel method. 2019-06-05 15:31:25 +01:00
Richard Davey
98be6adfda Native support for wheel events 2019-06-05 15:31:13 +01:00
Richard Davey
62cb5c68a8 Added 3 new Wheel input events 2019-06-05 15:30:54 +01:00
Richard Davey
700c9daaa1 New input const (and changed order to be numeric order) 2019-06-05 15:30:42 +01:00
Richard Davey
8968b2179c Added GameObject.scale transform property for a unified scale setter 2019-06-05 15:30:23 +01:00
Richard Davey
af3efc9e2f Added more docs to make #4575 clearer 2019-06-05 14:08:01 +01:00
samme
6a2c476557 Use defaultStrokeWidth in drawDebug() 2019-06-04 13:27:02 -07:00
Richard Davey
12bcda98a6 Added support for a desynchronized context and alpha support in 2D 2019-06-04 19:13:49 +01:00
Richard Davey
4ed0f90bf7 Merged touch handler methods into one 2019-06-04 18:54:35 +01:00
Richard Davey
befbc788a3 Added new TouchCancelWindow handler 2019-06-04 18:54:00 +01:00
Richard Davey
15654be545 update motion automatically 2019-06-04 18:53:48 +01:00
Richard Davey
d82b46c4d2 Updates TS Parser to handle Function[]
Fix #4522
2019-06-04 18:14:58 +01:00
samme
04384f78a6 Add Group#name 2019-06-04 09:33:08 -07:00
Richard Davey
558f6aea55 JSDoc fixes 2019-06-04 16:01:37 +01:00
Richard Davey
7f2feea4ae All the touch handlers now store the full TouchEvent, not just the Touch List entry 2019-06-04 15:46:16 +01:00
Richard Davey
bf48c53103 Added new over and out handlers for touch events 2019-06-04 15:43:02 +01:00
Richard Davey
9b93ad9985 Removed changed pointers IIFE and un-needed method methods 2019-06-04 15:40:05 +01:00
samme
d9ecd70f59 Add TimelineBuilderConfig type and callbacks 2019-06-03 12:12:01 -07:00
samme
3ebd1839eb Docs for Tween 2019-06-03 12:09:04 -07:00
samme
0306aab176 Docs for Timeline 2019-06-03 12:08:45 -07:00
Richard Davey
77626d854d
Merge pull request #4568 from samme/types/tween-configs-2
Add types for tween `props` configs
2019-06-02 14:06:58 +01:00
samme
d3407c5e44 Add EmitterOpOnEmitType and EmitterOpOnUpdateType
Also some corrections in ParticleEmitterConfig docs
2019-06-01 13:33:06 -07:00
samme
8410f6b131 Add types for tween props configs 2019-06-01 10:24:15 -07:00
Richard Davey
17ad54b35b You can pass in a Body for a Matter Game Object to use 2019-06-01 10:53:05 +01:00
Richard Davey
63ead0cbc1 Added Matter.bodies 2019-05-31 19:42:49 +01:00
Richard Davey
a67d0ab3c3
Merge pull request #4565 from samme/types/tween-configs-ease
Correct types for NumberTweenBuilderConfig.ease and TweenBuilderConfig.ease
2019-05-31 11:46:39 +01:00
samme
8f2e774c4b Correct ease type 2019-05-30 16:11:34 -07:00
Richard Davey
278bde236b lint fix 2019-05-30 23:05:06 +01:00
Richard Davey
ec6bbdeebd Added typedefs for the Text Game Object. Fix #4551 2019-05-30 23:01:53 +01:00
Richard Davey
a7fbd0bcfe
Merge pull request #4545 from samme/feature/warn-for-missing-plugin-in-boot
Warn when plugin entry is missing `plugin` property
2019-05-30 22:29:39 +01:00
Richard Davey
114b7b570d
Merge pull request #4552 from rexrainbow/master
Set canvas size equal to text object size
2019-05-30 22:24:51 +01:00
Richard Davey
5b85cd49a7
Merge pull request #4547 from Nallebeorn/master
JSDoc: Make createDynamicLayer() position optional
2019-05-30 22:14:25 +01:00
Richard Davey
897de33a64
Merge pull request #4554 from samme/types/group-classType
Remove GroupClassTypeConstructor type
2019-05-30 22:05:55 +01:00
Richard Davey
90e04c7e90
Merge pull request #4563 from samme/types/tween-configs
Add types for tween configs
2019-05-30 22:00:37 +01:00
samme
7a98fe6d8a Add tween callbacks 2019-05-29 11:42:19 -07:00
samme
d6b3141b8b Add the remaining tween config properties 2019-05-29 10:45:55 -07:00
samme
a1e8668aee Extra properties for tween configs 2019-05-29 10:42:30 -07:00
Richard Davey
df0b474638 Added getTopCenter, getBottomCenter, getLeftCenter and getRightCenter 2019-05-29 16:27:31 +01:00
Richard Davey
09318530a4 Matter.Factory.fromVertices can now take a vertices path string as its vertexSets argument, as well as an array of vertices. 2019-05-29 14:50:57 +01:00
samme
777f436aa3 Add NumberTweenBuilderConfig to path configs 2019-05-28 14:11:28 -07:00
samme
7125334677 Duration is optional 2019-05-28 14:08:03 -07:00
Richard Davey
78d15b0b0f Fixed arguments 2019-05-28 21:41:04 +01:00
Richard Davey
3c52a3b27a Pass the pointers array in directly, no need to iterate them all every time 2019-05-28 21:31:54 +01:00
samme
5018061751 Add NumberTweenBuilderConfig type 2019-05-28 13:13:39 -07:00