Richard Davey
|
c6c9b25fdc
|
Camera.alpha (and its related method Camera.setAlpha ) allows you to get an alpha level for the entire camera. This impacts everything it is rendering, even if those objects also have their own alpha values too. You can tween the property to make the camera contents fade in / out, or you can set it as needed in your game.
|
2018-06-25 17:35:36 +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
|
90ba2608fa
|
Added in Camera alpha support to all canvas renderers
|
2018-06-25 16:24:08 +01:00 |
|
Richard Davey
|
6dff47b71d
|
Added Camera.alpha property
|
2018-06-25 16:11:09 +01:00 |
|
Richard Davey
|
d20188b75d
|
Removed camera pool, renamed current ID and added accessor properties
|
2018-06-25 16:10:50 +01:00 |
|
Richard Davey
|
0c55745206
|
Updated log
|
2018-06-25 16:06:31 +01:00 |
|
Richard Davey
|
98b1cc2dbc
|
Although the Blitter object had the Alpha component, setting it made no difference. Setting Blitter alpha now impacts the rendering of all children, in both Canvas and WebGL, and you can also specify an alpha per Bob as well.
|
2018-06-25 16:06:22 +01:00 |
|
Richard Davey
|
bcacfeb87c
|
Bob.alpha was ignored by the canvas renderer, only working in WebGL. This has now been fixed.
|
2018-06-25 15:59:01 +01:00 |
|
Richard Davey
|
9a96785cf6
|
If the Blitter object has no Bob's to render it will now abort immediately, avoiding several context calls in Canvas mode.
|
2018-06-25 15:38:06 +01:00 |
|
Chris Andrew
|
3b3005926a
|
Updated change log.
|
2018-06-24 00:55:57 +01:00 |
|
Craig Whiteside
|
375b1f8f18
|
Pulled out calculation for tile pixel position amended with tilemapLayer position
|
2018-06-23 21:20:54 +01:00 |
|
samme
|
bc2212c87d
|
Add ParticleEmitter#stop()
|
2018-06-23 12:51:16 -07:00 |
|
Craig Whiteside
|
ac82e39314
|
Fix whitespace
|
2018-06-23 16:40:19 +01:00 |
|
Craig Whiteside
|
86f1cbcabf
|
Made it more specific to the tile offset.
|
2018-06-23 16:34:45 +01:00 |
|
Craig Whiteside
|
a73e47e508
|
Account for position of tilemapLayer when culling tiles
|
2018-06-23 16:28:45 +01:00 |
|
Richard Davey
|
6df877cfa3
|
Docs update
|
2018-06-23 12:33:20 +01:00 |
|
Richard Davey
|
e53f61d068
|
CameraManager.resetAll now destroys all current Cameras, resets the camera ID marker to 1 and adds a single new Camera.
|
2018-06-23 12:33:10 +01:00 |
|
Richard Davey
|
5a0fe89a7e
|
Swap _id to id
|
2018-06-23 12:26:39 +01:00 |
|
Richard Davey
|
932737343b
|
Added centerOn argument to setBounds and bumped Camera id to be public
|
2018-06-23 12:18:44 +01:00 |
|
Chris Andrew
|
173bbebbb8
|
Merge pull request #3747 from rook2pawn/queueOp-in-run
[fix] sceneManager .run will queueOp if scene not ready
|
2018-06-22 12:02:15 +01:00 |
|
rook2pawn
|
b040146b4a
|
simplified logic on queueOp starting an unready scene
|
2018-06-22 03:55:21 -07:00 |
|
rook2pawn
|
dd53268a23
|
removed superfluous queue stop
|
2018-06-22 03:37:14 -07:00 |
|
rook2pawn
|
c09b4baf16
|
[fix] sceneManager run will queueOp if scene not ready
fixed linting
|
2018-06-22 03:37:14 -07:00 |
|
rook2pawn
|
44a0813591
|
[feat] scene.run can now pass data to .wake and .resume if it needs to invoke those methods
update javadoc for scene and scene systems
|
2018-06-22 03:32:17 -07:00 |
|
Chris Andrew
|
734c0115f9
|
Documented Geom CopyFrom functions and some Point functions.
Documented one remaining Ellipse ContainsRect parameter.
|
2018-06-21 18:42:40 +01:00 |
|
Chris Andrew
|
2388707379
|
Fixed lint error. Minor documentation fix in 2D camera.
|
2018-06-21 18:17:00 +01:00 |
|
Chris Andrew
|
c2bfc52987
|
Documented the majority of the Geom Line functions.
|
2018-06-21 18:13:56 +01:00 |
|
Richard Davey
|
53cf7d847b
|
Fixed Pan so it updates constantly, allowing Pan + Zoom together
|
2018-06-21 17:56:27 +01:00 |
|
Richard Davey
|
f4f9a98ac1
|
Added Camera Zoom Effect
|
2018-06-21 17:48:11 +01:00 |
|
Richard Davey
|
ec168c4b9b
|
Removed dead code and added jsdocs
|
2018-06-21 17:19:58 +01:00 |
|
Richard Davey
|
3ece90ad75
|
Added Camera.getScroll and the new Pan Effect
|
2018-06-21 17:15:43 +01:00 |
|
Richard Davey
|
53c093ec00
|
Merge branch 'master' of https://github.com/photonstorm/phaser
|
2018-06-21 15:55:00 +01:00 |
|
Richard Davey
|
472df6a7be
|
Camera.centerOn is a new method that will move the camera so its viewport is centered on the given coordinates. A handy way of jumping to different points around a map without needing to calculate the scroll offsets.
|
2018-06-21 15:54:54 +01:00 |
|
Chris Andrew
|
6854ccb764
|
Cleaned up some remaining GameObject descriptions.
|
2018-06-21 14:18:28 +01:00 |
|
Chris Andrew
|
978f982c26
|
Documented the remaining ParticleEmitter Zone classes.
|
2018-06-21 14:12:47 +01:00 |
|
Richard Davey
|
583d464230
|
Merge branch 'master' of https://github.com/photonstorm/phaser
|
2018-06-21 14:03:35 +01:00 |
|
Richard Davey
|
2ff6845360
|
Camera.centerToBounds didn't take the bounds offset into account, so bounds at non-zero positions wouldn't center properly. All bounds now center correctly. Fix #3706
|
2018-06-21 14:03:31 +01:00 |
|
Chris Andrew
|
4b5ab4e217
|
Documented most of the remaining PathFollower descriptions.
|
2018-06-21 13:19:52 +01:00 |
|
TadejZupancic
|
5859979c96
|
Update GameObject.js
|
2018-06-21 14:07:18 +02:00 |
|
Chris Andrew
|
df88218534
|
Finished up EmitterOp method descriptions.
Finally!
|
2018-06-21 12:47:29 +01:00 |
|
Richard Davey
|
3e3b0d6397
|
Fixed issue where negative camera bounds wouldn't clamp properly
|
2018-06-21 12:33:20 +01:00 |
|
Richard Davey
|
c02c9cf2da
|
Fixed camera bounds when bounds are smaller than the viewport
|
2018-06-21 02:32:24 +01:00 |
|
Richard Davey
|
0b3392fab4
|
Fixed Camera roundPixels stuttering
|
2018-06-21 01:59:12 +01:00 |
|
Richard Davey
|
2c8c4c7a16
|
Bob.setFrame didn't actually set the frame on the Bob, now it does. Fix #3774
|
2018-06-20 19:33:59 +01:00 |
|
Richard Davey
|
8fadf99c85
|
Updated change log
|
2018-06-20 17:52:23 +01:00 |
|
Richard Davey
|
f8ca5e1f6f
|
Merge branch 'master' of https://github.com/photonstorm/phaser
|
2018-06-20 17:42:23 +01:00 |
|
Richard Davey
|
99eb565520
|
Fixed camera bounds with zoom issue and added new displayWidth / displayHeight properties
|
2018-06-20 17:42:20 +01:00 |
|
Chris Andrew
|
7f232b6bed
|
Further EmitterOp documentation.
|
2018-06-20 17:18:03 +01:00 |
|
Chris Andrew
|
584e8f9919
|
Started documenting the EmitterOp class.
|
2018-06-20 16:18:00 +01:00 |
|