Commit Graph

21372 Commits

Author SHA1 Message Date
hyde zhou a15bd7db66 Revert "[V3.8.5 pipeline] Move builtin-pipeline to internal (#17125)" (#17136)
This reverts commit bb0dde146a.
2024-06-13 10:13:37 +08:00
hyde zhou bb0dde146a [V3.8.5 pipeline] Move builtin-pipeline to internal (#17125) 2024-06-12 13:14:18 +08:00
GengineJS cf85e35f13 support webgpu (#17096) 2024-06-12 09:24:10 +08:00
hyde zhou cb353b615a [V3.8.5 pipeline] Add BuiltinPipelineSettings component (#17114) 2024-06-11 16:09:06 +08:00
James Chen 8e7aa0fdb1 [v3.8.5] Fix timeScale could not work for repeatForever. (#17118)
* Don't step if speed is 0.

* Fix timeScale could not work for repeatForever.

* RepeatForever's duration is Infinity.

* Add unit test.

* Add timeScale(0) test
2024-06-07 17:47:31 +08:00
Liu Liu fb467978e6 [Bug Fix] TiledLayer.addUserNode dynamically added nodes are not displayed (#17093)
Co-authored-by: gb <gb@gmail>
2024-06-07 14:23:06 +08:00
James Chen fd47685c86 Merge Tween.startAt(time) and Tween.start() to Tween.start(time) , and don't export the internal option ITweenOption.relative. (#17115) 2024-06-07 10:31:00 +08:00
bofeng-song 42f805579f Support multi instance of Websocket for taobao-minigame (#17014) 2024-06-05 16:08:11 +08:00
James Chen 143e984536 Don't add uuid for target implicitly (#17095) 2024-06-05 14:26:45 +08:00
James Chen 06a6ae65b7 Add Tween.startAt(time) API and add more unit test. (#17105) 2024-06-05 14:25:28 +08:00
minggo 917b2ad994 simplify code (#17100) 2024-06-04 17:31:05 +08:00
hyde zhou 019dd24dbe V3.8.5 pipeline (#17073) 2024-06-04 16:33:33 +08:00
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