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
zheng han
53f8360a07
new prefab system ( #8000 )
...
* add prefab instance
* add prefab instance
* support add normal child in prefabInstance
* add prefabInstance check
* remove active restore
* remove unused method
* fix CI
* add children in prefabInstance
* format
* fix ci
* fix according to review suggestion
* add null check
* fix CI
* move prefabInstance into prefabInfo
* fix problem according to review
2020-12-28 21:49:27 +08:00
Santy-Wang
ad4bff3988
Restructure Module ( #7968 )
...
* module restructure
* refine
* restructure module
* merge
* revert
* fix ci
* update import path of unit-test
* split 2d and ui
* add more module
* change audio adapter
* rename primitive
* config wechat plugin
* merge
* add category config
* merge
* merge
2020-12-24 19:07:26 +08:00
cary
f15be6fe1e
Modify the forward rendering process and remove UIFlow. ( #7940 )
2020-12-24 16:09:31 +08:00
troublemaker52025
17c4946b66
Canvas split 2D camera ( #7987 )
...
* update
* update
* update
* update
* fix eslint error
* update
* update
* Add protection mechanism
* fix pr
* fix pr
* createCamera() changed public
* revert
* revert
* update
* fix remove camera component error
* update
* update
2020-12-22 18:36:30 +08:00
Santy-Wang
477ca2cb5f
Revert "Canvas split Camera ( #7955 )" ( #7983 )
...
This reverts commit d0e7e6d9a4 .
2020-12-18 14:47:09 +08:00
JoneLau
e267479e41
optimized layout ( #7970 )
...
* optimized layout
* type If none, do nothing
2020-12-18 14:08:21 +08:00
troublemaker52025
d0e7e6d9a4
Canvas split Camera ( #7955 )
...
* revert
* fix eslint ci
* fix ci
* update
* update
2020-12-18 11:12:53 +08:00
ChiaNing
974a943ae4
canvas default clean color change ( #7852 )
2020-11-25 09:45:18 +08:00
zheng han
720d372bf7
3d rename class under geometry namespace ( #7816 )
2020-11-19 11:58:33 +08:00
Knox
6e89a5356c
Fix the error caused by modifying a rendered component after it has been destroyed. ( #7798 )
2020-11-18 17:47:27 +08:00
zheng han
9872a49fb1
disallowAnimation of some property ( #7791 )
2020-11-18 14:50:45 +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
ChiaNing
a6fc79acb4
change canvas z position ( #7741 )
2020-11-09 18:18:50 +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
ChiaNing
46e1579b61
misc fix ( #7720 )
...
* Node component help doc add
* UI transform disallow Multiple
2020-11-07 11:29:21 +08:00
Yun Hsiao Wu
3e8b6ec771
raw object pool ( #7683 )
...
* raw object pool
* fix worldToScreen
* fix mesh.merge on native
* inline some adaptation computations
* enable scissor tests by default
2020-11-05 10:56:59 +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
ChiaNing
15d8ab874b
ui renderable comp onRestore add ( #7677 )
2020-11-02 18:52:09 +08:00
ChiaNing
04294655ec
bug fix: render bug when new UI ( #7672 )
...
* bug fix: render bug when new UI
* update
2020-11-02 16:26:56 +08:00
pandamicro
3068956648
Refactor gfx module naming convention ( #7663 )
...
* Remove GFX prefix in gfx module
* Full deprecation for old GFX APIs
* export gfx module
* Fix issues and make deprecated exports backward compatible
* Adaptation in engine modules for gfx
* Fix ci
* fix ci
2020-11-02 09:49:50 +08:00
ChiaNing
6ed0e81cca
new UI custom material & use hash check merge ( #7649 )
...
* new UI custom material & use hash check merge
* update
* update
* apidoc
2020-10-31 13:34:15 +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
Jare Guo
b7c56393d5
Merge remote-tracking branch 'fireball/3d' into 3d-v1.2
...
# Conflicts:
# EngineErrorMap.md
# cocos/core/assets/image-asset.ts
# cocos/core/data/class.ts
# cocos/core/data/deserialize.ts
# package.json
2020-10-28 18:37:39 +08:00
Knox
37fec6341f
sync 2d (Update the url links) ( #7613 )
2020-10-28 17:06:27 +08:00
JoneLau
351b6480e4
add image stencil in mask ( #7598 )
...
* add image stencil in mask
* update
2020-10-28 12:13:53 +08:00
cary
eaa0da71cc
Synchronize some changes of 2d engine. ( #7608 )
2020-10-28 12:08:24 +08:00
Yun Hsiao Wu
a318283a41
fix pre-rotation adaptation ( #7607 )
2020-10-28 10:28:21 +08:00
cary
6bcc7933a9
Add motion streak and particle 2d. ( #7588 )
...
* Add motion streak and particle 2d.
* fix buffer error
* modify comment error
* fix ci
* fix comment
* modify some comment
2020-10-27 11:48:17 +08:00
pandamicro
983b994e43
Merge 2.x commits ( #7600 )
2020-10-27 09:13:33 +08:00
ChiaNing
ca87207d7f
UI stencil cache add ( #7595 )
...
* stencil cache add
* function format change
* format change
2020-10-26 19:04:23 +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
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
ebe243f065
improve canvas fit design resolution code ( #7549 )
...
* improve canvas fit design resolution code
* refine code
* refine code
* refine code
* rm code
2020-10-20 18:14:07 +08:00
ChiaNing
eaaece1bf5
ui batch marge for stencil ( #7540 )
2020-10-16 14:00:22 +08:00
黄森斌
91dd63d12b
component in prefab node add __prefab attr ( #7521 )
...
* prefab component add __prefab.fileId
* Editor add CompPrefabInfo to a new component
* do not create legacyCC._CompPrefabInfo
2020-10-15 23:06:27 +08:00
ChiaNing
88ced2665e
UI material stencil state change bug fix ( #7497 )
2020-10-11 17:25:25 +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
Yun Hsiao Wu
f7ddf5a041
fix camera.clearColor ( #7462 )
2020-09-28 17:05:46 +08:00
ChiaNing
15a1806d18
API doc format change ( #7456 )
2020-09-28 16:52:52 +08:00
Jare Guo
0b1fa249da
bug fixes and sync remain codes
...
fuck
2020-09-28 16:37:24 +08:00
Yun Hsiao Wu
c2e3de2caa
GFX: public interfaces ( #7444 )
...
* public interfaces: render pass, IA, PSO
* public interfaces: Queue, Sampler, Shader, DSLayout
* public interfaces: DS, CB, Texture, Buffer, Device
* public interfaces: other supporting structs
* fix framebuffer state cache
2020-09-28 11:32:47 +08:00
pandamicro
98b8579434
translate api for components ( #7387 )
...
Co-authored-by: Jone <350791117@qq.com >
2020-09-16 13:47:31 +08:00
ChiaNing
22c57b8989
RenderTexture set bug fix ( #7355 )
...
* RenderTexture set bug fix
* update
2020-09-11 16:44:32 +08:00
JoneLau
f32d7a7880
adjust uiRender color ( #7365 )
2020-09-11 15:04:25 +08:00
pandamicro
3539945cf4
Merge remote-tracking branch 'origin/3d-v1.2' into merge1.2
...
# Conflicts:
# tests/general/sealed-global-variables.json
2020-09-03 11:30:28 +08:00
Leslie Leigh (李的序)
4e56acb851
Fix missed cc.* ( #7282 )
...
* Fix missed `cc.*`
* Fix
2020-09-02 19:04:38 +08:00
pandamicro
1d2a82d957
Merge branch '3d-v1.2' into merge1.2
...
# Conflicts:
# cocos/core/3d/framework/mesh-renderer.ts
# cocos/core/components/ui-base/ui-renderable.ts
# cocos/core/pipeline/forward/forward-pipeline.ts
# cocos/core/pipeline/forward/scene-culling.ts
# cocos/core/pipeline/render-additive-light-queue.ts
# cocos/core/pipeline/render-stage.ts
# cocos/core/pipeline/shadow/shadow-flow.ts
# cocos/core/renderer/core/memory-pools.ts
# cocos/core/renderer/scene/camera.ts
# cocos/core/renderer/scene/model.ts
# cocos/core/renderer/scene/render-scene.ts
# cocos/core/root.ts
# cocos/particle/billboard.ts
# cocos/terrain/terrain.ts
# cocos/ui/components/button.ts
# package-lock.json
# package.json
# tests/general/sealed-global-variables.json
2020-09-02 18:39:09 +08:00
pandamicro
3240dba206
Component rename for new standard and 2d compatibility ( #7103 )
...
* Rename ui related components
* Rename files
* Remove Useless errors
* Fix sealed names
* Fix sealed global variables
* Fix circular reference
* Refactor more component names
* Rename particle and animation related component
* export scene and models sub module in renderer
* Rename ModelComponents to Model
* Refactor LightComponents to Light
* Refactor CameraComponent to Camera
* Refactor ConstraintComponents to Constraint and rename physics comps
* Cleanup and fix issues
* Small fixes
* Refactor Model to MeshRenderer
* Final touch
* Fix data class export
* Better deprecation to cover all old usage
* Simpler and better deprecation with js.setClassAlias
* Fix ci
* Fix editor issue
2020-09-02 15:31:49 +08:00