Commit Graph

9969 Commits

Author SHA1 Message Date
Santy-Wang 9f30a7e564 fix plistParser is undefined (#7771) 2020-11-12 11:57:47 +08:00
pandamicro eb48ae0982 Fix window.rAF is not a function issue on native platform (#7769) 2020-11-12 11:10:27 +08:00
Yun Hsiao Wu e734e1ac3d fix terrain effect (#7768) 2020-11-12 11:06:41 +08:00
ChiaNing f2f68c61d7 uiComp check bug fix (#7766) 2020-11-11 23:13:01 +08:00
jiaxin.lai 7500c0821e fix initialize of cannon rigid body (#7764) 2020-11-11 23:10:31 +08:00
Knox 8e86ab1edc updated particle default assets meta (#7762) 2020-11-11 19:14:00 +08:00
ChiaNing f3d62ce258 mask invert bug fix & uiComp check (#7758)
* mask invert bug fix

* uiComp check
2020-11-11 19:13:37 +08:00
zhefeng.zhang 146741ad8d sync 2d pr 6994 (#7759) 2020-11-11 19:12:40 +08:00
Leslie Leigh (李的序) be794583bb Optimize build-engine to not generate source map for NPM scripts (#7760)
* Optimize again


@cocos/build-engine@4.0.0-beta.1

* Update lock file

* Fix jail
2020-11-11 19:12:05 +08:00
Santy-Wang 95b2c2ad5a fix imageBitmap auto premultiply alpha (#7761) 2020-11-11 18:55:29 +08:00
cary 1221a88979 Fix the WrapMode issue of particle curves. (#7757) 2020-11-11 15:54:35 +08:00
Leslie Leigh (李的序) a3e1487375 Remove comments even in debug build; Suppress babel compact warnings. (#7755)
@cocos/build-engine@4.0.0-beta.0
2020-11-11 15:22:53 +08:00
黄森斌 0ede504353 add intertnal db ui prefab assets (#7756)
(cherry picked from commit 5cd6cadb90850b6902d6ad78e56448c1ca03a479)
2020-11-11 15:20:38 +08:00
Knox c762a72838 fix video remove err, add protection consistent with 2d (#7753) 2020-11-11 12:04:18 +08:00
troublemaker52025 82f87f3776 fix shadow map no binding warning (#7754) 2020-11-11 12:03:37 +08:00
troublemaker52025 3c669c4d9f Add spot light shadow for 3D (#7643) 2020-11-11 10:15:42 +08:00
Yun Hsiao Wu 0c8ebc83bc fix flat buffer generation (#7751) 2020-11-10 19:30:22 +08:00
minggo a705618093 Cache CanvasRenderingContext2D properties as possbile (#7749)
* cache CanvasRenderingContext2D properties

* cache CanvasRenderingContext2D attributes

* cache CanvasRenderingContext2D properties

* create canvas with default widht/height

* fix typo
2020-11-10 19:13:33 +08:00
zhefeng.zhang f8474892f8 fixed tiledTypeSprite error (#7748) 2020-11-10 19:01:09 +08:00
pandamicro b162e21a93 Update license and API language declaration (#7750)
* Update licenses

* Update license for audio

* Update license for core/3d

* Update license for animation, assets, asset-manager, components, data

* update license for event, geometry, gfx

* update license for core modules

math, memop, pipeline, platform, primitive, renderer, scene-graph, utils, value-types

* Update license for core

* Update license for particle and particle-2d

* Update license for particle part2

* Update license for physics and physics-2d

* Update license for all modules in cocos

* Update license for exports

* Fix API doc language declaration
2020-11-10 17:36:31 +08:00
Santy-Wang 38277a2403 Encapsulates a method to replace System.import (#7747) 2020-11-10 17:30:02 +08:00
Knox 37f46ca8ea improve particle system 2d (#7739)
* improve particle system 2d

1.add tooltip
2.improve code

* improve code

* improve code
2020-11-10 11:58:13 +08:00
Yun Hsiao Wu 91ba93c7f1 update internal effect names (#7744) 2020-11-10 11:36:25 +08:00
zheng han b5770d3f69 fix pass error (#7735) 2020-11-09 19:54:35 +08:00
cary 64c090968f Fix the crash when switching between particle scenes on native. (#7743)
* Fix the crash when switching between particle scenes on native.

* fix ci
2020-11-09 19:52:55 +08:00
troublemaker52025 a91c502082 fix merge lost for 3.0 (#7742) 2020-11-09 19:50:34 +08:00
ChiaNing a6fc79acb4 change canvas z position (#7741) 2020-11-09 18:18:50 +08:00
Yun Hsiao Wu 8d2ef1fe51 fix skybox effect (#7740)
* fix skybox

* fix subMesh.iaInfo
2020-11-09 17:55:55 +08:00
ChiaNing 598567bec0 Draw more frames when pause on Runtime&Alipay (#7738) 2020-11-09 16:46:40 +08:00
coulsonwang bb0ef38f4b reduce native getPhase jsb calls (#7737) 2020-11-09 15:35:49 +08:00
cary d94fa376c5 Fix the problem of pass id out-of-bounds. (#7736) 2020-11-09 13:07:12 +08:00
Yun Hsiao Wu 32598c25cb switch to eslint (#7727)
* switch to eslint

* eslint: extends airbnb
2020-11-09 10:19:12 +08:00
Jare Guo 676c267150 remove RawAsset (sync #6286) (#7697) 2020-11-08 22:45:15 +08:00
yufang.wu 623ef85041 Sync the PR of 2D. (#7730)
* Sync the pr #7262 and #7315 of 2D.

* Commit changes
2020-11-08 22:43:51 +08:00
Santy-Wang 84fd3bc011 Use new deprecating mechanism (#7732)
* use new deprecating mechanism

* refine

* refine log

* refine
2020-11-08 22:42:27 +08:00
ChiaNing 9de860f409 layer Changed event add (#7729) 2020-11-07 17:52:12 +08:00
Knox 6677e39fd2 improve _underlineHeight init value to 2 in the label (#7733) 2020-11-07 17:51:14 +08:00
PP fbcb4aea40 fix audio can't play on native platform (#7728) 2020-11-07 14:39:24 +08:00
cary 449e250d7f Fix invalid buffer pool handle error. (#7718) 2020-11-07 11:36:41 +08:00
zhefeng.zhang 153b7d0876 sync 2d pr 7211 (#7715) 2020-11-07 11:35:38 +08:00
cary 1610446ddc Fix the error of getter override. (#7725)
* Fix the error of getter override.

* delete property
2020-11-07 11:33:38 +08:00
ChiaNing 68df7cbebd video-player check (#7719) 2020-11-07 11:30:19 +08:00
ChiaNing 46e1579b61 misc fix (#7720)
* Node component help doc add

* UI transform disallow Multiple
2020-11-07 11:29:21 +08:00
SijieWang 446098d788 Complete terrain property type declaration (#7721)
* 补全地形类型定义

* review code
2020-11-07 11:16:16 +08:00
Leslie Leigh (李的序) b6937ea897 Fix foolish bug! (#7726) 2020-11-07 11:11:09 +08:00
黄森斌 f8f7e4acee update .rpp file template data (#7724) 2020-11-07 11:02:20 +08:00
Yun Hsiao Wu dadb9b3cfd fix light pass indices opt (#7712) 2020-11-06 18:34:32 +08:00
minggo 956a5b2cc7 Reduce jsb (#7723)
* use JS BufferInfo

* use JS TextureViewInfo

* use JS TextureInfo

* cache some data to reduce JSB invoking

* cached buffer usage

* add RasterizerState.depthBiasEnabled

* use JS DescriptorSetInfo

* add RasterizerState.depthBiasEnabled
2020-11-06 17:33:02 +08:00
cary 71dd7c2010 Remove director._maxParticleDeltaTime. (#7717) 2020-11-06 17:15:00 +08:00
minggo 69f6f2bf1a use buffer pool instead (#7714) 2020-11-06 13:38:11 +08:00