Richard Davey
|
33253a7469
|
Fixed version numbers and JSDocs. #5274
|
2020-12-14 10:11:30 +00:00 |
|
Richard Davey
|
dde5b250e3
|
Merge pull request #5274 from pi-kei/sound-panning
Add ability to pan sounds
|
2020-12-14 10:00:33 +00:00 |
|
Richard Davey
|
1d58620e35
|
Don't render debug if not orthogonal #5447
|
2020-12-14 09:48:29 +00:00 |
|
Richard Davey
|
f5376b20a4
|
BitmapText Drop Shadow working. Fix #5446
|
2020-12-14 09:34:32 +00:00 |
|
Richard Davey
|
5a532da7bf
|
Disable scissor before clearing.
|
2020-12-14 09:08:28 +00:00 |
|
Richard Davey
|
c83622d349
|
Always return polygon, even if points <= 2.
|
2020-12-14 09:03:35 +00:00 |
|
Richard Davey
|
0cd192eec8
|
Swapped for Color component. Fix #5435
|
2020-12-11 15:56:21 +00:00 |
|
Richard Davey
|
1a65f50a25
|
Added new renderDirect hook which RenderTexture can use. Fix #5431
|
2020-12-11 13:40:53 +00:00 |
|
Richard Davey
|
166c333d13
|
Should rebind shaders too
|
2020-12-11 12:41:48 +00:00 |
|
Richard Davey
|
ab1646c2a0
|
Update BaseCamera.js
|
2020-12-11 12:41:35 +00:00 |
|
Richard Davey
|
9412a93fdb
|
Remove log
|
2020-12-11 11:46:28 +00:00 |
|
Richard Davey
|
59e89fa788
|
All Game Objects will now listen for ADDED_TO_SCENE and REMOVED_FROM_SCENE events and call the handlers. Therefore, removed GO specific implementations.
|
2020-12-11 11:44:21 +00:00 |
|
Richard Davey
|
519afd031b
|
Fixed Camera Fade Effect check. Fix #5438
|
2020-12-11 11:29:16 +00:00 |
|
Richard Davey
|
32440cb238
|
Defaults to renderer aspect ratio to help with issues like #5444
|
2020-12-11 11:05:47 +00:00 |
|
Richard Davey
|
69f4a6d8fb
|
Added getAspectRatio method
|
2020-12-11 11:05:20 +00:00 |
|
Richard Davey
|
e4be6dbc90
|
Fixed JSDocs and removed unused method
|
2020-12-11 10:33:53 +00:00 |
|
Richard Davey
|
11990bccb4
|
Added global projection matrix back and removed events
|
2020-12-11 10:26:15 +00:00 |
|
Richard Davey
|
0d67548343
|
Compare projection matrix with renderer
|
2020-12-11 10:24:47 +00:00 |
|
Richard Davey
|
8839007e0f
|
Update the projection matrix on bind
|
2020-12-11 10:24:27 +00:00 |
|
Richard Davey
|
dbae58368d
|
Removed event as no longer required
|
2020-12-11 10:24:15 +00:00 |
|
Richard Davey
|
27da1dfa4b
|
Clear just the color buffer
|
2020-12-11 10:24:05 +00:00 |
|
Richard Davey
|
1857c3f2da
|
Send dimensions and reset scissors
|
2020-12-10 18:07:41 +00:00 |
|
Richard Davey
|
7acbd816f3
|
Added new Projection Update event and respond to it
|
2020-12-10 18:07:25 +00:00 |
|
Richard Davey
|
4f5cedde03
|
Better method name. Reset once done.
|
2020-12-10 16:58:34 +00:00 |
|
Richard Davey
|
f1dbea4ead
|
beginCapture can accept dimensions. Reset scissor enables even if same size. Always set drawing height.
|
2020-12-10 16:55:00 +00:00 |
|
Richard Davey
|
21b968363c
|
Don't resize if already same size. Better binding handling.
|
2020-12-10 16:53:48 +00:00 |
|
Richard Davey
|
2be3b7aa59
|
Fixed typos
|
2020-12-10 16:53:26 +00:00 |
|
Richard Davey
|
73a0c9d2ce
|
Remove unused code
|
2020-12-09 18:04:53 +00:00 |
|
Richard Davey
|
e03c514b03
|
Fixed WebGL erase mode
|
2020-12-09 15:55:11 +00:00 |
|
Richard Davey
|
197aa9df0f
|
Update WebGLRenderer.js
|
2020-12-09 15:55:02 +00:00 |
|
Richard Davey
|
edbef4a04a
|
Added eraseMode parameter
|
2020-12-09 15:54:56 +00:00 |
|
Richard Davey
|
16d4d11939
|
Final fixes to blitFrame
|
2020-12-09 15:20:09 +00:00 |
|
Richard Davey
|
1cb6d525be
|
New blitFrame working. Now to adjust when src > target height.
|
2020-12-09 14:08:24 +00:00 |
|
Richard Davey
|
daadb7d5b6
|
Fixed way in which custom vertices are defined in the config
|
2020-12-09 12:18:16 +00:00 |
|
Richard Davey
|
827851d02c
|
Update RenderTexture.js
|
2020-12-08 17:54:37 +00:00 |
|
Richard Davey
|
0c4eec0fd9
|
Now using new Render Target approach (texture blend still need to be added)
|
2020-12-08 17:38:42 +00:00 |
|
Richard Davey
|
54e306fe3e
|
Added setProjectionMatrix and all of the new pipeline events
|
2020-12-08 17:38:19 +00:00 |
|
Richard Davey
|
5f279bf4a4
|
Added RenderTarget, begingCapture, endCapture, resetScissor and resetViewport
|
2020-12-08 17:37:59 +00:00 |
|
Richard Davey
|
f93c3ea05f
|
Added Pipeline events
|
2020-12-08 16:15:46 +00:00 |
|
Richard Davey
|
f18d615b40
|
Update SpriteWebGLRenderer.js
|
2020-12-08 16:15:16 +00:00 |
|
Richard Davey
|
c2bce98532
|
Added copyFrameRect method
|
2020-12-08 16:15:06 +00:00 |
|
Richard Davey
|
cb71fe35cd
|
Fixed name #5432
|
2020-12-07 17:10:25 +00:00 |
|
Richard Davey
|
3154bf2e6f
|
Update Container.js
|
2020-12-07 13:11:49 +00:00 |
|
Richard Davey
|
79d252589f
|
Update Rope.js
|
2020-12-07 13:09:45 +00:00 |
|
Richard Davey
|
7dba1c4b2f
|
Update BaseCamera.js
|
2020-12-07 13:09:12 +00:00 |
|
Richard Davey
|
607fb6ff7c
|
Make docs crystal clear
|
2020-12-07 12:25:57 +00:00 |
|
Richard Davey
|
d6d5c09552
|
The Shader Game Object now supports being able to use a Render Texture as a sampler2D texture on the shader. Fix #5423
|
2020-12-07 12:19:42 +00:00 |
|
Richard Davey
|
15a6f50d2c
|
Fixed functions not appearing in the namespace. Fix #5432
|
2020-12-07 10:11:47 +00:00 |
|
Richard Davey
|
0951a1d2ea
|
Fixed tint property. Fix #5433
|
2020-12-07 09:42:21 +00:00 |
|
Richard Davey
|
402e6d23b1
|
Testing making the pipeline responsible for setting the buffer to cut down on potential points of failure
|
2020-12-04 18:06:16 +00:00 |
|
Richard Davey
|
c6489cf730
|
Remove un-used shader
|
2020-12-04 15:29:55 +00:00 |
|
Richard Davey
|
08b304372c
|
Made the Render Events global, not WebGL specific and allowed Canvas Renderer to emit them too
|
2020-12-04 15:07:26 +00:00 |
|
Richard Davey
|
682a85c683
|
Preparing for beta 13
|
2020-12-04 13:50:02 +00:00 |
|
Richard Davey
|
509fbcae44
|
Update PipelineManager.js
|
2020-12-04 13:40:32 +00:00 |
|
Richard Davey
|
725271249f
|
No tileset? Continue the loop.
|
2020-12-04 13:07:14 +00:00 |
|
Richard Davey
|
e2ccfffd3b
|
Split up the classes to avoid plugin issues. Fix #5420
|
2020-12-04 13:04:48 +00:00 |
|
Richard Davey
|
a7f246a241
|
Swap queue order
|
2020-12-04 12:55:26 +00:00 |
|
Richard Davey
|
e0ae7ef14e
|
Update TransformMatrix.js
|
2020-12-04 12:00:31 +00:00 |
|
Richard Davey
|
dab806e371
|
Can use same matrix
|
2020-12-04 12:00:23 +00:00 |
|
Richard Davey
|
edc076674e
|
New Resize handler. Fix #5412
|
2020-12-04 11:59:47 +00:00 |
|
Richard Davey
|
4d872e2e9d
|
RenderTexture.erase has never worked when using the Canvas Renderer and a texture frame, only with Game Objects. It now works with both. Fix #5422
|
2020-12-03 15:46:26 +00:00 |
|
Richard Davey
|
6bb6ff8ef4
|
Updated JSDocs to clarify issue. Fix #4692
|
2020-12-03 15:14:34 +00:00 |
|
Richard Davey
|
077d53309b
|
BitmapMask would become corrupted when resizing the Phaser Game, either via the Scale Manager or directly, because the framebuffer and texture it used for rendering was still at the old dimensions. The BitmapMask now listens for the Renderer RESIZE event and re-creates itself accordingly. Fix #5399
|
2020-12-03 15:06:54 +00:00 |
|
Richard Davey
|
38b6d83462
|
Fixed Canvas Alpha RenderTexture issue. Fix #5426
|
2020-12-03 14:48:21 +00:00 |
|
Richard Davey
|
8ff62d40af
|
Moved event emitter. Fix #5427
|
2020-12-03 14:34:32 +00:00 |
|
Richard Davey
|
0d6d7848cd
|
No need for dirty property
|
2020-12-03 14:31:54 +00:00 |
|
Richard Davey
|
82c1ea87da
|
Reset the projection matrix to avoid cache by reference errors. Fix #5425
|
2020-12-03 14:31:45 +00:00 |
|
Richard Davey
|
3344fc12bf
|
Added resetUniform method
|
2020-12-03 14:31:21 +00:00 |
|
Richard Davey
|
103b91a69d
|
Add attenuation parameter and fixed color divisor
|
2020-12-03 12:52:36 +00:00 |
|
Richard Davey
|
d2b8f0b7e4
|
Factor in Camera Zoom to radius
|
2020-12-03 12:52:12 +00:00 |
|
Richard Davey
|
8174ec2daf
|
Fixed light distance and max test
|
2020-12-03 11:11:41 +00:00 |
|
Richard Davey
|
4d7435f468
|
Update LightPipeline.js
|
2020-12-03 11:11:30 +00:00 |
|
Richard Davey
|
97d9cc6fb9
|
Create 1 shader per light count. Avoids all pointless iteration within the shaders
|
2020-12-03 10:16:00 +00:00 |
|
Richard Davey
|
8b6d03faaf
|
Fixed JSDoc
|
2020-12-03 10:15:25 +00:00 |
|
Richard Davey
|
39d45258de
|
Removed un-used properties and improved render function massively
|
2020-12-02 17:57:32 +00:00 |
|
Richard Davey
|
732b188691
|
Removed light pool, used RGB object, much better light culling.
|
2020-12-02 17:57:12 +00:00 |
|
Richard Davey
|
97fd175e73
|
Extends Circle, because it is! Removed loads of pointless setters.
|
2020-12-02 17:56:53 +00:00 |
|
Richard Davey
|
639b9bfc84
|
Added beginDraw , batchDraw , batchDrawFrame and endDraw methods for full batch control over the drawing.
|
2020-12-02 16:07:58 +00:00 |
|
Richard Davey
|
c10fb834e0
|
Fixed Tilemap Layer Light2D batch
|
2020-12-02 15:03:46 +00:00 |
|
Richard Davey
|
35146e72ed
|
Removed Light Layer and moved Point Light to its own Game Object
|
2020-12-02 13:48:38 +00:00 |
|
Richard Davey
|
375d6fa196
|
Updated docs
|
2020-12-02 13:15:27 +00:00 |
|
Richard Davey
|
6b1fda19e1
|
Use onActive and reset textures, fixing all rendering issues
|
2020-12-02 13:15:16 +00:00 |
|
Richard Davey
|
2687be611a
|
Added on onActive hook
|
2020-12-02 13:14:57 +00:00 |
|
Richard Davey
|
361704f048
|
Only reset post pipeline if it has one. Fix #5421
|
2020-12-02 12:23:59 +00:00 |
|
Richard Davey
|
9f8f76c690
|
Removed unused property
|
2020-12-02 12:23:40 +00:00 |
|
Richard Davey
|
e41d5a0296
|
Tidying up the class
|
2020-12-02 11:45:38 +00:00 |
|
Richard Davey
|
e8a36a2477
|
Update WebGLPipelineUniformsConfig.js
|
2020-12-02 11:11:52 +00:00 |
|
Richard Davey
|
a694590945
|
Fixed for 3.50 Beta 12
|
2020-12-02 11:11:48 +00:00 |
|
Richard Davey
|
1868a749cb
|
Enable Lights Plugin again
|
2020-12-02 11:11:34 +00:00 |
|
Richard Davey
|
2d78642944
|
Pipelines now populate their own uniforms
|
2020-12-02 11:11:24 +00:00 |
|
Richard Davey
|
dd1757a288
|
Shaders will now automatically get all active uniforms and populate the uniforms object
|
2020-12-02 11:11:08 +00:00 |
|
Richard Davey
|
e29626ab2c
|
Testing Light Layer
|
2020-12-01 17:24:30 +00:00 |
|
Richard Davey
|
cbf15747c7
|
Set default size to 1
|
2020-12-01 17:24:16 +00:00 |
|
Richard Davey
|
079dbcc72f
|
Back to Normal Map only pipeline
|
2020-12-01 17:24:04 +00:00 |
|
Richard Davey
|
ce6a81c97d
|
Updated JSDocs
|
2020-12-01 17:23:53 +00:00 |
|
Richard Davey
|
c1bf08de70
|
New Point Light class
|
2020-12-01 17:23:42 +00:00 |
|
Richard Davey
|
ea6a7d0f05
|
Install Point Light Pipeline (build flag?)
|
2020-12-01 17:23:33 +00:00 |
|
Richard Davey
|
05e046eb0e
|
Added Point Light Pipeline to the const
|
2020-12-01 17:23:18 +00:00 |
|
Richard Davey
|
496564e9d0
|
Create PointLightPipeline.js
|
2020-12-01 17:23:03 +00:00 |
|
Richard Davey
|
c8a8f59d69
|
New Point Light shader
|
2020-12-01 17:22:57 +00:00 |
|
Richard Davey
|
239e44b264
|
Improved docs
|
2020-11-30 16:13:03 +00:00 |
|
Richard Davey
|
57e6246c52
|
Added limit parameter
|
2020-11-30 16:12:55 +00:00 |
|
Richard Davey
|
652a5e62ae
|
Ignore private functions
|
2020-11-30 14:23:50 +00:00 |
|
Richard Davey
|
23ad56862f
|
Enable use of 'active'
|
2020-11-30 14:21:00 +00:00 |
|
Richard Davey
|
35829bcf0d
|
Added removePostPipeline . Fix #5419
|
2020-11-30 10:07:41 +00:00 |
|
Richard Davey
|
e020898134
|
Update LightPipeline.js
|
2020-11-30 09:46:28 +00:00 |
|
Richard Davey
|
15b47e6a54
|
Testing new Light Layer
|
2020-11-30 09:46:28 +00:00 |
|
Richard Davey
|
18de5273a6
|
Merge pull request #5417 from rexrainbow/pipeline-component-typo
Typo
|
2020-11-30 09:21:11 +00:00 |
|
Rex
|
cdfee008ec
|
Typo
|
2020-11-29 20:29:38 +08:00 |
|
Rex
|
e7fd7d6804
|
Remove flipX argument
|
2020-11-29 18:00:12 +08:00 |
|
Rex
|
ed7a53cfa9
|
Add flipX, flipY optional arguments
Add flipX, flipY optional arguments to flip render result
|
2020-11-29 17:43:36 +08:00 |
|
Richard Davey
|
41a0c192a4
|
Fix #5413
|
2020-11-28 15:42:23 +00:00 |
|
Richard Davey
|
6dd40df318
|
Update LayerCreator.js
|
2020-11-27 15:14:10 +00:00 |
|
Richard Davey
|
3ec63c6dec
|
Only remove from displayList if set. Fix #5413
|
2020-11-27 15:14:04 +00:00 |
|
Richard Davey
|
f528265fad
|
Preparing for Beta 12
|
2020-11-27 12:49:10 +00:00 |
|
Richard Davey
|
a846883e03
|
Removed Layer3D and added Layer
|
2020-11-27 12:45:44 +00:00 |
|
Richard Davey
|
238b496bbc
|
Moved to own repo
|
2020-11-27 12:28:39 +00:00 |
|
Richard Davey
|
e96cbde8d6
|
Added new displayList property and Layer documentation
|
2020-11-27 11:13:59 +00:00 |
|
Richard Davey
|
aa06070644
|
Added the new Layer Game Object
|
2020-11-26 16:21:21 +00:00 |
|
Richard Davey
|
fdae90089c
|
Use the new depthList property
|
2020-11-26 16:21:09 +00:00 |
|
Richard Davey
|
e5f9066072
|
GameObjects.Components.Depth.depthList is a new property that all Game Objects that have the Depth Component now have. It contains a reference to the List responsible for managing the depth sorting of the Game Object. This is typically the Scene Display List, but can also be a Layer. It allows the Depth component to queue a depth sort directly on the list it belongs to now, rather than just the Scene.
|
2020-11-26 16:20:54 +00:00 |
|
Richard Davey
|
a2f0a815d6
|
Reset textures before draw
|
2020-11-26 14:20:01 +00:00 |
|
Richard Davey
|
3149bb5dfa
|
JSDoc fix
|
2020-11-26 14:19:29 +00:00 |
|
Richard Davey
|
2e91763abc
|
Fixes lots of default parameters
|
2020-11-26 12:55:40 +00:00 |
|
Richard Davey
|
451656c54f
|
Use getXRound and getYRound
|
2020-11-26 11:39:08 +00:00 |
|
Richard Davey
|
c8cdf9fde2
|
Fixed Render Texture crop
|
2020-11-26 11:28:25 +00:00 |
|
Richard Davey
|
abf90070ba
|
Update TextureManager.js
|
2020-11-26 11:24:32 +00:00 |
|
Richard Davey
|
3a90ecc889
|
Update AnimationManager.js
|
2020-11-26 10:59:54 +00:00 |
|
Richard Davey
|
62c03f6dad
|
AsepriteFile is a new File Type for the Loader that allows you to load Aseprite images and animation data for use with the new Aseprite animation features. You can call this via this.load.asesprite(png, json) .
|
2020-11-26 10:59:49 +00:00 |
|
Richard Davey
|
b5f2e0a83b
|
Updated documentation. Fix #5406
|
2020-11-26 10:19:09 +00:00 |
|
Richard Davey
|
a0a32f45e5
|
Using a Bitmap Mask and a Blend Mode in WebGL would reset the blend mode when the mask was rendered, causing the Game Object to have no blend mode. Fix #5409
|
2020-11-26 10:14:13 +00:00 |
|
Richard Davey
|
681797ec9d
|
Fixed Canvas Renderer. Fix #5408
|
2020-11-26 10:04:51 +00:00 |
|
Richard Davey
|
0ee1338765
|
Better post pipeline call (less code)
|
2020-11-26 09:51:40 +00:00 |
|
Richard Davey
|
339b4fd3df
|
Added setTime method
|
2020-11-25 22:44:06 +00:00 |
|
Richard Davey
|
d0da33689b
|
Added bindTexture method
|
2020-11-24 16:01:25 +00:00 |
|
Richard Davey
|
9cc16720b8
|
Added bindRenderTarget method.
|
2020-11-24 15:34:25 +00:00 |
|
Richard Davey
|
09c49ac288
|
Fixed emitter mask pipeline
|
2020-11-24 14:52:57 +00:00 |
|
Richard Davey
|
aec06f1873
|
Added ColorSpectrum function
|
2020-11-24 11:00:04 +00:00 |
|
Richard Davey
|
b97536fc31
|
Don't need to create a Point at all. #5407
|
2020-11-24 09:12:24 +00:00 |
|
Wiserim
|
a5212463bd
|
Fix: TriangleToLine() not checking start / end point of line properly.
|
2020-11-23 22:21:25 +01:00 |
|
Richard Davey
|
d2e2e86ef1
|
Updated accessor
|
2020-11-23 16:22:11 +00:00 |
|
Richard Davey
|
2e4cfde102
|
Updated post pipeline
|
2020-11-23 16:18:30 +00:00 |
|
Richard Davey
|
ec5da6930c
|
Added post pipeline support to all Game Objects
|
2020-11-23 16:17:13 +00:00 |
|
Richard Davey
|
ea2f69de3b
|
JSDoc fixes
|
2020-11-23 15:32:30 +00:00 |
|
Richard Davey
|
a5cb3779df
|
JSDoc fixes
|
2020-11-23 15:29:08 +00:00 |
|
Richard Davey
|
28d925b875
|
JSDoc fixes
|
2020-11-23 15:06:45 +00:00 |
|
Richard Davey
|
bbcc83489f
|
Fixed JSDocs
|
2020-11-23 11:39:01 +00:00 |
|
Richard Davey
|
da96d2b26f
|
Fixed namespace
|
2020-11-23 11:31:23 +00:00 |
|
Richard Davey
|
6e7a6bcec2
|
JSDoc Fix
|
2020-11-23 11:01:08 +00:00 |
|
Richard Davey
|
ecb567766b
|
Fixed filtering and style types
|
2020-11-23 10:54:14 +00:00 |
|
Richard Davey
|
8698a03bad
|
JSDoc fixes
|
2020-11-23 10:48:24 +00:00 |
|
Richard Davey
|
417f7684c3
|
More integer to number changes
|
2020-11-23 10:32:00 +00:00 |
|
Richard Davey
|
55093945b0
|
Replace integer[][] with number[][]
|
2020-11-23 10:24:10 +00:00 |
|
Richard Davey
|
3f511a73cd
|
Replace integer[] with number[]
|
2020-11-23 10:23:10 +00:00 |
|
Richard Davey
|
02c34cd64e
|
Replace integer with number
|
2020-11-23 10:22:13 +00:00 |
|
Richard Davey
|
d852108154
|
JSDoc fixes
|
2020-11-23 10:19:39 +00:00 |
|
Richard Davey
|
5ca5a63038
|
Testing new Lights
|
2020-11-23 10:19:31 +00:00 |
|
Richard Davey
|
30c2eb5d0e
|
Ability to link Post Pipeline to owner object
|
2020-11-20 17:29:42 +00:00 |
|
Richard Davey
|
0b589564ea
|
JSDoc fixes
|
2020-11-20 16:37:53 +00:00 |
|
Richard Davey
|
afbbf2aee0
|
JSDoc fixes
|
2020-11-20 16:30:05 +00:00 |
|
Richard Davey
|
c5d7c94cb4
|
Fixed JSDocs
|
2020-11-20 16:20:35 +00:00 |
|
Richard Davey
|
78b75efb8c
|
JSDoc fix
|
2020-11-20 16:03:03 +00:00 |
|
Richard Davey
|
4f980c773a
|
Update Simplify.js
|
2020-11-20 15:59:07 +00:00 |
|
Richard Davey
|
df3b7d5f79
|
JSDoc fixes
|
2020-11-20 15:47:35 +00:00 |
|
Richard Davey
|
ebf6b254dd
|
Fixed JSDocs
|
2020-11-20 15:31:43 +00:00 |
|
Richard Davey
|
17e7f2d75b
|
Moved Model class
|
2020-11-20 15:31:34 +00:00 |
|
Richard Davey
|
ea59b47d1c
|
Force post pipeline skip
|
2020-11-20 15:18:28 +00:00 |
|
Richard Davey
|
b64f2cc4d0
|
Added ability to skip post pipeline per object
|
2020-11-20 15:18:19 +00:00 |
|
Richard Davey
|
750880fe5f
|
Fix culled tiles return
|
2020-11-20 14:58:43 +00:00 |
|
Richard Davey
|
e7b85b08af
|
Fixed batchLight
|
2020-11-20 13:05:32 +00:00 |
|
Richard Davey
|
ed756d16f1
|
Fixed Get Tiles Within Shape function
|
2020-11-20 12:39:18 +00:00 |
|
Richard Davey
|
4181e90db1
|
Utils.Array.Remove would return an incorrect array of removed elements if one of the items to be removed was skipped in the array. Fix #5398
|
2020-11-20 11:58:14 +00:00 |
|
Richard Davey
|
377d27c8a4
|
Added Tile.right and Tile.bottom properties. Fix #5400
|
2020-11-20 11:51:12 +00:00 |
|
Richard Davey
|
fa3d35364c
|
Merge pull request #5401 from hexus/improvement/add-gl-texture-width-height
Implemented reading WebGL texture dimensions automatically when adding them to the TextureManager
|
2020-11-20 11:44:52 +00:00 |
|
Richard Davey
|
c603db23ce
|
Fix docs and lint errors #5374
|
2020-11-20 11:43:45 +00:00 |
|
Richard Davey
|
5233366190
|
Merge pull request #5374 from pirateksh/patch-2
Added loadMediaStream method
|
2020-11-20 11:41:10 +00:00 |
|
Richard Davey
|
401487d4b1
|
Merge pull request #5367 from rexrainbow/bugfix-text.basicWordWrap
Don't add white space when measure last word of a line
|
2020-11-20 11:37:21 +00:00 |
|
Richard Davey
|
aaa4ace1f8
|
Merge pull request #5396 from samme/feature/timer-event-remaining
Add TimerEvent methods
|
2020-11-20 11:34:37 +00:00 |
|
Richard Davey
|
4e7c8c1b23
|
Fixed defs #5405
|
2020-11-20 11:33:50 +00:00 |
|
Richard Davey
|
f941f5a9f9
|
Scissor fix
|
2020-11-20 11:10:37 +00:00 |
|
Richard Davey
|
299e105f6e
|
Update RenderTexture.js
|
2020-11-20 10:05:33 +00:00 |
|
Richard Davey
|
951b284c6e
|
Fixed RenderTexture.fill
|
2020-11-20 10:05:19 +00:00 |
|
Richard Davey
|
e2f7ca40b2
|
Fixed camera zoom and origin. draw and drawFrame work now.
|
2020-11-19 23:04:25 +00:00 |
|
Richard Davey
|
87b96f60e8
|
Resize to match texture fbo
|
2020-11-19 23:04:10 +00:00 |
|
Richard Davey
|
c33a5598ab
|
Trying to align drawFrame
|
2020-11-19 18:16:18 +00:00 |
|
Richard Davey
|
500d33f6b9
|
Set camera zoom
|
2020-11-19 18:07:33 +00:00 |
|
Richard Davey
|
a7e980f816
|
Adjust viewport
|
2020-11-19 18:07:26 +00:00 |
|
Richard Davey
|
9b1ac7036d
|
Added ability for camera to zoomX and zoomY
|
2020-11-19 18:07:17 +00:00 |
|
Richard Davey
|
e80ed9464a
|
Removed copy params
|
2020-11-19 16:40:42 +00:00 |
|
Richard Davey
|
91924be2ee
|
Update RenderTextureWebGLRenderer.js
|
2020-11-19 16:40:35 +00:00 |
|
Richard Davey
|
7562683cfb
|
Lots of tiny fixes and updates
|
2020-11-19 16:40:31 +00:00 |
|
Richard Davey
|
775134ed3b
|
Added viewport and flush helpers
|
2020-11-19 16:40:19 +00:00 |
|
Richard Davey
|
6f6fbadfdd
|
Don't adjust viewport unless needed
|
2020-11-19 16:40:07 +00:00 |
|
Richard Davey
|
216f74bb58
|
Use Single Pipeline and force texture refresh
|
2020-11-19 11:43:55 +00:00 |
|
Richard Davey
|
d848a5e2ba
|
Now using new Render Target. Removed lots of out-dated properties and tidied up methods.
|
2020-11-19 11:38:09 +00:00 |
|
Richard Davey
|
7ad580dd29
|
Using new Render Target
|
2020-11-19 11:37:49 +00:00 |
|
Richard Davey
|
82ca007d1a
|
Added cropWidth and cropHeight parameters to batchTextureFrame method
|
2020-11-19 11:37:38 +00:00 |
|
Richard Davey
|
782cb94e56
|
Updated Render Target constructor
|
2020-11-19 11:37:14 +00:00 |
|
Richard Davey
|
a03393a4de
|
Added auto resize, clear and default parameters
|
2020-11-19 11:36:58 +00:00 |
|
Richard Davey
|
916bfa78b2
|
Missing flush
|
2020-11-18 10:26:44 +00:00 |
|
Hexus
|
ef022cd3df
|
Implemented reading WebGL texture dimensions automatically when adding them to the TextureManager
|
2020-11-18 00:49:19 +00:00 |
|
Richard Davey
|
c4c849cff4
|
Reset Textures
|
2020-11-17 19:58:35 +00:00 |
|
Richard Davey
|
4903241ac9
|
No longer use setPost .
|
2020-11-17 17:30:25 +00:00 |
|
Richard Davey
|
0ea9f24cd0
|
Update SceneFile.js
|
2020-11-17 17:15:40 +00:00 |
|
Richard Davey
|
8f688cd9a5
|
Update SceneFileConfig.js
|
2020-11-17 17:15:36 +00:00 |
|
Richard Davey
|
11e4fe6e14
|
Update PipelineManager.js
|
2020-11-17 17:15:32 +00:00 |
|
Richard Davey
|
e36a086e5d
|
Updated data types
|
2020-11-17 16:50:36 +00:00 |
|
Richard Davey
|
00c7b1d79e
|
Destroy on reset!
|
2020-11-17 16:34:52 +00:00 |
|
Richard Davey
|
96be7f6e6d
|
Destroy Render Targets too
|
2020-11-17 16:19:48 +00:00 |
|
Richard Davey
|
782a841eeb
|
Added getPostPipeline method
|
2020-11-17 16:19:40 +00:00 |
|
Richard Davey
|
0658820b79
|
Clear post pipelines
|
2020-11-17 16:19:30 +00:00 |
|
Richard Davey
|
26a1d0185a
|
Update RenderTexture.js
|
2020-11-17 16:19:18 +00:00 |
|
Richard Davey
|
842b984b46
|
Update CanvasRenderer.js
|
2020-11-17 16:19:14 +00:00 |
|
Richard Davey
|
60c7d8a2e9
|
New classes property, new event handling system and removed un-used methods
|
2020-11-17 14:10:06 +00:00 |
|
Richard Davey
|
2c88b8935b
|
Auto-boot and set isPostFX
|
2020-11-17 14:09:47 +00:00 |
|
Richard Davey
|
599213d211
|
New isPostFX property, listen to events and don't create projection matrix unless needed
|
2020-11-17 14:09:27 +00:00 |
|
Richard Davey
|
629eefb7d5
|
Now extends event emitter, new events and new isBooted property
|
2020-11-17 14:09:02 +00:00 |
|
Richard Davey
|
477cde3548
|
New WebGL Renderer events
|
2020-11-17 14:08:23 +00:00 |
|
Richard Davey
|
080677f28c
|
Set on creation, not in the component
|
2020-11-17 14:08:09 +00:00 |
|
Richard Davey
|
9cf67722ec
|
Don't forget to reset the viewport
|
2020-11-16 17:52:11 +00:00 |
|
Richard Davey
|
2008d3b880
|
Added popFBO parameters and setViewport parameter
|
2020-11-16 17:43:04 +00:00 |
|
Richard Davey
|
f5f20db048
|
Don't batch if no pipeline
|
2020-11-16 17:08:50 +00:00 |
|
Richard Davey
|
dbe57303ed
|
Defs update
|
2020-11-16 15:46:40 +00:00 |
|
Richard Davey
|
8c996b4697
|
Added setPost, isCurrentPost, removed setCameraPipeline
|
2020-11-16 15:46:34 +00:00 |
|
Richard Davey
|
c12b4cff3f
|
Swizzle RGB
|
2020-11-16 15:45:45 +00:00 |
|
Richard Davey
|
52acf60125
|
Multiply now optional for lots of combination effects
|
2020-11-16 11:32:34 +00:00 |
|
Richard Davey
|
9cfa8f5039
|
Added option to clear bind target
|
2020-11-15 17:49:29 +00:00 |
|
Richard Davey
|
5062c97784
|
Added copyToGame method to finalise fbo to renderer
|
2020-11-15 17:32:37 +00:00 |
|
Richard Davey
|
ce0b9d94c5
|
Added option to clear frame before copy
|
2020-11-15 12:53:33 +00:00 |
|
Richard Davey
|
b82ae856b6
|
Update Single.vert
|
2020-11-14 17:58:09 +00:00 |
|
Richard Davey
|
314a0bbf4e
|
Added ability to bind and draw to a target.
|
2020-11-14 17:58:00 +00:00 |
|
Richard Davey
|
d87cf4e915
|
Always pop and reset!
|
2020-11-13 18:03:03 +00:00 |
|
Richard Davey
|
d07b2fc811
|
Lots more documentation added
|
2020-11-13 17:46:05 +00:00 |
|
Richard Davey
|
bbbb49f4b5
|
Handy references
|
2020-11-13 17:31:27 +00:00 |
|
Richard Davey
|
701ad1fa15
|
ColorMatrix alpha support and viewport setting
|
2020-11-13 17:31:17 +00:00 |
|
Richard Davey
|
7458031140
|
Updated shaders
|
2020-11-13 17:31:00 +00:00 |
|
Richard Davey
|
94836b1c88
|
Handle pre-mult alpha properly
|
2020-11-13 17:30:21 +00:00 |
|
Richard Davey
|
471e64d989
|
Swapped to 5x4 array and added in some new color effects
|
2020-11-13 17:30:06 +00:00 |
|
Richard Davey
|
691b680e36
|
Added JSDocs and fixed boot sequence
|
2020-11-13 15:54:49 +00:00 |
|
Richard Davey
|
cf275b44d6
|
Added all JSDocs
|
2020-11-13 15:54:36 +00:00 |
|
Richard Davey
|
6a97fe6889
|
Lots of handy methods added and fixed vertices
|
2020-11-13 14:20:26 +00:00 |
|
Richard Davey
|
2d3248025a
|
Lots of tidying up, added blend methods
|
2020-11-13 14:20:07 +00:00 |
|
Richard Davey
|
cfce8062e6
|
Call the new camera methods
|
2020-11-13 14:19:55 +00:00 |
|
Richard Davey
|
985b614c65
|
Return the freshly bound fbo
|
2020-11-13 14:19:42 +00:00 |
|
Richard Davey
|
dbdac4f102
|
Better method names
|
2020-11-13 14:19:30 +00:00 |
|
Richard Davey
|
d7a0bddfcb
|
Handled in batchQuad method
|
2020-11-13 14:19:12 +00:00 |
|
Richard Davey
|
bddfd707fc
|
Added preBatchCamera and postBatchCamera and the rest of the Utility methods
|
2020-11-13 14:18:57 +00:00 |
|
Richard Davey
|
b019c6f889
|
Added onDraw
|
2020-11-12 18:10:07 +00:00 |
|
Richard Davey
|
53180cc748
|
Updated shaders
|
2020-11-12 18:09:54 +00:00 |
|
Richard Davey
|
724310f147
|
Removed draw method
|
2020-11-12 18:09:44 +00:00 |
|