Commit graph

9545 commits

Author SHA1 Message Date
Richard Davey
b5deafa92b
Merge pull request #3476 from Antriel/master
jsdoc generics fix
2018-03-30 13:47:39 +01:00
Antriel
630732f9fc jsdoc generics fix 2018-03-30 14:43:58 +02:00
Richard Davey
71045265ae The Gamepad Axis getValue method now correctly applies the threshold and zeroes out the returned value. 2018-03-30 12:33:45 +01:00
Richard Davey
88a228e226 jsdoc fix 2018-03-30 12:33:31 +01:00
Richard Davey
2540b75b88 Updated change log 2018-03-30 12:03:42 +01:00
Richard Davey
4c116c0af2 Put Fixed and Smoothed aliases back in for now 2018-03-30 12:03:25 +01:00
Richard Davey
f6167f6fcf The GamepadManager now extends EventEmitter directly, just like the KeyboardManager does. 2018-03-30 12:03:06 +01:00
Richard Davey
19f7e2589a jsdoc fix 2018-03-30 12:02:08 +01:00
Richard Davey
2d6251a1e9 Swapping to enums 2018-03-29 16:42:20 +01:00
Richard Davey
9f36b5e8b4 const / enum 2018-03-29 15:50:48 +01:00
Richard Davey
37589ffe00 jsdoc updates 2018-03-29 15:12:32 +01:00
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