Richard Davey
90096a6b64
Added mention about tint to the docs. Fix #5327
2020-09-29 09:31:09 +01:00
Richard Davey
3579d39fa2
The Camera.preRender
method no longer receives or uses the resolution
parameter.
2020-09-12 11:51:59 +01:00
Richard Davey
2d3edc9512
Use the new Pipeline Manager methods
2020-09-09 13:05:18 +01:00
Richard Davey
74bd872704
Updated version numbers
2020-04-27 14:00:47 +01:00
Richard Davey
756072b058
Merge pull request #4159 from jan1za/master
...
Added RotateTo Effect to Camera
2020-04-27 13:57:47 +01:00
Jason Kwok
293f6e77f5
Fixed this
return types for Phaser.Cameras.Scene2D.Camera
2020-01-30 23:05:56 +08:00
Richard Davey
91dbd42d44
Camera.renderToGame
is a new property used in conjunction with renderToTexture
. It controls if the Camera should still render to the Game canvas after rendering to its own texture or not. By default, it will render to both, but you can now toggle this at run-time.
2020-01-27 23:35:39 +00:00
Richard Davey
ff65e69cd1
Changed copyright date to 2020
2020-01-15 12:07:09 +00:00
J.C
ddae8f97fc
fix intensity
type
2019-08-01 16:15:52 +08:00
samme
0530fb2b56
Abort clearRenderToTexture() for missing renderer
2019-06-29 13:39:42 -07:00
Richard Davey
c91ed91ce3
License link update
2019-05-10 16:15:04 +01:00
Richard Davey
a6341a97a8
Fixed Types references
2019-05-09 15:32:53 +01:00
Richard Davey
40b325accf
A Camera will pause following a Game Object for the duration of the Camera Pan Effect, as the two will clash over the Camera scroll position
2019-05-02 10:51:46 +01:00
Richard Davey
61011d3ae9
Camera.clearRenderToTexture
will check to see if the Scene is available before proceeding, avoiding potential errors when a Camera is destroyed multiple times during a Scene shutdown.
2019-04-24 11:46:31 +01:00
Richard Davey
f4a68404fc
lint fix
2019-04-08 11:01:21 +01:00
Richard Davey
ddd1cec3da
Merge pull request #4326 from snowbillr/patch-1
...
2d Camera startFollow should respect useBounds
2019-04-08 10:57:59 +01:00
Bill Reed
1293e427dd
Use correct values in clamp calls.
2019-04-05 16:50:51 -04:00
Jason Nicholls
b3f847d09b
Merge remote-tracking branch 'upstream/master'
2019-03-10 13:47:29 +02:00
Bill Reed
22f14ed6dc
fix bug where scrollX and scrollY wouldn't be set
2019-03-09 13:34:07 -05:00
Richard Davey
31b14156de
Fixed event name
2019-02-13 16:55:52 +00:00
Richard Davey
4f6f6ee72f
Lots of jsdoc and type fixes
2019-01-31 12:19:01 +00:00
Bill Reed
0c12d836a2
2d Camera startFollow should respect useBounds
...
It was possible for the 2d camera's `startFollow` method to set the `scrollX` and `scrollY` values out of the camera's bounds, even when `useBounds` was set to true.
This PR ensures that `useBounds` is respected by the `startFollow` method when setting the `scrollX` and `scrollY` values.
Question - should this check also happen when setting the `midpoint` with the `fx` and `fy` values?
2019-01-27 16:01:34 -05:00
Richard Davey
5ef7d18ead
Merged itrs to single call
2019-01-22 14:46:17 +00:00
Richard Davey
36d86abd48
Added Camera Fade and Game Object Destroy events.
2019-01-18 14:21:45 +00:00
Richard Davey
aa341854c7
Happy New Year
2019-01-15 16:20:22 +00:00
Richard Davey
99b5cf90dc
Cameras now factor in the resolution to their transforms
2019-01-10 13:41:07 +00:00
iam13islucky
c98f7b7363
Typo - Zoom.js Pan.js Camera.js docs refer to wrong effects
2019-01-06 14:04:38 -07:00
Jason
ada7fbc990
Added RotateTo Effect to Camera
2018-11-11 18:33:30 +02:00
Richard Davey
4b1c762296
Updated @memberOf to @memberof
2018-10-10 10:49:13 +01:00
Richard Davey
4c6b2cc183
Fixed destroy order
2018-09-14 18:03:51 +01:00
Richard Davey
5ec26fa62d
Cameras now emit prerender
and postrender
events if they are set to render to textures.
2018-09-14 15:53:06 +01:00
Richard Davey
b9318826eb
Added jsdocs, setPipeline and clearRenderToTexture methods
2018-09-14 14:03:37 +01:00
Richard Davey
cb1c6f614d
Preparing for 3.12 release
2018-09-04 15:42:10 +01:00
Richard Davey
0b95ed0478
Fixed scissors when using a small cam with render texture
2018-08-31 16:25:04 +01:00
Richard Davey
eaeab041ee
Added render to texture docs
2018-08-23 18:10:55 +01:00
Richard Davey
66afe973af
Trying mixins
2018-08-08 01:33:55 +01:00
Richard Davey
3a4bfa679b
Added experimental Camera to Render Texture
2018-08-07 16:27:21 +01:00
Richard Davey
9675c269e6
Split Camera up into BaseCamera, which Camera now extends.
2018-08-04 13:05:41 +01:00
Richard Davey
4bdecf488b
jsdocs tweaks
2018-07-26 23:41:52 +01:00
Richard Davey
1a62a3563e
Added refs to config and Scene Manager and new customViewport bool
2018-07-26 23:04:53 +01:00
Richard Davey
25e4993e6f
Added x and y getters and new scaled viewport values
2018-07-18 14:32:47 +01:00
Richard Davey
16d597c983
Fixed jsdoc references
2018-07-17 11:43:09 +01:00
Richard Davey
646861425f
Added Camera.worldView
property and adjusted it to the correct values each frame.
2018-07-12 15:08:29 +01:00
Richard Davey
072cc0e21b
Added dirty Camera support and updated internal properties to set the flag
2018-07-12 01:13:34 +01:00
Richard Davey
7a23378015
Unified use of roundPixels, antialias and pixelArt modes
2018-06-27 15:15:00 +01:00
Richard Davey
a6ab61dd99
Fixed id use
2018-06-27 13:16:11 +01:00
Richard Davey
7aa46657c2
Tidying up jsdocs and changing float to number
2018-06-26 23:19:14 +01:00
Richard Davey
237368161b
Added Camera.setAlpha method
2018-06-25 16:31:54 +01:00
Richard Davey
51468fdefc
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-06-25 16:25:42 +01:00
Richard Davey
6dff47b71d
Added Camera.alpha property
2018-06-25 16:11:09 +01:00