Commit graph

9534 commits

Author SHA1 Message Date
Richard Davey
cef9050627 jsdoc fixes 2018-03-29 14:53:06 +01:00
Richard Davey
d5fd3e20d9 Renamed namespace 2018-03-29 14:24:51 +01:00
Richard Davey
ce75947dac Swap to module 2018-03-29 14:02:25 +01:00
Richard Davey
e7191e9d8e jsdoc updates 2018-03-29 13:48:14 +01:00
Richard Davey
f5373b2dee jsdoc fixes 2018-03-29 13:23:44 +01:00
Richard Davey
4ddd9d2e8c Merge branch 'master' of https://github.com/photonstorm/phaser 2018-03-29 13:12:12 +01:00
Richard Davey
91008232ad jsdoc fixes 2018-03-29 13:12:07 +01:00
Richard Davey
562344fed0 The ComputedSize Component now has setSize and setDisplaySize methods. This component is used for Game Objects that have a non-texture based size. 2018-03-29 12:55:28 +01:00
Richard Davey
fba8183d94 Fixed docs order 2018-03-29 12:54:33 +01:00
Richard Davey
aec64c635e Removed floats 2018-03-29 12:54:12 +01:00
Richard Davey
50e55cd0b9
Merge pull request #3469 from orblazer/fix-generic
Fix usage of @genericUse
2018-03-29 12:52:13 +01:00
orblazer
e10a10b3b1 Fix usage of @genericUse 2018-03-29 12:58:18 +02:00
Richard Davey
fc3087bcf3
Merge pull request #3467 from orblazer/patch-1
Remove unused import
2018-03-29 01:28:38 +01:00
orblazer
1f5c5b1f77
Remove unused import 2018-03-28 21:30:03 +02:00
Richard Davey
88b02a5e35 Renamed the Camera Controls module exports for Fixed to FixedKeyControl and Smoothed to SmoothedKeyControl to match the class names. Fix #3463 2018-03-28 16:24:06 +01:00
Richard Davey
06998276ec Removed stict mode warning 2018-03-28 16:00:19 +01:00
Richard Davey
f1e646c9ee jsdoc fixes 2018-03-28 15:39:57 +01:00
Richard Davey
747f09af86 jsdoc fixes 2018-03-28 15:04:09 +01:00
Richard Davey
2b533d9870 Renamed file 2018-03-28 15:03:54 +01:00
Richard Davey
c5787cc45f Updated packages 2018-03-28 14:15:40 +01:00
Richard Davey
2096729095 Missing require 2018-03-28 14:15:32 +01:00
Richard Davey
2868b8b588 Added new chainable methods: setRate, setMute, setVolume, setSeek, setDune 2018-03-28 14:14:07 +01:00
Richard Davey
cfab72aef4 Tidying up formatting 2018-03-28 14:13:40 +01:00
Richard Davey
ff9dfc1f9d Fixed event names 2018-03-28 14:13:30 +01:00
Richard Davey
a76b9a1827 BaseSoundManager.rate and BaseSoundManager.detune would incorrectly called setRate on its sounds, instead of calculateRate. 2018-03-28 14:12:37 +01:00
Richard Davey
dcbc81e6b2 Remove un-used properties and setters 2018-03-28 14:12:16 +01:00
Richard Davey
15c4334dc7 jsdoc fixes 2018-03-28 14:11:46 +01:00
Richard Davey
f10efda8f0 font is non-optional, so removed coordinates as optional 2018-03-28 12:05:03 +01:00
Richard Davey
2a2ba91eed
Merge pull request #3461 from orblazer/genericTypes
Fix many types and add many generics type
2018-03-28 11:53:12 +01:00
Richard Davey
a33969391c npm. no proper messaging. 2018-03-27 18:40:26 +01:00
Richard Davey
d057c32246 npm i npm 2018-03-27 17:28:55 +01:00
Richard Davey
d0fc334225 Swapped to 3.4.0 because of public-facing API changes 2018-03-27 15:15:22 +01:00
Richard Davey
e7a1e3190a Matter Physics timestep adjustments (getDelta, step, set60Hz, etc)
* Matter Physics now has a new config property `getDelta` which allows you to specify your own function to calculate the delta value given to the Matter Engine when it updates.
* Matter Physics has two new methods: `set60Hz` and `set30Hz` which will set an Engine update rate of 60Hz and 30Hz respectively. 60Hz being the default.
* Matter Physics has a new config and run-time property `autoUpdate`, which defaults to `true`. When enabled the Matter Engine will update in sync with the game step (set by Request Animation Frame). The delta value given to Matter is now controlled by the `getDelta` function.
* Matter Physics has a new method `step` which manually advances the physics simulation by one iteration, using whatever delta and correction values you pass in to it. When used in combination with `autoUpdate=false` you can now explicitly control the update frequency of the physics simulation and unbind it from the game step.
2018-03-27 15:15:05 +01:00
orblazer
d0e1320cbe Add generic types and fix types on Input and Structs 2018-03-27 15:59:49 +02:00
orblazer
e9e16a7b10 Add generic types on Geom 2018-03-27 15:27:08 +02:00
orblazer
ae0b3b841b Fix types on GameObjects 2018-03-27 14:52:58 +02:00
orblazer
b1d83188ef Add generic type and fix types on Data and Display 2018-03-27 14:19:42 +02:00
orblazer
1ded1d12a8 Fix types and add generic in Curves 2018-03-27 14:06:24 +02:00
orblazer
7a33233013 Fix types in Cache and Cameras 2018-03-27 13:51:45 +02:00
orblazer
0d58832e5f Fix types on Animations and Boot 2018-03-27 13:30:00 +02:00
orblazer
bdf373b6e8 Add generic type on Actions 2018-03-27 13:14:08 +02:00
Richard Davey
1f44366bc7 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-03-27 01:09:34 +01:00
Richard Davey
933e193ccf Group.destroy has a new optional argument destroyChildren which will automatically call destroy on all children of a Group if set to true (the default is false, hence it doesn't change the public API). Fix #3246 2018-03-27 01:09:30 +01:00
Richard Davey
3aa95b4f20 Formatting fix. 2018-03-27 01:09:23 +01:00
Richard Davey
25cbb320a5
Merge pull request #3453 from orblazer/genericTypes
Change structs for generic types
2018-03-27 00:37:34 +01:00
Richard Davey
72eca92e4d
Merge pull request #3448 from jamierocks/no-eval
Remove string-generated Functions for CSP policies
2018-03-27 00:08:44 +01:00
Richard Davey
33edbfcefe
Merge pull request #3457 from samid737/master
Fix: PathFollower.setPath was still using PathFollower.start instead of PathFollower.startFollow
2018-03-26 23:49:09 +01:00
Richard Davey
f74f733576 Just because. 2018-03-26 23:17:06 +01:00
Samid\Sami
74d43b2707 update changelog 2018-03-25 10:51:47 +02:00
Samid\Sami
20b9930335 Fix calling non existing start() instead of startFollow() in setPath(config) 2018-03-25 10:44:24 +02:00