Richard Davey
|
18a924c39c
|
Passing an _array_ of configuration objects to physics.add.group would ignore them and none of the children would be assigned a physics body. Fix #4511
|
2019-05-07 16:17:28 +01:00 |
|
Richard Davey
|
63ddc0b07d
|
Merge pull request #4279 from akuskis/Issue_#4256.Circles_collision
Fix circles collision #4256
|
2019-05-04 12:44:29 +01:00 |
|
Richard Davey
|
acc5f92a8a
|
Merge pull request #4503 from jcyuan/master
expose ParseXMLBitmapFont for combined XML font file
|
2019-05-04 12:23:02 +01:00 |
|
Richard Davey
|
9672602c2f
|
Merge pull request #4504 from rexrainbow/master
Constraints canvas size via object size
|
2019-05-04 12:21:06 +01:00 |
|
Richard Davey
|
73d50071a8
|
DOM Element will check if parent can render
|
2019-05-03 19:01:02 +01:00 |
|
Richard Davey
|
fda7772d3f
|
Fixed jsdocs to flag arguments as optional. Fix #4506
|
2019-05-03 18:23:39 +01:00 |
|
Richard Davey
|
935a9814ca
|
Check SoundManager exists before accessing it. Fix #4428
|
2019-05-03 17:42:45 +01:00 |
|
Richard Davey
|
dcf2d44f4a
|
Removed un-used properties
|
2019-05-03 17:38:37 +01:00 |
|
Richard Davey
|
d75431fc2b
|
lint fixes
|
2019-05-03 17:38:27 +01:00 |
|
Richard Davey
|
bf741e962c
|
Restored Arcade Physics v1 and merged in all the core changes
|
2019-05-03 17:28:06 +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
|
f9482ef580
|
BaseCache.getKeys is a new method that will return all keys in use in the current cache, i.e. this.cache.shader.getKeys() .
|
2019-05-02 02:27:29 +01:00 |
|
Richard Davey
|
abccac28f8
|
Can pass in either a BaseShader or a string
|
2019-05-01 17:04:53 +01:00 |
|
Richard Davey
|
8536049b65
|
Fixed shaderType reference
|
2019-05-01 14:12:06 +01:00 |
|
Richard Davey
|
b22f5ce5fd
|
Improved jsdocs
|
2019-05-01 12:59:05 +01:00 |
|
Richard Davey
|
8ef5e9789c
|
Renamed from Shader to BaseShader to avoid confusion with the Shader Game Object
|
2019-05-01 12:58:52 +01:00 |
|
Richard Davey
|
4edd77275a
|
Removed funcmap and moved to renderer. Finished method jsdocs.
|
2019-05-01 12:30:09 +01:00 |
|
Richard Davey
|
3d40a95a00
|
Added glFuncMap
|
2019-05-01 12:29:45 +01:00 |
|
Richard Davey
|
4c95d69711
|
Added new SetValue function for property setting to any depth
|
2019-05-01 12:28:21 +01:00 |
|
Richard Davey
|
3759714703
|
Try catch the uniform json parse
|
2019-05-01 11:12:42 +01:00 |
|
Richard Davey
|
2f48d68735
|
A shader can now be used as a bitmap mask
|
2019-05-01 11:12:31 +01:00 |
|
Rex
|
72df134571
|
Constrains canvas sizer via game object size
|
2019-05-01 11:48:08 +08:00 |
|
Rex
|
2a51bb8c3b
|
Remove redundant code
|
2019-05-01 10:10:05 +08:00 |
|
Rex
|
816eb6d677
|
Remove redundant code
|
2019-05-01 10:09:20 +08:00 |
|
Rex
|
b2a32a8e8f
|
Constraints canvas size if using fixedWidth, fixedHeight style
|
2019-05-01 10:06:04 +08:00 |
|
Richard Davey
|
08f4a0ccf4
|
Tidying up
|
2019-05-01 02:10:38 +01:00 |
|
Richard Davey
|
de7c804c47
|
Shaders can now easily handle sampler2D uniforms
|
2019-05-01 00:05:52 +01:00 |
|
Richard Davey
|
34fe7a8c50
|
Better default checking
|
2019-05-01 00:05:37 +01:00 |
|
Richard Davey
|
0ebdf7073c
|
Optional texture key array
|
2019-05-01 00:05:22 +01:00 |
|
Richard Davey
|
b1de52009d
|
Now extracts uniforms
|
2019-05-01 00:05:13 +01:00 |
|
Richard Davey
|
8484f33c18
|
Handle invalid shader keys gracefully
|
2019-04-30 19:56:03 +01:00 |
|
Richard Davey
|
272fbfcd7a
|
Improved jsdocs, finished splitting up render process
|
2019-04-30 19:43:50 +01:00 |
|
Richard Davey
|
38d8ae7d68
|
Uniforms properly applied
|
2019-04-30 19:11:29 +01:00 |
|
Richard Davey
|
e5d944b977
|
Updating Shader Game Object to use new Shader class
|
2019-04-30 17:11:55 +01:00 |
|
Richard Davey
|
ab7dbf6c93
|
New Shader class
|
2019-04-30 17:11:42 +01:00 |
|
Richard Davey
|
e0a9980fda
|
Updated docs
|
2019-04-30 17:11:26 +01:00 |
|
Richard Davey
|
0c84853524
|
Expanding GLSL File Loader
|
2019-04-30 17:11:18 +01:00 |
|
J.C
|
b6047df1b5
|
flag which version has this method
|
2019-04-30 23:29:28 +08:00 |
|
J.C
|
8c3de0897e
|
expose ParseXMLBitmapFont for combined XML font file
|
2019-04-30 19:31:47 +08:00 |
|
Richard Davey
|
3c655bff3e
|
Improved jsdocs
|
2019-04-30 11:08:34 +01:00 |
|
Richard Davey
|
14ae8ecf19
|
Added NOOP
|
2019-04-29 17:14:05 +01:00 |
|
Richard Davey
|
84e898fd90
|
Fixed nested bitmap mask issue
|
2019-04-29 14:45:54 +01:00 |
|
Richard Davey
|
80a0bf3f1a
|
Re-apply stencil after a bitmap mask
|
2019-04-29 14:29:13 +01:00 |
|
Richard Davey
|
3efcd1ca49
|
New cam mask object
|
2019-04-29 14:28:58 +01:00 |
|
Richard Davey
|
ac1cc1762d
|
Use new cam mask object
|
2019-04-29 14:28:45 +01:00 |
|
Richard Davey
|
6f639ddec2
|
Preparing to store level state
|
2019-04-29 13:21:23 +01:00 |
|
Richard Davey
|
28b1a170ab
|
Fixed null mask issue
|
2019-04-29 13:04:34 +01:00 |
|
Richard Davey
|
902d04d55e
|
Move to functions so we can call from outside the class
|
2019-04-26 19:14:06 +01:00 |
|
Richard Davey
|
93dabaa34e
|
Store and restore previous framebuffer
|
2019-04-26 19:13:55 +01:00 |
|
Richard Davey
|
e07248a403
|
Use proper elapsed time for the shader
|
2019-04-26 19:13:45 +01:00 |
|
Richard Davey
|
70b5b01db2
|
Restore previous framebuffer
|
2019-04-26 19:13:32 +01:00 |
|
Richard Davey
|
cf878ca553
|
Better stencil mask checking
|
2019-04-26 19:13:24 +01:00 |
|
Richard Davey
|
813429d8dc
|
Added getDuration and getDurationMS
|
2019-04-26 19:13:12 +01:00 |
|
Richard Davey
|
95eb4fc03d
|
Setting pixelPerfect when input enabling a Container would cause it to crash, because Container's don't have a texture to check. It will now throw a run-time warning and skip the Container for input. You should use a custom input callback instead. Fix #4492
|
2019-04-26 10:56:06 +01:00 |
|
Richard Davey
|
183ce1b96c
|
BMP fix
|
2019-04-26 02:30:24 +01:00 |
|
Richard Davey
|
6e70f0e19c
|
Shaders now work with camera masks and can have their own geometry masks
|
2019-04-26 01:53:34 +01:00 |
|
Richard Davey
|
8620e2303d
|
Added setPointer
|
2019-04-26 00:56:53 +01:00 |
|
Richard Davey
|
55410038eb
|
Updated factory
|
2019-04-25 17:48:06 +01:00 |
|
Richard Davey
|
4d16f21c20
|
re-init uniforms if setShader
|
2019-04-25 17:13:31 +01:00 |
|
Richard Davey
|
2c4d0d9fd3
|
Uniforms are now synced properly and attribute is hard coded
|
2019-04-25 16:57:12 +01:00 |
|
Richard Davey
|
a26a420f23
|
Added transformOnly flag
|
2019-04-25 15:44:19 +01:00 |
|
Richard Davey
|
d849031195
|
Y oh Y :)
|
2019-04-25 15:08:32 +01:00 |
|
Richard Davey
|
a0ef6e9d1b
|
Added default shader
|
2019-04-25 15:07:46 +01:00 |
|
Richard Davey
|
27d6bd544f
|
Drop the modelMatrix, it's not needed for this GO. Also only change vertexView elements that need changing.
|
2019-04-25 14:21:33 +01:00 |
|
Richard Davey
|
5449f7b51d
|
Skip blendMode and add setShader method
|
2019-04-25 14:03:50 +01:00 |
|
Richard Davey
|
9356744399
|
argument caps
|
2019-04-25 12:14:04 +01:00 |
|
Richard Davey
|
2ff76eb4b5
|
Removed un-needed Quad Pipeline and shaders
|
2019-04-25 12:13:09 +01:00 |
|
Richard Davey
|
f37a61de27
|
Shader now using viewLoad2D instead and accounting for origin
|
2019-04-25 12:12:49 +01:00 |
|
Richard Davey
|
ba8d1adbbb
|
Removing use of Shader pipeline
|
2019-04-25 11:30:23 +01:00 |
|
Richard Davey
|
e05ff03ed0
|
Added Systems.renderer reference
|
2019-04-25 11:30:10 +01:00 |
|
Richard Davey
|
86896bd581
|
Merge branch 'master' of https://github.com/photonstorm/phaser
|
2019-04-25 03:16:51 +01:00 |
|
Richard Davey
|
72af4a21d1
|
Default shader
|
2019-04-25 03:16:46 +01:00 |
|
Richard Davey
|
9b4309b38c
|
Added QuadShader Pipeline to the renderer
|
2019-04-25 03:16:39 +01:00 |
|
Richard Davey
|
2727408e7c
|
Don't disable the vertex attribute if the location is invalid
|
2019-04-25 03:16:25 +01:00 |
|
Richard Davey
|
e0c22c5534
|
Added QuadShader Pipeline
|
2019-04-25 03:16:03 +01:00 |
|
Richard Davey
|
7d74425491
|
Added new Shader Game Object
|
2019-04-25 03:15:51 +01:00 |
|
Richard Davey
|
87c3215216
|
Merge pull request #4487 from florianvazelle/master
Fix issue #4483
|
2019-04-24 22:03:57 +01:00 |
|
Richard Davey
|
f64d0a935b
|
Geometry Masks are now batched. Previously, using the same mask on multiple Game Objects would create brand new stencil operations for every single Game Object, causing performance to tank. Now, the mask is only set if it's different from the previously masked object in the display list, allowing you to mask thousands of Game Objects and retain batching through-out.
|
2019-04-24 16:45:31 +01:00 |
|
Richard Davey
|
1f0a516c77
|
GeometryMask.setInvertAlpha is a new method that allows you to set the invertAlpha property in a chainable call.
|
2019-04-24 15:00:16 +01:00 |
|
Richard Davey
|
12b6041d20
|
inverseAlpha support added back in and tidied up renderer
|
2019-04-24 14:51:39 +01:00 |
|
Richard Davey
|
2bd45865d4
|
Stack restore working. Time to try invertAlpha.
|
2019-04-24 14:38:24 +01:00 |
|
Richard Davey
|
ac3fac4ab6
|
UpdateList.remove will now move the removed child to the internal _pendingRemoval array, instead of slicing it directly out of the active list. The pending list is cleared at the start of the next game frame. Fix #4365
|
2019-04-24 13:58:05 +01:00 |
|
Richard Davey
|
11c1b458fa
|
Phaser.Physics.Arcade.Events is now exposed in the namespace, preventing it from erroring if you use them in TypeScript. Fix #4481
|
2019-04-24 13:44:57 +01:00 |
|
Richard Davey
|
64532d8d7b
|
InputPlugin.clear has a new argument skipQueue which is used to avoid clearing a Game Object twice. This, combined with the fix for 4463 means you will no longer get a Cannot read property 'dragState' error if you destroy a Game Object enabled for drag where another draggable object exists. Fix #4228
|
2019-04-24 13:38:40 +01:00 |
|
Richard Davey
|
00dbf8b03e
|
Destroying a Game object during its pointerup event handler on a touch device will no longer cause Uncaught TypeError: Cannot read property 'localX' of undefined . All InputPlugin process handlers now check to see if the Game Object has been destroyed at any stage and abort if it has. Fix #4463
|
2019-04-24 12:54:56 +01:00 |
|
Richard Davey
|
a47019b415
|
Keep the property but set to null by default.
|
2019-04-24 12:54:48 +01:00 |
|
Richard Davey
|
61921525f1
|
There is a new webpack config FEATURE_SOUND which is set to true by default, but if set to false it will exclude the Sound Manager and all of its systems into the build files.
|
2019-04-24 12:23:21 +01:00 |
|
Richard Davey
|
f4a86fd368
|
The Container.setScrollFactor method has a new optional argument updateChildren . If set, it will change the scrollFactor values of all the Container children as well as the Container. Fix #4466 #4475
|
2019-04-24 12:09:16 +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
|
507bb6a215
|
Added customHitArea boolean property
|
2019-04-24 11:21:52 +01:00 |
|
Richard Davey
|
53c14df798
|
Changing any aspect of a Text object, such as the font size or content, wouldn't update its hitArea if it had been enabled for input, causing it to carry on using the old hit area size. Now, as long as the Text was created _without_ a custom hitArea, the hitArea size will be changed to match the new texture size on update. If you have provided your own custom hitArea shape, you need to modify it when the Text changes size yourself. Fix #4456
|
2019-04-24 11:21:36 +01:00 |
|
Richard Davey
|
2ef6ad3e51
|
Fixed jsdoc
|
2019-04-24 10:54:02 +01:00 |
|
Richard Davey
|
181be88ba9
|
Updated to use game clock time values.
|
2019-04-24 10:48:03 +01:00 |
|
Richard Davey
|
6b5383a007
|
Key now needs a reference to the plugin that created it. Also added getDuration method.
|
2019-04-24 10:47:51 +01:00 |
|
Richard Davey
|
d7917789eb
|
Added destroy argument to removeKey and cleared plugin reference.
|
2019-04-24 10:47:22 +01:00 |
|
Richard Davey
|
fd4f45673b
|
Pointer.getDuration would only return zero until the pointer was released, or moved (basically any action that generated a DOM event). It now returns the duration regardless of the DOM events. Fix #4444
|
2019-04-24 10:08:56 +01:00 |
|
Richard Davey
|
31c0b4f2ff
|
Update now always runs but only once per frame
|
2019-04-24 10:04:13 +01:00 |
|
Richard Davey
|
95b18ae6e0
|
Refined poll rate handling and added pluginUpdate
|
2019-04-24 10:03:58 +01:00 |
|
Richard Davey
|
43c72e23c6
|
Fixed issue with input events running twice
|
2019-04-24 09:34:40 +01:00 |
|
Richard Davey
|
24bc670424
|
Merge branch 'master' of https://github.com/photonstorm/phaser
|
2019-04-23 22:48:24 +01:00 |
|