Commit graph

12899 commits

Author SHA1 Message Date
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
f0a25f4b9a Update CHANGELOG.md 2019-05-03 17:38:41 +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