James Chen
43a20103b9
fixed #17031 : Button could not be clicked after an exception is thrown while dispatching mouse/touch event. ( #17032 )
2024-06-04 16:07:48 +08:00
James Chen
99183fd2e4
Add Tween.update API. ( #17099 )
...
* And make ActionInterval.reverse abstract.
2024-06-04 16:07:12 +08:00
James Chen
d0fc74f113
[feature] Add Tween.pause/resume/pauseAllByTarget/resumeAllByTarget method. ( #17094 )
...
* Make Action.step/update abstract.
* Add Tween.pause/resume method.
* Add more unit tests for pause/resume/pauseAllByTarget/resumeAllByTarget.
* Add API comments for Tween.pause/resume/pauseAllByTarget/resumeAllByTarget.
* More unit tests for tween.pause/resume.
2024-06-04 14:23:31 +08:00
James Chen
1114b1bd77
Add Tween.timeScale(scale) method and Tween.duration getter ( #17088 )
...
* And Fix a repeatForever issue and add more unit test for repeatForever.
2024-06-03 21:14:46 +08:00
qiuguohua
48b507c142
Fixed SpriteRender Atlas Render Bug ( #17090 )
...
Co-authored-by: vikingsc2007 <273562225@qq.com >
2024-06-03 15:00:26 +08:00
zhefeng.zhang
d6233b82d8
add spine safety protection ( #17033 )
...
* add spine safety protection
2024-06-03 13:56:15 +08:00
James Chen
5a08884c5b
Add Tween.reverse and some features for Tween ( #17071 )
...
* Add action.setId/getId, Sequence.findAction, Spawn.findAction.
* tween clone needs to consider id
* Add Tween.id() method
* Tween.union supports to union from a specific action id.
* Add Tween.reverse
* Tween.clone() doesn't have to pass in a target parameter, make it optional.
* Add more unit test
2024-06-03 13:49:49 +08:00
媛媛
87e3058976
update meshopt default value ( #17087 )
2024-06-03 11:34:44 +08:00
Knox
f0e0e81ef4
revert the internal 2d camera far to 2000 ( #17080 )
2024-06-03 09:55:35 +08:00
minggo
7b2ffc9eda
fix logic error of set world rotation/position/scale ( #17079 )
...
* fix logic error of set world rotation/position/scale
2024-06-03 09:51:35 +08:00
finscn
9f770c63a8
修正拼写错误 ( #17077 )
...
fix typo
2024-05-31 17:45:30 +08:00
minggo
4009668e5d
fix color multiply error ( #17069 )
...
* fix color multiply error
2024-05-31 10:05:58 +08:00
hyde zhou
23219ed3b1
[V3.8.5 pipeline] Add mobile forward pipeline ( #17063 )
2024-05-30 16:53:37 +08:00
媛媛
b634293aa8
Fix Huawei agc platform not updating configurations when creating new build tasks for secondary builds. ( #17054 )
2024-05-29 17:27:34 +08:00
minggo
bc7fd3665e
fix color binding issue ( #17059 )
...
* fix color binding issue
2024-05-29 17:17:12 +08:00
James Chen
7b0fb9dfd1
Update generate-api-docs.yml ( #17061 )
2024-05-29 16:13:38 +08:00
bofeng-song
1b68e0ff1c
Fix the issue where the sound continues to play after the mute button is activated. ( #17056 )
2024-05-28 18:29:04 +08:00
minggo
78597be2c1
fix potential error if passing object is not a Color instance ( #17057 )
2024-05-28 18:21:57 +08:00
James Chen
3520efd7b9
Remove typedoc-plugin ( #17053 )
2024-05-28 17:59:15 +08:00
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