Commit Graph

21887 Commits

Author SHA1 Message Date
hyde zhou 0e5d475982 fix local set problem (#18202) 2025-01-16 15:57:15 +08:00
hyde zhou 037cbe8b26 engine add WebGPU support (#18196) 2025-01-16 14:19:47 +08:00
Cocos Robot ae9a255cbf [ci skip][AUTO]: Automated code generating update: 8520e56dad8ecc3f8ff50c9019055be7ebf65e3b (#18198) (#18200)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2025-01-16 10:37:08 +08:00
James Chen 37e1dcc4bd [v3.8.6] Optimize code size: audio (#18198)
* [v3.8.6] Optimize code size: mangle AudioBufferManager since it's not exported.
2025-01-16 10:15:48 +08:00
James Chen df0591e1a5 [v3.8.6] Add SystemPriority enum for inline. (#18194) 2025-01-16 10:13:41 +08:00
James Chen a107d84826 [v3.8.6] Inline enum for particle 3d module. (#18193)
* [v3.8.6] Inline enum for particle 3d module.
* Fix a compilation error in shape-module.ts
2025-01-15 14:21:32 +08:00
ankye sheng fd85edf782 fixed when enable dynamic atlas, _nativeData is null (#18184) 2025-01-15 09:44:57 +08:00
ShalokShalom a30e2e6a67 Update README.md (#18163)
Correct typos and grammar mistakes
2025-01-15 09:44:05 +08:00
James Chen f4cca397f8 [v3.8.6] Strip jsb-utils.ts (#18161)
* [v3.8.6] Strip jsb-utils.ts
2025-01-15 09:39:12 +08:00
James Chen 6136a4d7f0 [v3.8.6] [Tween] More override in tween modules and add toString method for all actions which will be easier for debugging. (#18181)
* [v3.8.6] [Tween] More override in tween modules and add `toString` method for all actions which will be easier for debugging.

Also add some `@mangle` jsDoc tag for some properties.
2025-01-15 09:38:04 +08:00
James Chen 2f019edede [v3.8.6] [Tween] Add unit test for Pull Request #18117 (#18182) 2025-01-15 09:35:48 +08:00
James Chen 63ebf5ce20 [v3.8.6] Fix node._getUITransformComp not found on native platforms. (#18191)
* [v3.8.6] Fix node._getUITransformComp not found on native platforms.

* Update ccbuild to 2.3.5
2025-01-14 18:44:40 +08:00
minggo 2d95c3218b don't link unneeded framework (#18192) 2025-01-14 18:43:12 +08:00
minggo 63c39bf45c make support iOS 11+ and macOS 14+ (#18189)
* make support iOS 11+ and macOS 14+
2025-01-14 18:31:03 +08:00
James Chen 1d61e5575c [v3.8.6] Fix attributes variable conflict in mesh.ts. It's a bug from a PR ( #18112 ) in v3.8.6. (#18188) 2025-01-14 16:59:09 +08:00
Max 2c53f99b52 fix bug for refresh (#18187)
Co-authored-by: zhiming.wu <zhiming.wu@cocos.com>
2025-01-14 15:38:23 +08:00
Cocos Robot cbea5040be [ci skip][AUTO]: Automated code generating update: c40cc508e1a6f5c121be62979dabec975fd599bf (#18172) (#18186)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2025-01-14 14:23:52 +08:00
James Chen 979670fffd [v3.8.6] Optimize code size by adding helper functions to get data from pipelineSceneData. (#18172) 2025-01-14 13:52:44 +08:00
James Chen cc2ff78078 [v3.8.6] Fix some type issues and warnings. (#18147)
* [v3.8.6] Fix some type issues and warnings.

* Continue to fix warnings in instantiate-jit.ts
2025-01-14 10:24:17 +08:00
James Chen b4c572b068 fixed #17876: [bug] callFunc before updateUntil may be invoked more than once. (#18179) 2025-01-14 09:33:43 +08:00
hyde zhou f5b7fc6fc1 Adding layout implementation (#18156) 2025-01-13 19:59:10 +08:00
Knox b0a138dd3c optimize prefab and spine view logic, add reset camera view (#18183) 2025-01-13 18:24:48 +08:00
minggo d655c30984 preview scene in editor should also destroy object at the end of the same, or engine components may refer invalid nodes (#18157) 2025-01-13 17:38:01 +08:00
James Chen 515244bd87 [v3.8.6] Optimize code size by defining Constructor explicitly. (#18119)
* [v3.8.6] Optimize code size by defining Constructor explicitly.
2025-01-13 17:37:45 +08:00
James Chen 52ab8005ab issue #18056: [v3.8.6] Mangle properties of Bullet classes. (#18166)
* issue #18056: [v3.8.6] Mangle properties of Bullet classes.

* Update.
2025-01-13 16:09:24 +08:00
James Chen 49502e65e7 [v3.8.6] Strip JSB relevant code in ui-opacity.ts for non-native platforms (#18176)
* [v3.8.6] Strip JSB relevant code in ui-opacity.ts for non-native platforms

* Add _setParentOpacity and revert accessor
2025-01-13 16:06:35 +08:00
Cocos Robot b2996754a1 [ci skip][AUTO]: Automated code generating update: b826c28c7067c89f42864c76ee833fb03423aacb (#18171) (#18174)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2025-01-13 11:14:05 +08:00
Cocos Robot 853324b0c4 [ci skip][AUTO]: Automated code generating update: 57ce707874044070de86ea874a59d60bff6a928f (#18167) (#18175)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2025-01-13 11:13:11 +08:00
James Chen e939677d42 [v3.8.6] Optimize code size, box2d-js backend. (#18167) 2025-01-13 11:07:03 +08:00
James Chen b7835fcb03 [v3.8.6 ]Fix type issues for physics-2d framework. (#18171) 2025-01-13 11:05:55 +08:00
James Chen e5aac8f591 [v3.8.6] Optimize code size for input.ts, tiled-layer.ts, minigame pal (#18159)
* [v3.8.6] Optimize code size for input.ts and tiled-layer.ts
2025-01-13 11:04:50 +08:00
James Chen aa06696f3d [v3.8.6] Add freezeColor internal method to reduce code size. (#18162) 2025-01-13 11:01:12 +08:00
James Chen d3050e118a [v3.8.6] Optimize size for particle-system.ts (#18158)
* [v3.8.6] [TEST] Optimize size for particle-system.ts
2025-01-13 10:52:04 +08:00
James Chen fd2f3840df [v3.8.6] Optimize code size for physx backend (#18169) 2025-01-13 10:50:51 +08:00
James Chen 26bc752e5d [v3.8.6] Optimize code size for physics-2d-builtin backend (#18170) 2025-01-13 10:26:51 +08:00
James Chen 8c2e7d71fa [v3.8.6] Optimize code size for box2d-wasm backend. (#18168)
* [v3.8.6] Optimize code size for box2d-wasm backend.

* Update distance-joint.ts
2025-01-13 10:26:09 +08:00
James Chen 67a0736410 [v3.8.6] Optimize code size: Add an internal method ( Node.getUITransformComp ) which could be mangled to avoid invoking the code ._uiProps.uiTransformComp that could not be mangled. (#18165)
* [v3.8.6] Optimize code size: Add an internal Node.getUITransformComponent which could be mangled to avoid invoking the code `._uiProps.uiTransformComp` that could not be mangled.
2025-01-13 09:58:56 +08:00
James Chen 86b314f3c1 fixed #3d-tasks/18524: Error: [Assets] _updateAdaptResult Invalid size (#18164) 2025-01-13 09:45:31 +08:00
Knox d1ab113732 Improve spine asset preview panel features (#18154) 2025-01-10 17:48:04 +08:00
Knox 3307c3aaed Improve handling of SpriteAtlas after setting up a SpriteFrame in Sprite (#18108)
* Improve handling of SpriteAtlas after setting up a SpriteFrame in Sprite.
2025-01-10 16:49:19 +08:00
James Chen 13888fc2be fixed #18139: Bug: [Scene] frame should not be invalid, it may have been released. (#18144) 2025-01-10 16:49:04 +08:00
James Chen e400883bd4 [v3.8.6] Use array.forEach instead of for of to optimize code size (#18112) 2025-01-10 14:42:56 +08:00
hyde zhou 84bf9c64b8 Add WebGPU BindGroupLayout data structures (#18136) 2025-01-10 11:08:36 +08:00
bofeng-song d428ced7b3 Fix the issue where the first frame of Spine rendering is not affected by the parent opacity. (#18149) 2025-01-09 16:54:23 +08:00
minggo 050b680475 use latest ubuntu (#18148) 2025-01-09 15:19:20 +08:00
James Chen 2230501562 [v3.8.6] Fix some type issues. (#18145) 2025-01-09 13:42:24 +08:00
minggo 61090036aa make the Supported Destinations of iOS project include iPad (#18142)
* make the Supported Destinations of iOS project include iPad
2025-01-09 10:41:15 +08:00
NorhsArk 547469ab34 Enhancing the assembler code scalability for sprite and label. (#18017) 2025-01-08 13:39:49 +08:00
James Chen 088274011d [v3.8.6] Fix a typo in DragonBonesAsset.constructor. (#18134) 2025-01-07 10:57:06 +08:00
yoki0805 3f390693cb Fix the audio event remove (#17908)
When the audio play done, the event key should be cleanup.
2025-01-07 09:43:22 +08:00