Commit graph

21 commits

Author SHA1 Message Date
Richard Davey
00a3f71859 Modified camera effect durations and prevented callbacks from being overwritten 2018-03-19 23:53:03 +00:00
Richard Davey
18c327e743 Effect callbacks now pass the camera. Tidied up potential infinity divides. 2018-03-19 23:29:15 +00:00
Jeroen Reurings
ed3dc2b9b4 Added @since 3.3.0 to new callback method comments. 2018-03-19 22:25:19 +01:00
Jeroen Reurings
6ada1ec2f3 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-03-19 20:31:10 +01:00
Jeroen Reurings
a759266064 Changed default values of effect callbacks to null instead of undefined;
Removed @since JSDoc comments for newly added class methods (because it's still unknown in which version they will be added).
2018-03-19 19:38:43 +01:00
orblazer
0ca95676ba Update JSDoc on Cameras 2018-03-19 17:21:25 +01:00
Jeroen Reurings
9006f19f41 Added callbacks to Shake, Fade and Flash effects, so you don't have to use a delayed call to trigger something after an effect is completed;
Moved the shake function next to the other effect functions.
2018-03-19 16:21:48 +01:00
Richard Davey
cc0998660e Updated jsdocs 2018-03-18 13:43:37 +00:00
brandonvdongen
143d598780
fixed lint issue 2018-03-09 07:26:09 +01:00
brandonvdongen
08a02c4675 fixed camera offset when combining zoom+follow 2018-03-09 00:07:42 +01:00
Felipe Alfonso
50c79c14af Removed double rounding to pixel on rendering routines.
Fixed rounding pixel issue when camera is shaking
2018-02-19 17:38:40 -03:00
Richard Davey
ae3cd50356 Fixed jsdocs 2018-02-12 21:39:26 +00:00
Felipe Alfonso
9b2741387b Resolution affecting camera display 2018-02-12 16:03:13 -03:00
Richard Davey
d1f5f8a82b Added jsdocs 2018-02-12 16:01:21 +00:00
Richard Davey
8de078d333 Added jsdocs 2018-02-12 13:48:48 +00:00
Richard Davey
40689d1e35 Updated jsdocs. 2018-02-07 15:27:21 +00:00
Felipe Alfonso
b48c2a8173 Fixed scale issue with baseScale of camera manager 2018-01-31 21:52:48 -03:00
Felipe Alfonso
e5831138a4 baseScale added to camera manager and propagated to cameras through preRender function 2018-01-31 21:01:27 -03:00
Michael Hadley
d088889c02 Added resetFX to 2D camera 2018-01-28 11:06:37 -06:00
Richard Davey
bfddb09bf9 Updated docs and implemented destroy 2018-01-25 03:38:23 +00:00
Richard Davey
be756ed7fc Renamed folder camera to cameras and split up the contents into proper namespaces. Merged inc files back into classes. 2018-01-16 15:07:04 +00:00