Commit Graph

21622 Commits

Author SHA1 Message Date
Knox 84c8a6f573 Fix the issue with the getClassName error under ES6 (#17660) 2024-09-24 13:52:43 +08:00
James Chen 919ed8717f [3.8.5] Add missing types in createNewIA and autoMergeBatches functions (#17649) 2024-09-20 15:43:37 +08:00
James Chen 486c562fb2 [3.8.5] Fix stateCache.glRenderbuffer is not reset to null in WebGLCmdFuncDestroyTexture (#17652) 2024-09-19 17:18:34 +08:00
Jerry d7aae74574 fix #17484: Fix the issue of reading custom properties in the object layer of TSX files (#17641)
* fix: property retrieval to only include direct children
* Added a properties field to the TMXObject interface to store object properties.
2024-09-18 18:04:27 +08:00
James Chen 11f3bef63a fixed #17606: node.setWorldScale(0, 0, 0) causes NaN issue in scale and worldMatrix properties (#17607) 2024-09-13 17:06:41 +08:00
qiuguohua 3e78462642 Canvas listens to design resolution changes (#17633)
Co-authored-by: qgh <>
2024-09-13 14:50:35 +08:00
qiuguohua c6795958bb Fixed the issue of the main page getting stuck due to the long execution time required for updates (#17626)
* Fixed the issue of the main page getting stuck due to the long execution time required for updates

---------

Co-authored-by: qgh <>
2024-09-13 09:57:41 +08:00
minggo f7705fbc78 update bullet engine to fix ray cast error (#17630) 2024-09-13 09:35:21 +08:00
kaokei f7aa23fc03 Update node.ts setSiblingIndex support negative index (#17592)
* Update node.ts setSiblingIndex support negative index

eg.
-1 equals siblings.length -1.
-2 equals siblings.length -2.
-3 equals siblings.length -3.

* Update Node.cpp setSiblingIndex support negative index

Force index=0 when index smaller than -siblings.length.
2024-09-12 13:53:30 +08:00
minggo 32ee360697 fix issue that onControllerTriggerEnter may not be triggered (#17616) 2024-09-10 13:58:22 +08:00
James Chen 4916955747 Update zlib.min.js, use Inflate functionality only, reduce size from 22KB to 7KB (#17534) 2024-09-06 15:37:57 +08:00
shaoqiangcai d182a00403 Update run_test_cases.yml (#17571)
RunTestCasesCustom
2024-09-06 15:30:54 +08:00
yoki0805 51d52c9f53 Remove ZERO_VEC2 and misc (#17608)
Remove ZERO_VEC2 and misc
2024-09-06 15:15:49 +08:00
minggo 1ad692caa5 remove wrong commennt (#17610) 2024-09-06 15:13:09 +08:00
bofeng-song 8f83193aa1 Fix the JNI error 'global reference table overflow' caused by receiving a large number of WebSocket messages in the background (#17609) 2024-09-06 14:26:32 +08:00
James Chen 55c81c3198 fixed #17594: [android] fix crash and memory leaks if launching game multiple times on Android platform with PhysX module enabled. (#17602) 2024-09-04 18:26:15 +08:00
James Chen e2396b89c0 Update version to 3.8.5 (#17603) 2024-09-04 16:59:22 +08:00
qiuguohua 63c84c451e Unindent 1 pixel for tile maps with spriteframe (#17565)
Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2024-08-30 11:14:06 +08:00
hyde zhou 6585a55d90 fix editor warning (#17577) 2024-08-23 13:38:34 +08:00
bofeng-song f263d40d25 Fix the issue where Spine crashes due to container scaling. (#17570) 2024-08-21 20:50:54 +08:00
hyde zhou a67997f448 mark editor preview as experimental (#17567) 2024-08-21 11:13:30 +08:00
hyde zhou 3a7bb5b33c Revert "Fix the display of WebGPU under the new pipeline with CSM, resolve the conflict between binding and render attachment, and optimize the memory pool. (#17562)" (#17566)
This reverts commit 3dfdc021b0.
2024-08-21 10:51:47 +08:00
GengineJS 3dfdc021b0 Fix the display of WebGPU under the new pipeline with CSM, resolve the conflict between binding and render attachment, and optimize the memory pool. (#17562) 2024-08-20 18:12:43 +08:00
hyde zhou b4d3866435 wrap arrayBuffer with Uint8Array (#17561) 2024-08-20 17:15:22 +08:00
媛媛 df70e6ac23 change the render config of pipeline (#17560) 2024-08-20 10:01:13 +08:00
GengineJS a3df044f33 Fix the rendering exception of the RenderTexture in the TikTok mini-game. (#17559) 2024-08-20 10:00:38 +08:00
James Chen bc73e79909 [3.8.4] [native] Fix that 2d object's world transform not being updated if modifying local position/rotation/scale in Director.EVENT_AFTER_DRAW callback. (#17555) 2024-08-20 09:58:56 +08:00
bofeng-song bf471abf12 Add safety protection for non-existent Spine animations. (#17553) 2024-08-19 11:42:30 +08:00
James Chen 243ab7e9ce Fix the order of callback by performFunctionInCocosThread and add unit-test for it. (#17543) 2024-08-17 13:19:26 +08:00
minggo 77e8b3369c only delete claimed list when preventSwallow is false (#17548) 2024-08-16 17:36:51 +08:00
hyde zhou 515ef065ce remove all CC_USE_RGBE_OUTPUT (#17549) 2024-08-16 16:52:21 +08:00
GengineJS 25818aa7e5 [Fixed] Repair the situation where the texture inside the FBO is destroyed when WebGPU switches scenes. (#17547) 2024-08-16 15:16:35 +08:00
qiuguohua 179bbb3194 Fixed_removeClaimedTouch passing wrong value (#17546)
Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2024-08-16 14:14:35 +08:00
hyde zhou 814ff7d436 viewport uses Math.round (#17545) 2024-08-16 11:41:03 +08:00
hyde zhou a705a919d0 constrain UI phase ID to PassLayout/'default' (#17542) 2024-08-16 09:16:41 +08:00
dashou 43ae4fcc97 fix mouseEnter event (#17540)
Co-authored-by: luckycocos <138418541+luckycocos@users.noreply.github.com>
2024-08-15 16:28:47 +08:00
minggo 54a68f7558 export Bullet (#17539)
* export Bullet
2024-08-15 14:33:55 +08:00
Nickname4th 4b704fab4c fix: resort event listeners after updating sibling index on native platform (#17537) 2024-08-14 18:22:38 +08:00
Knox 53ac71d5ea Improved min and max modifiers, support for func (#17522)
* Improved min and max modifiers, support for functio

* add min and max test

---------

Co-authored-by: cocos <cocos@cocosdeMacBook-Pro.local>
2024-08-14 11:09:31 +08:00
Vladimir Kruzhkov 20bdcc43e9 Fix enabledContactListener without body on one of colliders (#17344) 2024-08-13 17:59:53 +08:00
吴智明 ec99ce74e1 change log level to avoid unnecessary error handle (#17536)
Co-authored-by: zhiming.wu <zhiming.wu@cocos.com>
2024-08-13 17:13:30 +08:00
hyde zhou 2927469526 Native add geometry renderer support (#17535)
* reduce C++/TS interop

* native add geometry renderer

* fix macro usage
2024-08-13 16:29:14 +08:00
GengineJS 999ac52846 [Fixed] the issue where the profiler does not display when only the UI is present. (#17533) 2024-08-13 11:44:01 +08:00
hyde zhou 79c28d6dac RenderPass now considers clearColor (#17530) 2024-08-13 09:26:15 +08:00
James Chen 2b032a2b8e fixed 3d-tasks/18423: Rendering is not correct on VK backend. (#17526)
* fixed 3d-tasks/18423: Rendering is not correct on VK backend.
Async tasks must be executed after present.

* fix unused parameter lint error.
2024-08-13 09:22:00 +08:00
Ikko Eltociear Ashimine 0d8aedb3de chore: update wasm-web.ts (#17524)
minor fix
2024-08-12 17:59:48 +08:00
hyde zhou a03934935e fix rect z, w, native viewport (#17528) 2024-08-12 17:44:46 +08:00
bofeng-song 3b8a65e264 Fixing the SkeletonData export error. (#17520)
* Fixing the SkeletonData export error.

* update external version
2024-08-12 13:48:45 +08:00
qiuguohua 71faf050e0 WeChat mini game platform remove splash-screen implementation (#17518)
* WeChat mini game platform remove splash-screen implementation

* Add a comment

---------

Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2024-08-12 09:42:41 +08:00
hyde zhou 5114cb15c1 fix reflection probe preview (#17519) 2024-08-09 14:21:42 +08:00