James Chen
e2c8673d20
[ci] Add generate-api-docs.yml ( #17052 )
2024-05-28 17:10:11 +08:00
finscn
054f939532
Update skeleton.ts , use this._color ( #16967 )
...
unify to use this._color
2024-05-28 14:52:50 +08:00
minggo
f993d5e763
use Uint8ClampedArray to save memory ( #17047 )
...
* use Uint8ClampedArray to save memory
2024-05-28 14:46:22 +08:00
minggo
13dbc321c5
support return content policy ( #16998 )
...
* support return content policy
2024-05-28 09:49:02 +08:00
minggo
bc6c2d4d6a
Color val delete ( #17021 )
...
* remove Color._val, use r, g, b, a instead
2024-05-24 10:18:11 +08:00
minggo
c4b14bee72
update value as needed and reuse variables ( #16984 )
...
* update value as needed and reuse variables
* sync to c++
2024-05-24 09:26:43 +08:00
qiuguohua
580ffc3d81
Fix the problem that colorDirty of bmfont on web platform doesn't work. ( #17037 )
...
Co-authored-by: qiuguohua <guohua.qiu@cocos.com >
2024-05-23 17:10:43 +08:00
James Chen
bfeedd3a0d
The public method Tween.union() should not update workerTarget. ( #17020 )
...
* The public method `Tween.union()` should not update workerTarget.
Add more unit test for tween.
* Revert
2024-05-23 14:29:01 +08:00
James Chen
0a7b11708c
[v3.8.5] Support difference targets in sequence and parallel chain ( #16979 )
2024-05-21 13:54:42 +08:00
minggo
e7620a32e4
use array pool instead of shared array ( #16988 )
...
* use array pool instead of shared array
shared array will have problem if dispatching and event in a event call back function and the event type is propagationStopped
2024-05-21 13:36:19 +08:00
James Chen
163d0e1d99
[v3.8.5] [Bug] Fix some definition errors, cherry-pick from #16471 ( #17008 )
...
* [Bug] Fix some definition errors
# Conflicts:
# cocos/spine/lib/spine-core.d.ts
# package.json
---------
Co-authored-by: Sijie <devhacker520@hotmail.com >
Co-authored-by: SijieWang <itharbors@outlook.com >
2024-05-20 14:05:26 +08:00
James Chen
60bdacdddb
[v3.8.5] Add run_test_cases_pr_comment.yml ( #17011 )
2024-05-20 11:09:11 +08:00
hyde zhou
73a43bbcf1
[V3.8.5 pipeline] Export RenderWindow ( #17003 )
2024-05-17 14:18:04 +08:00
hyde zhou
65992d007d
fix multi-light bugs ( #17001 )
2024-05-17 11:17:13 +08:00
hyde zhou
cf7544b815
[V3.8.5 pipeline] Add window resize handler. ( #16965 )
2024-05-16 14:32:11 +08:00
James Chen
ead9ae05c2
Fix lots of type issues in Tween system ( #16948 )
2024-05-16 14:15:38 +08:00
minggo
3e3a3b40e9
Merge pull request #16991 from cocos/v3.8.3
...
sync V3.8.3 to v3.8.5
2024-05-16 10:48:31 +08:00
shaoqiangcai
bcb51c686e
Update run_test_cases.yml ( #16983 )
...
Printing directory information of the pr on windows
2024-05-14 09:47:01 +08:00
minggo
8d9ecf41b7
simplify codes ( #16975 )
2024-05-11 16:12:39 +08:00
minggo
0f45f25564
simplify logic ( #16974 )
2024-05-11 15:08:18 +08:00
minggo
735d5a514a
fix eslint error ( #16969 )
...
* fix eslint error
2024-05-11 14:52:50 +08:00
minggo
7087c23f72
Revert "refine Skeleton's defaultSkin, defaultAnimation ( #16635 )" ( #16972 )
...
This reverts commit 69319a769c .
2024-05-11 14:27:30 +08:00
James Chen
0395112aea
Fix two CI issues ( #16970 )
2024-05-11 13:50:09 +08:00
minggo
82dfc976e9
simplify logic ( #16966 )
...
* simplify logic
* the same logic in c++
2024-05-10 17:51:08 +08:00
hyde zhou
3f17039bef
remove previous custom pipeline ( #16964 )
2024-05-10 15:17:01 +08:00
minggo
6a04c0cea0
Some setter improve ( #16959 )
...
* only update position when the value is changed
* update rotation as needed
2024-05-10 10:19:32 +08:00
bofeng-song
c9b0361821
fix innerAudioContext.onCanPlay may not exist at some devices ( #16958 )
...
* fix innerAudioContext.onCanPlay may not exist at some devices
2024-05-09 11:11:09 +08:00
minggo
28784be4b3
only update scale when the value is changed ( #16956 )
2024-05-08 18:53:03 +08:00
shaoqiangcai
40878117c3
Swap the source of NPM ( #16953 )
...
Swap the source of NPM
2024-05-07 14:21:16 +08:00
Cocos Robot
59edeea74d
[ci skip][AUTO]: Automated code generating update: fda7cb91151ea5c6dbd151cc26729cd4d015165d ( #16941 ) ( #16947 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2024-05-06 14:30:51 +08:00
minggo
80294f7f78
Fix pool shrink ( #16941 )
...
* update engine version
* fix shrink logic error
2024-05-06 14:23:45 +08:00
hyde zhou
04e1b25940
fix joint floating point division ( #16940 )
2024-05-06 10:31:50 +08:00
bofeng-song
2d0d9f6e60
Refine: rename wrong variable name ( #16938 )
2024-05-06 10:29:21 +08:00
James Chen
4d752400cd
Fix divide zero issue in mat4.toSRT which causes node._lrot with NaN values. ( #16935 )
2024-04-29 11:24:23 +08:00
bofeng-song
30b0031290
fix the issue of material release bug for spine & dragonbone ( #16931 )
...
* fix spine cache animation delete material cache bug
* fix the issue of material release bug for spine & dragonbone
---------
Co-authored-by: xinyangtan <653588267@qq.com >
2024-04-29 09:53:24 +08:00
bofeng-song
15bffa2286
Fix the inconsistency issue between iOS and Android regarding the window.orientation values, which may cause incorrect orientation to be returned ( #16936 )
...
* Fix the inconsistency issue between iOS and Android regarding the window.orientation values, which may cause incorrect orientation to be returned
2024-04-28 13:44:06 +08:00
bofeng-song
724f2f6d22
Fixing the issue where the web browser on iOS devices doesn't behave properly when the screen rotates. ( #16934 )
...
* Fixing the issue where the web browser on iOS devices doesn't behave properly when the screen rotates.
2024-04-26 16:01:12 +08:00
GengineJS
5b2f8a6943
Resolving the issue where transparent objects fail to render when changing screen resolution. ( #16927 )
2024-04-26 00:21:06 +08:00
hulcypdiscord
de2e1e54b1
Fix for particle system render bounds center getting out of sync ( #16912 )
...
* Fix for particle system render bounds center getting out of sync with particle system location if the particle system is disabled and moved.
2024-04-24 09:44:42 +08:00
minggo
68eba07c17
use enum integer ( #16923 )
...
* use enum integer
2024-04-23 17:16:00 +08:00
James Chen
2877f3df6c
fixed #16915 : an eslint error if invoking getComponent for a union type Node | Component. ( #16921 )
2024-04-23 14:05:26 +08:00
James Chen
340e30d18c
fixed #16594 : getComponent() can't support abstract class. ( #16917 )
2024-04-22 16:41:40 +08:00
minggo
618c7022b3
deprecate some functions ( #16919 )
...
* deprecate some functions
2024-04-22 14:50:48 +08:00
bofeng-song
a461bdcab1
Correct the implementation error of the spine.skin interface, which leads to the array objects affected by the interface not being the same. ( #16909 )
...
* Correct the implementation error of the spine.skin interface, which leads to the array objects affected by the interface not being the same.
2024-04-19 11:47:29 +08:00
minggo
cde48d1750
add Vec2.toVec3() and Vec3.toVec2() ( #16906 )
...
* add Vec2.toVec3() and Vec3.toVec2()
2024-04-17 14:00:59 +08:00
minggo
56661467db
export Atlas ( #16902 )
2024-04-16 14:29:14 +08:00
minggo
72c8487dc3
Fix touch event ( #16893 )
...
* only one event processor can handle the corresponding touch end/cancel event
when touch end/cancel event is handled, other event processor that waiting to handle the touch event should be canceld.
2024-04-12 13:39:32 +08:00
minggo
24f3f6583b
support mouse leave/enter envents ( #16886 )
2024-04-10 15:14:48 +08:00
bofeng-song
0e8c314d9b
Resolve the issue of Spine displaying inconsistencies depending on whether batch is enabled or not. ( #16888 )
...
(cherry picked from commit 760049165398bb43538d442386a3a252ca40ff31)
2024-04-10 14:13:02 +08:00
qiuguohua
7d08288e6a
Fix the problem that atlas will create an extra one ( #16861 )
...
* Fix the problem that atlas will create an extra one
---------
Co-authored-by: qgh <>
2024-04-10 09:28:46 +08:00