ChiaNing
d2d7623e9d
Integration of outline and shadow to label ( #16106 )
...
* Integration of outline and shadow to label
* add test
* change getter/setter
* name change & use assert
* test name change
* name change
* fix
* remove old attribute & add visible
* remove assert
* fix: gulp-build-h5-source
* Revert "fix: gulp-build-h5-source"
---------
Co-authored-by: PP_Pro <chinese1236@qq.com >
2023-09-20 11:14:42 +08:00
Santy-Wang
daa4a4ffbc
remove unnecessary code ( #15687 )
...
* Revert "Revert "remove useless code (#15682 )" (#15683 )"
This reverts commit b318b39eb9 .
* fix lint
* Revert "fix lint"
This reverts commit 269acd1715a93d59f61286d336afa9a03f07f805.
* revert some change
* fix lint
2023-08-18 14:40:26 +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
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
Santy-Wang
b318b39eb9
Revert "remove useless code ( #15682 )" ( #15683 )
...
This reverts commit 9f035047c7 .
2023-07-11 20:50:41 +08:00
Santy-Wang
9f035047c7
remove useless code ( #15682 )
2023-07-11 20:42:46 +08:00
ChiaNing
7f201a0ca3
fix label Precision ( #15594 )
2023-07-03 17:40:14 +08:00
minggo
7ef995b655
Merge branch 'v3.8.0' into v3.8.1-merge-v3.8.0
...
Conflicts:
cocos/3d/lights/spot-light-component.ts
cocos/animation/event/event-emitter.ts
cocos/physics-2d/box2d/physics-contact.ts
cocos/physics-2d/box2d/physics-world.ts
cocos/physics-2d/box2d/platform/physics-contact-listener.ts
cocos/physics-2d/builtin/builtin-world.ts
cocos/physics/framework/components/constraints/configurable-constraint.ts
cocos/spine/assembler/simple.ts
cocos/spine/skeleton.ts
native/cocos/editor-support/spine-wasm/spine-model.cpp
native/cocos/editor-support/spine-wasm/spine-model.h
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/external-config.json
2023-07-03 15:25:13 +08:00
ChiaNing
8e5ea9342c
fix label limit canvas size bug ( #15514 )
...
* fix label limit canvas size bug
* limit recursion time
* fix
* fix
* move
* change
* change
* name change
2023-06-29 18:58:04 +08:00
minggo
e7c5b34e18
Merge branch 'v3.8.0' into v3.8.1-merge-v3.8.0
...
Conflicts:
cocos/2d/assembler/label/text-processing.ts
cocos/physics/bullet/instantiated.ts
cocos/profiler/profiler.ts
cocos/rendering/custom/executor.ts
cocos/rendering/custom/index.ts
cocos/rendering/custom/web-pipeline.ts
cocos/rendering/pipeline-scene-data.ts
cocos/root.ts
cocos/spine/assembler/simple.ts
cocos/spine/lib/instantiated.ts
cocos/spine/lib/spine-define.ts
cocos/spine/skeleton.ts
2023-06-27 13:35:35 +08:00
ChiaNing
202e50ec55
fix bmfont render bug ( #15510 )
...
* fix bmfont render bug
* fix
2023-06-21 17:05:57 +08:00
ChiaNing
5edc55140d
Fix Android text truncation problem ( #15448 )
...
* Fix Android text truncation problem
* fix calculation bias
* move
* limit android
* Revert "limit android "
This reverts commit 12dfcd0b3ed82be0cf3cf16340859bfd444166d8.
* Revert "Revert "limit android ""
This reverts commit 2aaf4162ada7850672c532098e530636e593642f.
* remove round
* fix
2023-06-19 17:55:57 +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
ChiaNing
a88cdecadf
limit font scale to 1 ( #15367 )
...
* limit font scale to 1
* to fix 1
* move
2023-06-08 17:48:48 +08:00
ChiaNing
58299f0ef4
fix label auto Atlas bug ( #15356 )
2023-06-07 18:40:20 +08:00
May2nd
d962a3d374
- fix memory leak on tiled resized ( #15212 )
...
Co-authored-by: Viet <>
2023-06-07 18:18:38 +08:00
ChiaNing
2862b75391
fix bm font anchor bug ( #15353 )
2023-06-07 14:56:08 +08:00
ChiaNing
eb94bbaefe
fix font scale limit bug ( #15342 )
...
* fix font scale limit bug
* name change
2023-06-07 10:39:56 +08:00
ChiaNing
7b60d75daa
HD processing of ttf mode labels ( #15206 )
...
* Adding ttf is affected by dpr
* Adding Char mode is affected by dpr
* move dpr to style
* rebase & add max font size
* name change
* remove use less
* misc
2023-06-05 18:14:22 +08:00
ChiaNing
0796fb1e3d
Text Processing Refactoring ( #14739 )
...
* text processing file add
* processing String
* render & effect
* bmfont add
* char mode add
* code collate
* use less remove
* after rebase and change Sync
* add data class
* fix bm font clamp bug
* fix bitmap mode
* fix ci
* fix misc
* fix ci
* remove some code
* remove data class
* name change
* bug fix
2023-05-25 11:56:45 +08:00
minggo
a22d16bbe6
Merge branch 'v3.7.3' into merge_v3.7.3
2023-04-24 11:26:58 +08:00
May2nd
78b1fbfa83
- fix bmfont kerning scale ( #14776 )
...
Co-authored-by: Viet <>
2023-04-12 13:49:03 +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
SijieWang
8487ecb43f
[Optimize] Streamlined Code impl.ts ( #14555 )
2023-03-15 18:02:39 +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
ChiaNing
512856d6ec
fix char label color bug ( #14467 )
2023-03-06 13:52:13 +08:00
李吉林
e5fe41fbdd
remove abs from rhw in transformMat4 ( #14483 )
2023-03-06 11:03:27 +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
c24c02ecc3
Label Bug Fix: init chunk when createData ( #13851 )
2022-12-20 14:06:26 +08:00
江战
f6854cd16e
native introduce jsb.window ( #13816 )
2022-12-16 13:50:59 +08:00
santy-wang
a8913f5f16
Merge branch 'v3.6.2' of github.com:cocos-creator/engine into develop
2022-11-07 14:19:59 +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
ChiaNing
77aa17c70e
fix earcut type error ( #13037 )
...
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com >
2022-10-13 17:24:56 +08:00
Zhang mingzhen
37e67d55c8
Richtext add child optimization v3.7 ( #13002 )
...
* add child optimization(in 3.6.2)
(cherry picked from commit 6f44dd375faa1d62becf25818abc4f83ad7e08d1)
* add estimation before calculate size precisely
(cherry picked from commit 92b26a6f6b8f78abd2bcafffbe2a9c86b18a1e50)
* add anotations
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com >
2022-10-10 16:00:56 +08:00
Zhang mingzhen
bfa5a0ef18
richtext addChild optimization ( #12928 )
...
* 1. remove rebundant invoking
2. ttf canvas texture resizes to width and height as (1,1)
* remove start() and move it to onLoad()
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com >
2022-09-28 11:39:29 +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
santy-wang
f33523227f
sync v3.6.1 to develop
2022-09-19 14:00:54 +08:00
LeeYip
44dd12a6fe
[fix] bmfont uv bug when overflow is clamp ( #12374 )
2022-09-14 11:42:39 +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
ec2043092e
filled sprite color is incorrect with uiOpacity parent ( #12533 )
...
* 1. updateColorLate is rebundant
2. UIOpacity add node condition
* consistent interrupt opacities should be multiplied to the entity
* remove entity is null condition
* use isValid
* add comment
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com >
2022-08-30 11:21:37 +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
QingliWang
6a8f53b186
Add features for XR developement. ( #12413 )
...
* Change Android mainloop, add global config and template projects for XR.
* Change gfx/gles device's process flow for XR, working with other PRs, waiting.
* Change gfx/Vulkan device's process flow for XR, working with other PRs, waiting.
* Change render process for XR.
* Develop XR input and events.
* Develop 3D feature of UI widgets and raycast effect for XR.
Co-authored-by: fqamic <fqamic@vip.qq.com >
2022-08-22 16:34:45 +08:00
ChiaNing
1d557ed6fe
UI performance optimization ( #12390 )
...
* Sprite performance optimization
* inline function
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com >
2022-08-11 19:22:14 +08:00