PP
bdae8e370d
cache camera priority in event listener ( #8216 )
...
* Revert "cache first render camera (#8215 )"
This reverts commit 4cdb7043c9 .
* cut down touch move callback
* cache camera priority in event listener
* Revert "cut down touch move callback"
This reverts commit 19da61e3f16c3d1c14c1e8111b0da98b4997dea4.
* fix esLint
2021-01-27 15:56:56 +08:00
zhefeng.zhang
1d4d17cf2b
sync 8192 ( #8202 )
2021-01-25 13:48:41 +08:00
PP
255944f36c
update YOUKU sys info && engine building workflow ( #8191 )
...
* update YOUKU constant
* update sys info for YOUKU
* fix ts Lint
* fix lint
2021-01-23 17:14:45 +08:00
Santy-Wang
d5c5c69768
sync #8173 ( #8174 )
...
* sync #8173
* fix lint
2021-01-21 17:33:51 +08:00
cary
b3f6bb99b6
Fix recycle reference of node event processor. ( #8134 )
...
* Fix recycle reference of node event processor.
* fix eslint ci
2021-01-18 14:55:07 +08:00
pandamicro
c6dad8c494
Merge render scene and improve naming for 2d render ( #8142 )
...
* format and tweek
* Refactor renderer: UI to 2D naming
* refactor root.ui to root.batcher2D
* Refactor UIBatchView to BatchView2D
* Fix issues
* Merge UI render scene to main render scene
* Improve camera scene check in forward pipeline
* Fix eslint ci
* skip js files
2021-01-15 11:43:09 +08:00
cary
9d20701c2d
Fix the penetration of click events when Mask nesting. ( #8109 )
2021-01-09 18:00:44 +08:00
Leslie Leigh (李的序)
9bd9baac12
Eslint autofix all ( #8108 )
...
* Eslint autofix all
* Manual fix
2021-01-09 11:41:10 +08:00
ChiaNing
0a6a007c0f
add canvas pool length settings ( #8093 )
...
* add canvas pool length settings
* name change
2021-01-07 14:13:06 +08:00
yeshao2069
b7627817e8
fix view.setFrameSize bug ( #8059 )
...
* fix view.setFrameSize bug
fix view.setFrameSize bug
* fix ci
fix ci error
* fix ci
fix ci
* fix ci
* fix ci
* fix ci
* fix ci
* optimization
optimization
* fix ci
fix ci
2021-01-05 17:38:49 +08:00
pandamicro
84f2b5b742
Fix ui canvas event priority and deprecation ( #8062 )
...
* Fix UI event priority sorting issue
* Fix canvas deprecation
* Fix ci
* Fix ci
* Fix eslint
2020-12-31 13:45:15 +08:00
Leslie Leigh (李的序)
d96ee5179e
Fix system event typing ( #8063 )
2020-12-31 13:39:07 +08:00
pandamicro
9b75d50b1b
Improve game mainLoop safety ( #7796 )
...
* Improve game mainLoop safety
* Fix ci
* Fix ci
* Fix game pause state set
* Fix game init timing
* Fix camera component imports
* Fix eslint warnings
* allow dangling underscores
* Fix more warning
2020-12-22 18:19:40 +08:00
JoneLau
e267479e41
optimized layout ( #7970 )
...
* optimized layout
* type If none, do nothing
2020-12-18 14:08:21 +08:00
PP
e737190f54
optimize code in sys.ts ( #7966 )
...
* remove platform related code in sys.ts
* remove browserType for minigame
2020-12-16 13:48:22 +08:00
PP
0a836ac458
optimize sys info init && move in runtime adapters ( #7920 )
...
* optimize sys info init in adapters
update
* update sys init
update sys
* fix sys access
* optimize isWebIOS14OrIPadOS14Env
* update
* update
* update QTT adapter
* update sys.capacities
update sys
* update common && qtt
* add downloadFile to job module
* update engine-adapter
* update DeviceMotionEvent adaption
* remove legacy qtt
* add link-sure adaption
* fix some bug
* update vivo adaption && fs-utils
* remove legacy link-sure
* remove dom-adapter
* remove HTMLCanvas appended to document
* update vivo
* support COCOS_PLAY
* update adapters to platforms
* remove test code
* add OPPO adapter
* add huawei adapter
* remove test code
* rename folder oppo-mini-game
* rename folder huawei-quick-game
* rename folder vivo-mini-game
2020-12-15 11:54:13 +08:00
zheng han
4d9bf6b43f
fix systemEvent.on type check ( #7924 )
2020-12-07 13:35:44 +08:00
minggo
98c2fb3158
fix device resolution ( #7856 )
...
* fix device resolution
* only use device resolution on native
2020-11-24 18:24:51 +08:00
PP
a598a9f0cf
support linksure and QTT platform ( #7800 )
...
* fix undefined toDataURL on linksure platform
* update platform
* add platform info
2020-11-18 20:20:38 +08:00
Jare Guo
b5ba2e5dbe
fix texture preloading (sync #7581 ) ( #7802 )
...
* fix texture preloading (sync #7581 )
* fix prefab revert problem for render component (sync #7385 )
* tweak API docs (sync #7525 )
* Update Readme (sync from 2D)
Co-authored-by: Nisar Hassan Naqvi <syednisarhassan12@gmail.com >
2020-11-18 10:47:23 +08:00
PP
55689f1d80
add HuaWei broswerType ( #7779 )
2020-11-15 12:57:08 +08:00
Santy-Wang
95b2c2ad5a
fix imageBitmap auto premultiply alpha ( #7761 )
2020-11-11 18:55:29 +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
Yun Hsiao Wu
32598c25cb
switch to eslint ( #7727 )
...
* switch to eslint
* eslint: extends airbnb
2020-11-09 10:19:12 +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
ChiaNing
9de860f409
layer Changed event add ( #7729 )
2020-11-07 17:52:12 +08:00
JoneLau
b2a001a21b
move SubContextView to ui ( #7699 )
2020-11-05 17:22:51 +08:00
Santy-Wang
eca57fdca8
sync 2d ( #7703 )
...
* sync 2d
* fix ci
* refine
2020-11-05 15:51:51 +08:00
Jare Guo
47e11ac836
ensure canvas size the same as screen size during scene initialization (sync #6308 ) ( #7685 )
2020-11-04 22:15:31 +08:00
GengineJS
0c42a3d14e
[Feature] profiler adapts to gameView ( #7695 )
2020-11-04 17:53:02 +08:00
pandamicro
e4c1c9add1
Merge remote-tracking branch 'origin/3d-v1.2' into 3d
...
# Conflicts:
# editor/assets/default_prefab/ui/ScrollView.prefab
2020-11-02 12:51:34 +08:00
Santy-Wang
7b025ff721
sync 2d ( #7658 )
...
* sync
* sync 2d
* refine
2020-10-31 18:12:10 +08:00
Jare Guo
e2b740dd15
Finally merge runtime deserializer & asset manager ( #7648 )
...
* sync asset-manager
refine
refine
refine
* change director
* refine
* fix bugs
* commit
* refine and fix bugs
* refine docs
* fix bugs
* merge
* fix bugs
* fix bugs
* merge
* sync jsb-adapter
* fix ci
* adapt preloading process for new Deserializer
* adapt preloading process for new Deserializer
* fix bugs
* minor fix
* dump dependency of SpriteFrame explicitly (sync #6938 )
* dump dependency of SpriteFrame explicitly (sync #6938 )
* remove unused variable
* exporting should trigger uuid compression in serializer
* refine
* fix ci
Co-authored-by: Santy-Wang <wh19930829@qq.com >
2020-10-30 20:51:58 +08:00
pandamicro
0e1a5b9f10
Make ENABLE_WEBGL_ANTIALIAS as true by default ( #7632 )
2020-10-30 11:05:41 +08:00
Leslie Leigh (李的序)
1cc61ca0b0
Promisify game.init and game.run ( #7612 )
...
* Promisify `game.init` and `game.run`
* Export some debugging API
* Update
* Update
* Fix
* Rename
2020-10-30 10:25:34 +08:00
Knox
37fec6341f
sync 2d (Update the url links) ( #7613 )
2020-10-28 17:06:27 +08:00
pandamicro
983b994e43
Merge 2.x commits ( #7600 )
2020-10-27 09:13:33 +08:00
PP
2304ce20a0
change OPPO/Vivo quick game to mini game ( #7589 )
2020-10-23 11:29:50 +08:00
GengineJS
f07f05205b
[v1.2.1] Terrain layer and GameView ui event response modification ( #7582 )
...
* [Modify] GameView ui event response modification
* [Modify] Terrain addLayer function modification
2020-10-22 20:35:08 +08:00
pandamicro
f31968e999
Merge remote-tracking branch 'origin/3d' into 3d
...
# Conflicts:
# cocos/core/platform/sys.ts
2020-10-22 11:52:25 +08:00
Knox
4a062a4013
sync 2d sys browserType and browserVersion ( #7578 )
2020-10-22 10:34:11 +08:00
pandamicro
6101d772a2
Merge remote-tracking branch 'origin/3d-v1.2' into 3d
...
# Conflicts:
# EngineErrorMap.md
# cocos/core/3d/builtin/effects.ts
# cocos/core/data/decorators/property.ts
# cocos/core/pipeline/forward/forward-pipeline.ts
# cocos/core/pipeline/forward/scene-culling.ts
# cocos/core/renderer/scene/model.ts
# cocos/core/renderer/scene/shadows.ts
# cocos/core/renderer/ui/mesh-buffer.ts
# cocos/core/renderer/ui/ui-vertex-format.ts
# cocos/core/scene-graph/scene-globals.ts
# cocos/terrain/terrain.ts
# cocos/ui/assembler/graphics/webgl/graphics-assembler.ts
# cocos/ui/components/graphics.ts
# editor/assets/default_prefab/3d/Capsule.prefab.meta
# editor/assets/default_prefab/3d/Cone.prefab.meta
# editor/assets/default_prefab/3d/Cube.prefab.meta
# editor/assets/default_prefab/3d/Cylinder.prefab.meta
# editor/assets/default_prefab/3d/Plane.prefab.meta
# editor/assets/default_prefab/3d/Quad.prefab.meta
# editor/assets/default_prefab/3d/Sphere.prefab.meta
# editor/assets/default_prefab/3d/Torus.prefab.meta
# editor/assets/default_prefab/Camera.prefab.meta
# editor/assets/default_prefab/Terrain.prefab.meta
# editor/assets/default_prefab/effects/Particle System.prefab.meta
# editor/assets/default_prefab/light/Directional Light.prefab.meta
# editor/assets/default_prefab/light/Sphere Light.prefab.meta
# editor/assets/default_prefab/light/Spot Light.prefab.meta
# editor/assets/default_prefab/ui/Button.prefab.meta
# editor/assets/default_prefab/ui/Canvas.prefab.meta
# editor/assets/default_prefab/ui/EditBox.prefab.meta
# editor/assets/default_prefab/ui/Label.prefab.meta
# editor/assets/default_prefab/ui/Layout.prefab.meta
# editor/assets/default_prefab/ui/Mask.prefab.meta
# editor/assets/default_prefab/ui/ProgressBar.prefab.meta
# editor/assets/default_prefab/ui/ScrollView.prefab.meta
# editor/assets/default_prefab/ui/Slider.prefab.meta
# editor/assets/default_prefab/ui/Sprite.prefab.meta
# editor/assets/default_prefab/ui/Toggle.prefab.meta
# editor/assets/default_prefab/ui/ToggleContainer.prefab.meta
# editor/assets/default_prefab/ui/Widget.prefab.meta
2020-10-21 18:35:11 +08:00
Knox
280723ea6b
update mini game platform tag ( #7571 )
...
* update mini game platform tag
* refine code
2020-10-21 16:53:24 +08:00
Jare Guo
0319477911
fix decorator warning of ValueTypes ( #7553 )
...
* fix decorator warning of ValueTypes (sync #6285 )
* refresh copyright
2020-10-21 16:31:41 +08:00
Knox
f33a928e0b
sync 2d sys ( #7568 )
...
1. update platform
2. sync lanuageCode
2020-10-21 14:13:55 +08:00
Jare Guo
2cdc3d1b8b
Refine EngineErrorMap and sync 2D changes ( #7542 )
...
* refine Color.toCSS/toHex (sync #6216 #6207 )
* refine component.resetInEditor (sync #6244 )
* Revert "Improve error maps (#5527 )"
This reverts commit 224cea23ab .
# Conflicts:
# EngineErrorMap.md
# cocos/core/assets/sprite-frame.ts
* Revert "Component rename for new standard and 2d compatibility (#7103 )"
This reverts commit 3240dba206 .
# Conflicts:
# EngineErrorMap.md
* Remove some old deprecations (sync #6271 )
2020-10-16 10:55:32 +08:00
Jare Guo
a0a992de5d
remove asserts from addChild & sync 2D changes ( #7479 )
...
* remove asserts from addChild
* expose js._registeredClassIds & js._registeredClassNames (sync #3174 )
To unload scripts dynamically.
Also revert part of changes from https://github.com/cocos-creator/engine/pull/3204/files#diff-cabe5229c3c6e31339220008e54fe853L421
* remove unused code (sync #3174 )
* minor tweak (sync #3421 )
* should not invoke component if destroy() called before node activating (sync #3430 )
* node should removed and destroyed with scene (sync #3456 #3483 )
* fix WebGL detection on Android browsers (sync #3510 )
* remove redundant right shift for bitwise operation (sync #3754 )
* fix label blur when using dark font color (sync #3949 )
* refine tooltip of Block Input Event (sync #4053 )
* fix IE/Edge exception when output log/warn before engine initialization(sync #4447 , #4500 )
* sync class, attribute (#4689 , #4712 , #4781 , #4712 )
* fix loading unknown texture format (sync #4820 )
* prefer toLowerCase to toLocaleLowerCase + sync #5114
* optimize bezier calculation (sync #5155 )
* fix potential memory leak in scene-editor (sync #5643 )
* fix _posDirty error of Mask on native platform (sync #6168 )
2020-10-15 17:28:14 +08:00
PP
73be65cd31
support new SubContextView ( #7303 )
...
* support new SubContextView
* update
* add type property when postMessage
2020-10-08 23:57:03 +08:00
pandamicro
7481303268
Merge branch '3d-v1.2' into 3d
...
# Conflicts:
# cocos/core/3d/framework/camera-component.ts
# cocos/core/assets/mesh.ts
# cocos/core/components/component-event-handler.ts
# cocos/core/game.ts
# cocos/core/gfx/webgl/webgl-commands.ts
# cocos/core/gfx/webgl2/webgl2-commands.ts
# cocos/core/pipeline/define.ts
# cocos/core/pipeline/forward/forward-pipeline.ts
# cocos/core/pipeline/instanced-buffer.ts
# cocos/core/pipeline/render-pipeline.ts
# cocos/core/pipeline/shadow/shadow-flow.ts
# cocos/core/renderer/scene/model.ts
# cocos/core/renderer/scene/shadows.ts
# cocos/core/renderer/scene/skybox.ts
# cocos/core/splash-screen.ts
# cocos/ui/components/button.ts
# cocos/ui/components/editbox/edit-box-impl.ts
# editor/assets/primitives.fbx
# package-lock.json
# package.json
2020-09-30 18:01:33 +08:00
ChiaNing
15a1806d18
API doc format change ( #7456 )
2020-09-28 16:52:52 +08:00