minggo
95a76235b6
Adjust some files ( #12910 )
...
`cocos/core` should not depend other modules, so move some files out of `cocos/core`:
- move some files from `cocos/core` to `cocos/game`
- director.ts
- splash-screen.ts
- game.ts
- move `cocos/core/root.ts` to `cocos/root.ts` as there is not better module to contain `root.ts`.
- move `cocos/core/platform/view.ts` to `cocos/ui/view.ts` as screen related logic is moved to `cocos/core/platform/screen.ts`
2022-09-28 09:34:35 +08:00
minggo
0d7c5c8f56
move cocos/core/scene-graph to cocos/scene-graph ( #12868 )
...
* move `cocos/core/scene-graph` to `cocos/scene-graph`
* move some files in `cocos/core/components` to `cocos/scene-graph`:
- component.ts
- component-event-handler.ts
- component-event-handler-schema.ts
* move some files in `cocos/core/components` to `cocos/misc`:
- missing-script.ts
- model-renderer.ts
- renderer.ts
- camera-component.ts
* move `cocos/core/components/system.ts` to ``cocos/core/system.ts``
2022-09-26 11:02:22 +08:00
minggo
bd0fcc67c4
move cocos/core/pipeline to cocos/rendering ( #12797 )
...
* move cocos/core/pipeline to cocos/rendering
2022-09-16 16:10:26 +08:00
林玮
785fd91511
Add multi-windows support ( #12243 )
...
Co-authored-by: bofeng.song <bofeng.song@chukong-inc.com >
2022-09-15 14:55:44 +08:00
minggo
4261ccae76
move cocos/core/renderer to cocos/render-scene ( #12729 )
...
* move cocos/core/renderer to cocos/render-scene
* fix compiling error on native
2022-09-09 18:19:06 +08:00
minggo
2f10f48c15
adjust some folders ( #12712 )
...
move cocos/core/asset-manager to cocos/asset/asset-manager
move cocos/core/assets to cocos/asset/assets
merge cocos/core/builtin to cocos/asset/asset-manager
2022-09-07 18:45:54 +08:00
minggo
aba9fdb63f
Merge branch 'v3.6.1' into merge_v3.6.1
2022-09-02 20:08:18 +08:00
ChiaNing
482b20ea47
Mask Refactoring ( #12636 )
...
* first version mask
* image stencil material fix
* misc fix
* type change fix
* export fix
* some native code
* native fix
* use less remove
* remove isForMask
* material change
* delate sprite frame
* use less remove
* misc fix
* ci
* mate updte
* de
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com >
2022-09-02 10:17:44 +08:00
Zhang mingzhen
2879bb044b
add deprecated tag of "Renderable2D" ( #12606 )
...
* add deprecated tag
* move it to 2d
* supplement other 2d deprecated tags
* fix CI
* add policy description
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com >
2022-09-01 10:17:11 +08:00
minggo
c5c7b987ea
move cocos/core/gfx to cocos/gfx ( #12559 )
...
* move cocos/core/gfx to cocos/gfx
2022-08-26 17:51:46 +08:00
Zhang mingzhen
7bbce32970
static drawinfo should be reset when flushing assembler ( #12333 )
...
* static drawinfo should be reset when flushing assembler
* add reset drawinfo method
* revert mistake
* fix mistakes
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com >
2022-08-04 22:14:23 +08:00
ChiaNing
5e5c037e7b
fix label vertex color bug ( #12306 )
...
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com >
2022-08-03 17:06:47 +08:00
ChiaNing
985f4fd94c
Fix pass hash when blend change ( #12294 )
...
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com >
2022-08-02 16:05:24 +08:00
ChiaNing
f8fb03e9af
remove blend state on ui render ( #12228 )
...
* remove blend state on ui render
* tiledGourp updateBlendFunc hack
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com >
2022-07-29 11:54:28 +08:00
ChiaNing
c538fd6d18
change Renderable2d name ( #12213 )
...
* change Renderable2d name
* misc
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com >
2022-07-27 14:25:14 +08:00
Santy-Wang
52cd47fa08
optimize frame animation performance ( #12209 )
...
* optimize frame animation performance
* refine code
2022-07-27 10:21:13 +08:00
minggo
ccb5fb97e0
prevent adding more than one rendering component to a node ( #12121 )
2022-07-21 14:47:13 +08:00
Santy-Wang
2ae2d94b93
optimize performance ( #12080 )
...
* optimize performance
* fix binding
* fix bugs
* fix bugs
* fix crash
* remove useless func
* fix ci
* fix ci
* fix ci
2022-07-21 11:50:43 +08:00
Santy-Wang
ddfa13e4cf
optimize a bit jsb call ( #12065 )
2022-07-19 11:36:25 +08:00
Zhang mingzhen
1fd70ef5e7
UIOpacity and UIRenderer recursion bug ( #12015 )
...
* optimize JSB sync in every frame
* opacity bug, enabled doesn't sync to native
* UIOpacity and UIRenderer recursion
* avoid parameters are undefined
* resolve circular dependency
* exclude UIMeshRenderer in setEntityColorDirtyRecursively
* exclude UIMeshRenderer in UIOpacity setEntityLocalOpacityDirtyRecursively
* blend hash should put into passdirty
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com >
2022-07-18 15:42:02 +08:00
ChiaNing
1bf931f29b
fix graphics update material crash ( #12038 )
...
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com >
2022-07-16 17:19:00 +08:00
ChiaNing
4534698708
mask _updateBuiltinMaterial overload ( #12033 )
...
* mask update material overload
* function change
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com >
2022-07-16 13:35:12 +08:00
ChiaNing
6b64c7e8da
Remove custom Material flag ( #12021 )
...
* Remove custom Material flag
* remove commit model material
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com >
2022-07-16 09:36:32 +08:00
ChiaNing
eeb210d55b
fix ui render custom material bug ( #11989 )
...
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com >
2022-07-14 17:28:27 +08:00
Santy-Wang
945e715a9c
restructure life cycle ( #11971 )
...
* restructure life cycle
* fix bugs
* optimize
* remove some code
* refine
* fix dragonbone custom material
* fix particle crash
* changed to CCAssert
Co-authored-by: liqiao <liqiao@cocos.com >
2022-07-14 16:33:30 +08:00
Zhang mingzhen
731d703648
Mask to native bug fix ( #11913 )
...
* mask inverted bug fix
(cherry picked from commit dc695c992983042ca7af3ac91051db40049dfbd1)
* sync customMaterial for commitIA of middleware in native
* fix CI
* remove abundant mask code
* add nolint
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com >
2022-07-11 13:43:56 +08:00
Zhang mingzhen
b32830a3e8
V3.6.0 batcher2d to native ( #11592 )
2022-07-08 17:10:48 +08:00
Santy-Wang
7bc135e1c7
adjust initialization process ( #11143 )
...
* adjust init process
* fix bugs
* restructure
* tweak
* delete useless code
* fix ci
* support more platform and fix some bugs
* mark internal
* tweak
* add docs
* add docs and little adjustment
* fix bugs
* adjust decorator execute order
fix mesh error
* fix bugs
* revert some change
* revert auto-generated code
* revert auto-generated code
2022-07-03 21:16:09 +08:00
ChiaNing
6ca746e64e
Sprite Renderer add ( #11634 )
...
* Revert "Revert "First Version Sprite Renderer(Rect mode) (#10592 )" (#11626 )"
This reverts commit abc8f47b6f .
* bug fix & doc add
* add mesh check
* function name change
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com >
2022-06-23 12:46:15 +08:00
ChiaNing
abc8f47b6f
Revert "First Version Sprite Renderer(Rect mode) ( #10592 )" ( #11626 )
...
This reverts commit d7d9c6cce7 .
2022-06-20 20:22:53 +08:00
ChiaNing
d7d9c6cce7
First Version Sprite Renderer(Rect mode) ( #10592 )
...
* First Version Sprite Renderer
* Serialize Vertices
* remove
* Sorting Layer & Sorting Order add
* fix for trim mode
* SpriteFrame inspector change
* Revert "Sorting Layer & Sorting Order add"
This reverts commit ca000ad79dadc4d09707a06c4514abdb6ab0fc6f.
* misc fix
* format change
* import change
* useless builtin res remove
* misc fix
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com >
2022-06-20 17:35:50 +08:00
PP
ef3c839838
ban UI hitTest on renderTexture ( #11299 )
2022-06-20 10:07:14 +08:00
pandamicro
8864f2f4c7
Merge remote-tracking branch 'cocos-for-editor/v3.5.2' into merge3.5
...
# Conflicts:
# cocos/core/components/renderer.ts
# cocos/core/global-exports.ts
# cocos/core/renderer/core/render-scene.ts
# cocos/core/renderer/core/render-window.ts
# cocos/core/renderer/scene/index.ts
# cocos/core/root.ts
# cocos/core/scene-graph/scene-globals.ts
# package.json
2022-06-09 15:20:30 +08:00
minggo
7814949998
Merge branch 'v3.5.1' into v3.6.0_merge_v3.5.1
2022-05-24 11:53:57 +08:00
pandamicro
dba83c270d
Fix multi blank lines ( #11116 )
2022-05-17 11:56:06 +08:00
ChiaNing
045e6430cb
add base-Renderer and separate & rename renderableComp ( #10903 )
...
* add base-Renderer and separate & rename renderableComp
* rename
* some fix
* misc fix
* format change
* file name change & api doc add
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com >
2022-05-09 17:44:56 +08:00
ChiaNing
28b6503087
fix some ui api doc ( #10969 )
...
* fix some ui api doc
* update
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com >
2022-05-06 19:22:34 +08:00
Leslie Leigh (李的序)
5fd18f942b
Fix missed links ( #10938 )
2022-05-06 10:10:36 +08:00
Santy-Wang
23de9188ba
V3.5 docs ( #10898 )
...
* adjust api docs and delete useless annotation
* delete useless annotation
2022-04-27 15:22:22 +08:00
ChiaNing
968ab9d71a
fix some api doc ( #10868 )
...
* fix some api doc
* add misc
2022-04-25 21:15:19 +08:00
ChiaNing
6ce58a2eb0
API Doc link change ( #10845 )
2022-04-25 10:30:52 +08:00
PP
d749bbe1c4
remove legacyPublic tag ( #10702 )
2022-04-08 19:41:20 +08:00
minggo
be735449af
Revert "remove some deprecated api ( #10656 )" ( #10694 )
...
This reverts commit a1b1fc5a09 .
2022-04-08 11:51:06 +08:00
minggo
a1b1fc5a09
remove some deprecated api ( #10656 )
...
* remove some deprecated api
2022-04-07 16:31:02 +08:00
ChiaNing
240decee5f
customMaterial disallow animation ( #10601 )
2022-03-31 15:30:58 +08:00
ChiaNing
864535baab
fix opacity bug when active false ( #10595 )
2022-03-30 17:52:22 +08:00
PP
5ef14f649f
remove help decorator on non-component class ( #10503 )
2022-03-25 16:25:30 +08:00
PP
96f3bd00e3
fix pointer event when camera.orthoHeight changed ( #10496 )
...
* deprecated uiTransform.isHit with hitTest method
* use hitTest instead of isHit
* add type info
* update
2022-03-25 13:53:09 +08:00
Santy-Wang
ab82e1b42d
remove hidden ( #10414 )
...
* remove hidden
* fix typo
* fix unit-test
* turn on auto fix
2022-03-22 15:11:16 +08:00
zhakesi
1f4e10a0c8
fix spine/dragonbones opacity update ( #10349 )
...
* fix spine/dragonbones opacity update
* fix use ui-opacity with spine on editor
Co-authored-by: zhakesi <zhakesi@foxmail.com >
2022-03-21 19:51:34 +08:00