James Chen
1f6748026f
Optimize code size for 2d module. ( #18239 )
2025-01-23 09:21:58 +08:00
James Chen
aa841bd7f7
[v3.8.6] [2D Skew comes back] Add UISkew component support. ( #18212 )
2025-01-22 16:38:56 +08:00
James Chen
36d3d58268
[v3.8.6] Fix 'as any' in ui-component.ts which will lost type for UIComponent ( #18218 )
2025-01-21 10:35:08 +08:00
James Chen
835119f771
[v3.8.6] Mangle more static properties by configuration. ( #18205 )
2025-01-17 14:06:02 +08:00
James Chen
a107d84826
[v3.8.6] Inline enum for particle 3d module. ( #18193 )
...
* [v3.8.6] Inline enum for particle 3d module.
* Fix a compilation error in shape-module.ts
2025-01-15 14:21:32 +08:00
James Chen
67a0736410
[v3.8.6] Optimize code size: Add an internal method ( Node.getUITransformComp ) which could be mangled to avoid invoking the code ._uiProps.uiTransformComp that could not be mangled. ( #18165 )
...
* [v3.8.6] Optimize code size: Add an internal Node.getUITransformComponent which could be mangled to avoid invoking the code `._uiProps.uiTransformComp` that could not be mangled.
2025-01-13 09:58:56 +08:00
GengineJS
08b5221e12
Fix the UI error issues caused by adjustments to the batching and splitting of UI elements. ( #18052 )
2024-12-25 10:45:46 +08:00
James Chen
32bf693992
Revert "Fix the issue where UI batching breaks under specific conditions. (#1…" ( #18051 )
...
This reverts commit 4eb1074833 .
2024-12-18 11:03:22 +08:00
GengineJS
4eb1074833
Fix the issue where UI batching breaks under specific conditions. ( #17900 )
...
* Fix the issue where UI batching breaks under specific conditions.
2024-11-22 09:05:21 +08:00
Knox
eac044e4fc
Fix editor preview, canvas component calculates Camera invalidly ( #17856 )
2024-11-18 09:44:39 +08:00
Knox
43f16f1ded
refine rich text and other i18n ( #17802 )
...
* refine rich text and other i18n
2024-11-04 16:04:20 +08:00
James Chen
e77c0be21a
[v3.8.5] cclegacy.xxx invocations should be converted to relevant type which will help refactoring and error reporting. ( #17753 )
...
* [v3.8.5] cclegacy.xxx invocations should be converted to relevant type which will help refactoring and error reporting.
* Update model.ts and pipeline-scene-data.ts
* Update @engineInternal comments.
2024-10-31 09:53:41 +08:00
James Chen
f4ccf3a8bb
[v3.8.5] Support inline enum and mangle private variables to reduce engine size. ( #17703 )
2024-10-15 10:17:16 +08:00
qiuguohua
3e78462642
Canvas listens to design resolution changes ( #17633 )
...
Co-authored-by: qgh <>
2024-09-13 14:50:35 +08:00
James Chen
32727868b0
Reduce the generated javascript code size ( #17491 )
2024-08-06 18:14:44 +08:00
qiuguohua
6f630de1d1
Get the length of _dirtyRenderers directly ( #17401 )
...
Co-authored-by: qiuguohua <guohua.qiu@cocos.com >
2024-07-23 11:35:25 +08:00
qiuguohua
0af983ca86
Listen for changes to the canvas ( #17350 )
...
Co-authored-by: qiuguohua <guohua.qiu@cocos.com >
2024-07-11 10:09:56 +08:00
James Chen
96a1b61976
Fix an error of mesh.renderingSubMeshes is undefined ( #16539 )
...
* Fix an error of mesh.renderingSubMeshes is undefined
* Update renderingSubMeshes checking logic
2023-11-27 14:44:22 +08:00
Leslie Leigh (李的序)
3781d34b34
Label component inspector localization ( #16234 )
...
* Label component inspector localization
* Update editor/i18n/zh/modules/ui.js
* Update
2023-10-11 14:47:54 +08:00
ChiaNing
f4a7b95767
fix sprite world matrix update bug ( #15978 )
...
* fix sprite world matrix update bug
* fix by flag Changed Version
* add test
* CI & more test
2023-08-18 14:32:30 +08:00
pandamicro
9b08b34a2b
Replace Renderer setMaterial with setSharedMaterial ( #15980 )
...
* Replace Renderer setMaterial with setSharedMaterial
* Fix all usage of Renderer.setMaterial
* Soft deprecate Renderer.setMaterial
* Remove unnecessary change
2023-08-17 13:15:21 +08:00
Jiujiang Liu
f55abfa949
remove _fitDesignResolution function call in EVENT_AFTER_UPDATE ( #15802 )
...
* fix can't adjust the 2D camera in editor
* simple code
* update function name
* remove unused import function
* use anchorX
* update code
2023-08-09 10:05:39 +08:00
minggo
802a1f0959
Merge branch 'v3.8.0' into v3.8.1-merge-v3.8.0
...
Conflicts:
cocos/core/utils/x-deprecated.ts
cocos/physics/bullet/instantiated.ts
cocos/physics/framework/components/character-controllers/character-controller.ts
cocos/render-scene/scene/shadows.ts
cocos/rendering/render-shadow-map-batched-queue.ts
cocos/spine/lib/instantiated.ts
cocos/spine/lib/spine-define.ts
cocos/spine/skeleton.ts
native/cocos/editor-support/spine-wasm/AtlasAttachmentLoaderExtension.cpp
native/cocos/editor-support/spine-wasm/spine-skeleton-instance.cpp
native/cocos/editor-support/spine-wasm/spine-skeleton-instance.h
native/cocos/editor-support/spine-wasm/spine-type-export.cpp
native/cocos/editor-support/spine-wasm/spine-wasm.cpp
native/external-config.json
2023-07-12 16:02:10 +08:00
ChiaNing
8d235204de
add renderRoot2d help ( #15644 )
2023-07-07 12:01:58 +08:00
PP
b8a96f0080
fix type in debug.ts ( #15426 )
...
* fix type in debug.ts
2023-06-14 11:33:00 +08:00
PP
509d73b27d
merge branch v3.8.0-aot ( #15421 )
...
* PR1: add explicit function return type (#15311 )
* PR4: add explicit function return type (#15314 )
* [ci skip][AUTO]: Automated code generating update: 8843bfe54cd3f8e6f84432948716c8d130ecb233 (#15314 ) (#15357 )
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
* add function return type
* fix version checking
* fix return type
---------
Co-authored-by: Cocos Robot <48829427+cocos-robot@users.noreply.github.com >
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2023-06-13 18:08:45 +08:00
pandamicro
c8d3be08a3
Fix issues in Node.updateWorldTransform and UITransform.getBoundingBoxTo[World] ( #15273 )
...
* Fix transform update issue when only rotation is set to root node
* Fix UITransform.getBoundingBoxTo and UITransform.getBoundingBoxToWorld
* Improve API and test
* Fix native Node::updateWorldTransform
* Fix UITransform.getBoundingBoxTo
* Fix getBoundingBoxTo by ensuring one time rect transform
* Ignore zero sized rect for bounding box calculation
* Improve API doc
2023-06-07 11:10:28 +08:00
minggo
a22d16bbe6
Merge branch 'v3.7.3' into merge_v3.7.3
2023-04-24 11:26:58 +08:00
zxx43
fbbdab53a4
use getSharedMaterial to replace getMaterial ( #14814 )
...
* use getSharedMaterial to replace getMaterial
* call getSharedMaterial directly
* modify note
2023-04-19 11:07:46 +08:00
ChiaNing
36750fb4b2
spriteRenderer sort bug ( #14785 )
2023-04-18 10:19:02 +08:00
黄森斌
eefa3401ea
fix bug: some enum props of material show error interface ( #14767 )
2023-04-13 16:39:46 +08:00
ChiaNing
281bf038ea
remove blendFactor deprecated in UIRenderer ( #14777 )
2023-04-11 19:14:54 +08:00
minggo
60fa48ba7c
make UIRenderer._srcBlendFactor protected ( #14685 )
...
* make UIRenderer._srcBlendFactor public
2023-03-30 14:44:12 +08:00
minggo
37f89f4cb0
make UIRenderer._renderData as protected ( #14677 )
...
* make UIRenderer._renderData as public
2023-03-29 11:07:13 +08:00
PP
e01ac3ee05
add tracking issue for TODO item ( #14638 )
...
* issue 14637
* issue 14640: animation module
* issue 14642: serialize deserialize hack
* issue 7519: pal/image
* issue 14643: dynamic inject
* mark as NOTE
* issue 14644: native only
* issue 7512: pal/fs
2023-03-23 16:42:46 +08:00
PP
fa51b804b5
remove and ban @ts-expect-error ( #14572 )
...
* remove ts-expect-error usage in engine
* deprecate Scheduler interface
* remove JavaScriptCore
* set some engineInternal public property as getter setter
* fix build-declaration
* fix releaseManager export name conflict
* update scriptEngineType
* fix and update some comment
* remove w_mat, w_pos, w_rot, w_scale
* update renderer
* fix setRootBufferDirty not binding on native
* optimize floatToHashString
* mark NOTE
2023-03-20 13:48:26 +08:00
santy-wang
0a81bf445e
Merge branch 'develop' of github.com:cocos-creator/engine into v3.7.2
2023-03-13 16:51:47 +08:00
PP
386ec2895a
[cherry-pick] AOT-3: optimize uinstrict code ( #14315 ) ( #14523 )
...
* AOT: optimize uinstrict code
- mark some unstrict code as TODO
- remove some unstrict code
* update comment
* remove ts-check
# Conflicts:
# cocos/2d/framework/deprecated.ts
# cocos/asset/assets/image-asset.jsb.ts
# cocos/asset/assets/texture-base.ts
# cocos/core/assets/image-asset.ts
# cocos/core/math/rect.ts
# cocos/core/scene-graph/scene-globals.jsb.ts
# cocos/native-binding/impl.ts
# cocos/scene-graph/node-dev.ts
# cocos/scene-graph/scene-globals.ts
# exports/sorting.ts
2023-03-10 13:36:45 +08:00
ChiaNing
82f11e00a1
update ui vb when renderFlag change by color ( #14405 )
2023-03-01 17:50:15 +08:00
王凯鹏
ecaafc853d
[Bug] fix tween color cause console error in editor preview ( #14412 )
...
* [Bug]fix tween color console error in editor preview
* [Bug] 调整修改方式
2023-03-01 14:42:58 +08:00
ChiaNing
b603baae23
Improve api doc (2d&UI) ( #13898 )
...
* Improve api doc (2d&UI)
* remove @internal
* msic
* remove eracut
* update doc
* Update
* fix
* misc
2023-02-08 14:25:48 +08:00
pandamicro
afd22296b4
MIT license update and to new year 2023 ( #13927 )
...
* Cpp MIT license update and to date
* TS MIT license update and to date
2022-12-28 11:25:12 +08:00
ChiaNing
3d3847f2d9
fix ui transform recursion bug ( #13848 )
2022-12-19 16:14:34 +08:00
ChiaNing
0f815a5244
fix UI material instance bug ( #13583 )
...
* fix UI material instance bug
* use less remove
* change
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com >
2022-12-06 10:34:58 +08:00
Zhang mingzhen
07c64eefdf
Renderable2D is deprecated, set removed as false ( #13485 )
...
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com >
2022-11-23 11:46:45 +08:00
minggo
83a2717fac
Fix module import ( #13140 )
...
* fix core module import style
* import murmurhash2_32_gc from core module
* do not export visibleRect
2022-10-25 16:38:38 +08:00
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