Commit Graph

5728 Commits

Author SHA1 Message Date
James Chen 4ce3e6e64e fixed #16562: Wasm support for ByteDance minigame platform (#16628) 2023-12-20 09:54:54 +08:00
minggo cfccc5d2af Fix typo in html-text-parser.ts (#16625)
Co-authored-by: Elias Griffith <11166320+bb00@users.noreply.github.com>
2023-12-19 15:39:19 +08:00
minggo 7759568a07 fix lint (#16623) 2023-12-19 11:54:20 +08:00
Leslie Leigh (李的序) da9c103ad3 Add Vec3.signedAngle (#16013)
* Signed angle

* Update cocos/core/math/vec3.ts

---------

Co-authored-by: Leslie Leigh <leslieleigh@outlook.com>
2023-12-19 11:46:29 +08:00
minggo 4cd8d65b98 use its own destruct function (#16622) 2023-12-19 11:29:27 +08:00
minggo 92ea67eef3 change return type to boolean (#16616) 2023-12-18 11:50:14 +08:00
minggo 75d86a916b do not have to convert to radian (#16611) 2023-12-15 15:56:20 +08:00
GengineJS a0e2a92e3f Optimize executor code structure (#16600) 2023-12-12 23:09:55 +08:00
minggo cc3a3d005a update engine version (#16590) 2023-12-12 10:19:06 +08:00
minggo 8bfa2e11fd remove unneeded codes (#16585) 2023-12-11 15:10:48 +08:00
minggo 4908fe42fb return radians for angular velocity (#16580) 2023-12-11 10:04:33 +08:00
minggo e4da0cbfbf Merge pull request #16568 from cocos/v3.8.2
sync v3.8.2 to v3.8.3
2023-12-08 09:15:40 +08:00
GengineJS dd41f380f9 Fix the conflict between bloom pass and profiler pass (#16574) 2023-12-08 00:27:04 +08:00
bofeng-song d25d3b1fa5 Fix the socket target in Spine is not functioning correctly (#16572) 2023-12-07 17:36:06 +08:00
minggo f29e8d59ca return corect inertia (#16566) 2023-12-07 15:45:03 +08:00
minggo fad2b8faab fix logic error in Vec3.rotateN() (#16564) 2023-12-06 15:50:57 +08:00
hyde zhou 993493a9e7 add disable cpu light-culling to improve cyberpunk (#16551)
* add disable cpu light-culling to improve cyberpunk

* revert lint
2023-11-30 16:11:57 +08:00
qiuguohua bae1a4ad64 If the parent node has a uiopacity component, it does not need to be initialized (#16526)
* If the parent node has a uiopacity component, it does not need to be initialized
---------

Co-authored-by: qgh <>
2023-11-30 11:19:11 +08:00
Knox 43816a513a fix light probe group not 'lightProbeInfo.update' after 'lightProbeInfo.syncData' (#16545) 2023-11-30 11:09:24 +08:00
hyde zhou 5f0cbf5a25 add missing directional light shadow ubo (#16548)
* add missing directional light shadow ubo

* fix lint
2023-11-30 10:27:42 +08:00
finscn 3c6a6fbc03 [scroll-view] call _processDeltaMove() in update() (#16541)
call `_processDeltaMove()` in `update()`
it should not call  run _processDeltaMove()  in every touch move event ,  it will take bad performance.
2023-11-29 09:33:00 +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
hyde zhou 674a980c6f fix billboard rendering (#16532) 2023-11-24 17:13:33 +08:00
bofeng-song f5ca599348 fix spine can not show normally or crash (#16528) 2023-11-23 11:24:50 +08:00
GengineJS e4e4f10fa8 Fixed an issue where the screen was still after resizing the window (#16524) 2023-11-21 10:28:38 +08:00
bofeng-song 734606ced4 Fix the problem of the animation playing faster in realTime mode than in cache mode on the web platform for Spine. (#16520) 2023-11-20 11:21:30 +08:00
bofeng-song 348b7ed803 fix updateSkeletonData reenter & fix spine can not show normally at realTime mode (#16519) 2023-11-20 10:02:09 +08:00
bofeng-song 7274a94eb8 refine & fix spine can not show normally while work on cache mode (#16516) 2023-11-17 20:57:23 +08:00
James Chen 245377ac8a Read downloadMaxConcurrency in settings.json (#16453) 2023-11-17 11:38:30 +08:00
bofeng-song 60627e2c5e fix skeleton's setTrackXXXListener doesn't work on web platform (#16512)
* fix setTrackxxxListener doesn't work on web platform
2023-11-16 21:16:56 +08:00
GengineJS e50f3787a3 Fixed display issues caused by texture caching after switching scenes (#16508) 2023-11-14 18:11:59 +08:00
James Chen 8428fc4c8a Fix comment in state-machine-component.ts (#16502) 2023-11-10 18:14:12 +08:00
James Chen 02b838a486 Fix GFX object export on native platforms. (#16481) 2023-11-10 11:53:16 +08:00
GengineJS 6963c248a0 Fixed the issue where the screen would be abnormal after switching the light source scene. (#16491)
* Fixed the issue where the screen would be abnormal after switching the light source scene.

* Update native
2023-11-09 18:59:44 +08:00
bofeng-song 6d31bbdd03 Optimize spine performance & fix memory leaks. (#16485)
* Optimize spine performance & fix memory leaks.

* Optimize array swapping from WASM to TS.

* add cached objects to avoid duplication Create arrays.

* Fix cache mode & edit mode display exception.

* Optimize the process related to updating skeletal data.

* update attach-util.

* optimize spine attach node logic.

* Optimize color refresh logic.

* Fix spine cache mode memory leak.

* remove unneeded code.

* remove unneeded code & fix code format.

* optimize computeWorldVertices to avoid every call to new SPVectorFloat();.

* fix js error on native platform


---------

Co-authored-by: Canvas <canvasfull@gmail.com>
2023-11-09 16:57:34 +08:00
minggo 18ec4dd39b fix touch event dispatching issue (#16468)
if a node is disabled when handling touch event, then it should not continue to
handle other touch events, such as touch move or touch cancle.
2023-11-09 09:59:36 +08:00
GengineJS ff74ecc66a Fix planar shadow (#16484) 2023-11-08 12:00:13 +08:00
hyde zhou e2d0ec3658 V3.8.2 pipeline (#16244) 2023-11-07 11:36:32 +08:00
江战 7e459d2ab9 ADPF bindings (#16445) 2023-11-02 11:26:36 +08:00
qiuguohua 043c4dcc3c Fix tween.sequence not supporting single parameter (#16443)
* fix tween.sequence

* add sequence unit test

* Fix tween.sequence not supporting single parameter

* semicolon added

---------

Co-authored-by: zxx43 <zxx43@hotmail.com>
Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2023-11-01 11:03:18 +08:00
zxx43 70220eb13e [2d particle] clear renderData when reset (#16251) 2023-10-26 17:24:18 +08:00
SijieWang 02f35dd266 Merge pull request #16442 from cocos/v3.8.1
Revert "Fix sprite size mode change by preload (#15908)" (#16388)
2023-10-26 11:19:24 +08:00
Zeqiang Li e9b7fd3ab7 update wgpu external && missing web logic (#16433) 2023-10-20 17:19:30 +08:00
Cocos Robot 9cecd052da [ci skip][AUTO]: Automated code generating update: e59f2aaa4ba873e59e9fa216b340d35ca04b55d7 (#16316) (#16427)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-10-19 09:38:16 +08:00
徐兵 99b50a5341 add dof (#16426) 2023-10-16 17:17:10 +08:00
troublemaker52025 b0c25b0852 add bias for planar shadow (#16316) 2023-10-16 17:02:11 +08:00
Ling Zhan 590ef3385a [fix] box2d-wasm supports split loading (#16412) 2023-10-13 16:16:54 +08:00
Ling Zhan 38bcd20e9f V3.8.2 bullet embind (#16350)
* bullet wasm embind

# Conflicts:
#	tests/init.ts

* replace imports with abstract methods of class

* embind performance opt

* wasm split loading

* tweak

* update native/external-config.json 3.8.2-14
2023-10-13 16:16:23 +08:00
Zeqiang Li a73168142c storage image usage fix (#16404) 2023-10-12 14:02:32 +08:00
Leslie Leigh (李的序) d75496e187 Physics material inspector localization (#16409)
* Physics material inspector localization
* Document property ranges.
* Revert
* Update editor/i18n/en/modules/physics.js
2023-10-11 17:37:12 +08:00