Commit Graph

162 Commits

Author SHA1 Message Date
James Chen 00cb328bee Add CocosRuntime platform config (#18395) 2025-03-03 14:08:54 +08:00
bofeng-song b2316fc02f Support spine version 4.2 (#18325) 2025-02-26 18:56:42 +08:00
tangkai b08a406d07 Support box2d JS binding which improves the performance of 2D physical system for native platforms . (#18152) 2025-02-24 19:22:06 +08:00
James Chen 8b7e7a6ea1 Treeshake xr module import. (#18328)
* Treeshake xr module import.

* Treeshake more XR relevant code.

* Update cc.config.json
2025-02-14 11:34:02 +08:00
James Chen 025700d380 Treeshake weak-cache.ts (#18322) 2025-02-13 09:54:41 +08:00
James Chen 905eb374dd Update ccbuild to 2.3.13 which supports to override constant values in feature definition. (#18319)
* Update ccbuild to 2.3.12 which supports to override constant values in feature definition.

* Update ccbuild to 2.3.13
2025-02-12 14:07:12 +08:00
lanbinqiang f5697c4c27 Added Honor channel identifiers (#18314)
Co-authored-by: lbq <563294062@qq.com>
2025-02-11 17:00:16 +08:00
James Chen cf945088ca Add more feature cropping settings for RichText, Mask, Graphics, UISkew, AffineTransform. (#18284)
* Add more feature cropping settings for RichText, Mask, Graphics, UISkew, AffineTransform.
2025-02-10 11:40:01 +08:00
James Chen 243b622592 Strip minigame (#18288) 2025-02-07 13:53:56 +08:00
James Chen aa841bd7f7 [v3.8.6] [2D Skew comes back] Add UISkew component support. (#18212) 2025-01-22 16:38:56 +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
minggo 7251fd3efc merge v3.8.5 2024-12-23 10:34:45 +08:00
qiuguohua c2882db601 The google play billing interface is consistent with google's original interface (#18010)
The google play billing interface is consistent with google's original interface

---------

Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
Co-authored-by: James Chen <dumganhar@gmail.com>
2024-12-12 18:23:38 +08:00
minggo 52af1141b7 Merge pull request #18003 from cocos/v3.8.5
V3.8.5
2024-12-05 11:04:27 +08:00
qiuguohua deba073213 Integrate the Google Play Billing Library into engine (#17918) 2024-11-29 11:18:48 +08:00
James Chen 667005fe44 [v3.8.6] Continue to remove unused platforms support. (#17902)
* Continue to remove unused platforms support.
2024-11-22 10:30:47 +08:00
James Chen 21e6d0c47e fixed #17833: [v3.8.5] Add an ability to load wasm/asmjs module manually (#17844) 2024-11-13 17:17:38 +08:00
James Chen d9daaae301 [v3.8.5] Remove unused exports/wait-for-ammon-instantiation.ts (#17834) 2024-11-12 18:21:46 +08:00
lanbinqiang e4d9eeef6c fix migu platform build config (#17717)
Co-authored-by: lbq <563294062@qq.com>
2024-10-15 17:31:49 +08:00
James Chen f4ccf3a8bb [v3.8.5] Support inline enum and mangle private variables to reduce engine size. (#17703) 2024-10-15 10:17:16 +08:00
lanbinqiang 7bbc5faf60 Added MIGU channel identifiers (#17687)
Co-authored-by: lbq <563294062@qq.com>
2024-10-10 09:34:29 +08:00
hyde zhou dda764eb21 add post process culling (#17452)
* add post process culling

* disable post-process by default

* remove post process builder

* cleanup

* backward compatible
2024-07-30 13:42:05 +08:00
媛媛 4c61824d28 change script uuid (#17380) 2024-07-17 16:56:34 +08:00
媛媛 ecbcd20cb0 add dependentScripts to buitin-pipeline (#17379) 2024-07-17 16:08:44 +08:00
hyde zhou c4969f4f47 refactor builtin-pipeline (#17363) 2024-07-15 10:55:25 +08:00
GengineJS de3a857222 [Removed] Removing the native configuration for publishing WebGPU. (#17244) 2024-07-04 17:01:00 +08:00
hyde zhou e9da7e2309 add legacy pipeline (#17250) 2024-07-01 13:57:21 +08:00
GengineJS cf85e35f13 support webgpu (#17096) 2024-06-12 09:24:10 +08:00
hyde zhou 019dd24dbe V3.8.5 pipeline (#17073) 2024-06-04 16:33:33 +08:00
媛媛 dbd251c7ff [3.8.3] add isNativeModule/hidden/readonly in engine feature render config (#16662) 2024-01-12 16:06:05 +08:00
James Chen 75c6f6d16d fixed #16248: .wasm / .asm.js files are both downloaded on web platform (#16679) 2024-01-11 15:30:05 +08:00
James Chen 16382fa9e9 Fix wasm loading and remove unused code (#16676)
* Fix wasm loading and remove unused code

* Update package.json
2024-01-10 10:29:48 +08:00
James Chen 4ce3e6e64e fixed #16562: Wasm support for ByteDance minigame platform (#16628) 2023-12-20 09:54:54 +08:00
徐兵 99b50a5341 add dof (#16426) 2023-10-16 17:17:10 +08:00
PP 0b65ab3817 add CULL_MESHOPT constant (#16194)
* add CULL_MESHOPT constant

* Update cc.config.json
2023-09-07 09:34:23 +08:00
troublemaker52025 77d3f7cde7 fix alpha blend error with custom pipeline and add bloom masks (#16125) 2023-08-30 17:07:28 +08:00
Ling Zhan e5488b7d32 V3.8.1 box2d wasm experimental (#15979)
* init

* tsconfig.json

* add box2d-wasm backend to cocos engine. not crash now in 3.8.0.

* rigid-body, collider, and joint works now.

* back

* Joint: SetLinearFrequencyAndDampingRatio

* PhysicsRayCastCallback, PhysicsAABBQueryCallback

* box2d wasm debugDraw

* asm.js

* B2PolygonShape uses B2.ConvexPartition

* box2d wasm contact disabled works now.

* add unit test for physics2d.

* b2ContactListenerWrapper::registerContactFixture

* tweak

* drawPolygon transfer array data from wasm to ts

* tweak

* contact event performance opt

* revert to polygon collider 2d to original implementation. no need for libtess any more.

* PostSolve ContactImpulse use raw pointer.

* TransformVector2; debugDraw supports transform

* enable rtti

* WASM_OBJECT_PTR_2_TS_OBJECT, WASM_OBJECT_PTR_2_WASM_OBJECT

* fix PreSolve parameter oldManifold error

* B2.TransformVector2 --> b2Mul(in ts)

* tweaks: code format.

* eslint

* eslint

* remove physics-2d-box2d-wasm from render-config.json

* comment tweaks

* [opt] debug draw performance opt

* tweaks
2023-08-18 19:30:14 +08:00
PP c10a7247d7 add back WASM_FALLBACK constant (#15758) 2023-07-18 15:31:46 +08:00
troublemaker52025 50d9179bbe Optimize effect dependency and package size (#15650) 2023-07-12 11:42:17 +08:00
PP 649e81a7b2 optimize: ensure wasm module ready before importing (#15631)
* optimize: ensure wasm module ready before importing

* Update @types/pal/minigame.d.ts

* Update pal/wasm/wasm-minigame.ts

* use reject instead of warnning

* optimize: add promiseToLoadWasmModule

* add shouldUseWasmModule method to simplify code

* fix: subpackage loading on taobao minigame platform

* Update pal/wasm/wasm-minigame.ts
2023-07-06 15:34:31 +08:00
James Chen f9dd8bcbc4 Fix spine.wasm could not run in safari with iOS which version is lower than 15. (#15515)
* Fix spine.wasm could not run in safari with iOS which version is lower than 15.

* Update external config.

* Revert "fix: add WASM_FALLBACK for spine wasm module (#15511)"

This reverts commit e5dde7f37d.
2023-06-25 10:37:04 +08:00
PP e5dde7f37d fix: add WASM_FALLBACK for spine wasm module (#15511)
* fix: add WASM_FALLBACK for spine wasm module

* update external

* fix eslint
2023-06-21 16:51:16 +08:00
PP c03d4277f2 add CULL_ASM_JS_MODULE constant (#15467)
* add CULL_ASM_JS_MODULE constant
2023-06-19 14:59:54 +08:00
PP 5a2340220c add FORCE_BANNING_BULLET_WASM constant (#15394)
* add FORCE_BANNING_BULLET_WASM constant

* optimize getImportObject
2023-06-09 10:42:02 +08:00
dogeFu 09e000266d feature : add EDITOR_NOT_IN_PREVIEW marco (#15354)
* feature : add marco for editor preview and refactor code with new marco

* refactor: replace GAME_VIEW with EDITOR_PREVIEW

* Revert "refactor: replace GAME_VIEW with EDITOR_PREVIEW"

This reverts commit e28953e9e7acbb49dc5bdc650b2ff65510d4b084.

* update cc config json

* refactor code

* remove uselese parentheses

* set ccglobal to be false

* skip global variable test case
2023-06-07 17:52:51 +08:00
PP 46030379ed ban wasm support on bytedance platoform (#15332) 2023-06-06 15:53:52 +08:00
hyde zhou 43b4cb30f2 develop pipeline add subpass (#15166)
pr-test is not ready, skip it.
2023-06-01 10:39:20 +08:00
PP 4bdb07b438 fix build error when enable NOT_PACK_PHYSX_LIBS && correct wasm support on Bytedance platform (#15252)
* fix: build crash when enable NOT_PACK_PHYSX_LIBS

* fix: correct wasm support on Bytedance platform
2023-06-01 10:24:24 +08:00
SijieWang 820128d09a Merge pull request #15175 from cocos/marionette-next
Pose Graph
2023-05-25 11:45:53 +08:00
Leslie Leigh (李的序) 523a38d892 Add engine feature "procedural animation" (#15174) 2023-05-24 18:58:47 +08:00