bofeng-song
a70ecb1f1b
Update external version ( #18035 )
2024-12-13 14:35:27 +08:00
James Chen
102d05e7e0
[v3.8.5] Reduce package size for spine module ( #17783 )
2024-11-05 20:08:03 +08:00
James Chen
9073fd3cc8
Smaller spine library, save 14KB package size ( #17731 )
2024-10-23 16:53:52 +08:00
minggo
1f2a63d28b
raycast result includes closest hit fraction ( #17710 )
...
* raycast result includes closest hit fraction
* make closest hit fraction optional
2024-10-17 09:49:42 +08:00
minggo
186fa0f174
Fix the issue that can not destroy Node in contract listener call back in Box2D ( #17701 )
2024-10-12 11:18:56 +08:00
minggo
f7705fbc78
update bullet engine to fix ray cast error ( #17630 )
2024-09-13 09:35:21 +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
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
bofeng-song
434e06e88b
Update external version ( #17475 )
2024-08-01 18:29:04 +08:00
bofeng-song
d6eeed0b44
Update external version ( #17466 )
2024-07-31 19:06:11 +08:00
bofeng-song
c7109915f4
Fix missing constructor for spine.String & SkeletonBounds ( #17376 )
...
* Fix missing constructor for spine.String & SkeletonBounds
2024-07-18 11:19:04 +08:00
bofeng-song
141ebfba95
Fix spine's listener can not be removed ( #17342 )
...
* Fix spine's listener can not be removed
2024-07-09 18:48:51 +08:00
bofeng-song
ddd45f96d0
Fix spine can not be paused while working at realTime mode ( #16672 )
...
* Fix spine can not be paused while running in realTime mode
2024-01-10 13:40:21 +08:00
bofeng-song
c2e1abe49c
Refine: make multi skeleton component shared one instance of spine.Skeleton while spine working at sharedCache mode ( #16593 )
...
* Refine: make multi skeleton component shared one instance of spine.Skeleton while spine working at sharedCache mode
2023-12-18 10:00:30 +08:00
bofeng-song
6e0fb05838
revert bullet's change ( #16555 )
2023-12-04 18:07:55 +08:00
bofeng-song
dadd6188ab
fix bullet can not work normaly at taobao-creative-app ( #16544 )
...
* fix bullet can not work normaly at taobao-creative-app
* update external version
* Revert "fix bullet can not work normaly at taobao-creative-app"
This reverts commit af12ac567b10b6f36b9735ae0d0332b0f15c36da.
* refine
2023-12-04 11:22:20 +08:00
bofeng-song
f5ca599348
fix spine can not show normally or crash ( #16528 )
2023-11-23 11:24:50 +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
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
Zeqiang Li
e9b7fd3ab7
update wgpu external && missing web logic ( #16433 )
2023-10-20 17:19:30 +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
Leslie Leigh (李的序)
52726aa1a2
physx disable unused PVD for now ( #16383 )
...
* Disable unused PVD for now
* Update physx dep
2023-10-11 13:31:57 +08:00
Ling Zhan
db5779c77c
V3.8.2 box2d wasm node scale performance opt ( #16386 )
...
* node scale cause box2d shape recreate, low perf
* box2d and polygon2d shape
* WASM_OBJECT_PTR_2_TS_OBJECT WASM_OBJECT_PTR_2_WASM_OBJECT
* tweak
* update external-config.json to v3.8.2-12
2023-10-10 16:57:01 +08:00
James Chen
093bc8724e
Update v8 to 11.6.189.22 ( #16364 )
...
* Update se code to adapt v8 11.4
* Fix setter
* VisitHandlesWithClassIds was added again.
* Remove log in evalString
* Revert in ScriptEngine.cpp
* Update external-config.json
* Remove unused ndkPath in libcocos2dx/build.gradle
* Update external config to v3.8.2-11
2023-10-10 11:06:02 +08:00
Ling Zhan
d8f1be6f05
[fix] box2d wasm joint stiffness and damping ratio now behaves the same as box2d.ts; fix rigidbody set type; fix box2d-wasm reallocate mem ( #16278 )
...
* [fix] box2d wasm joint stiffness and damping ratio now behaviors the same as box2d.ts;
fix rigidbody set type;
fix box2d-wasm reallocate mem
[fix] [physics2d] 1. debugdraw circle shape not consider rotation transform; 2. box2dwasm circle shape offset error
update native/external-config.json --> v3.8.2-9
2023-09-26 16:29:57 +08:00
Ling Zhan
9a42164966
V3.8.2 physics debug draw ( #16325 )
...
* init debug draw
* tweak _debugDrawFlags
* px debug draw performance opt
* tweaks
* add debug draw for physx c++
* debug draw use MainWindow's cameras
* builtin physics draw; WireFrame-->wireframe
* cannon.js supports debug draw
* update engine-native-external --> v3.8.2-5
* tweak
* set engine-native-external --> v3.8.2-5, so that we can pass npm test
* fix: bullet debug draw by default should draw nothing
* comment tweaks
* tweaek
* update native/external-config.json --> 3.8.2-8
2023-09-25 18:05:33 +08:00
Ling Zhan
f4aa7e93f7
update native/external-config v3.8.2-7 ( #16256 )
2023-09-14 16:45:26 +08:00
Zeqiang Li
2788ed62e6
update webgpu external config ( #16243 )
2023-09-11 18:46:02 +08:00
minggo
554598643a
Merge branch 'v3.8.1' into v3.8.2-merge-v3.8.1
2023-09-08 14:34:24 +08:00
Ling Zhan
50c2d70d2a
update native/external-config: [fix] cct scaling causes trigger event missing ( #16165 )
2023-09-06 15:17:40 +08:00
James Chen
d2c3429f95
Refactor Openharmony platform code to support switching between napi (ark js runtime) and v8 ( #16093 )
...
* OH could use v8 now.
* napi addon works.
* Use Napi addon to refactor code.
* Fix compilation errors.
* tweak
* Refactor oh platform, remove some hacking for oh.
* Fix log in runScript.
* Fix the issues in napi mode.
* Revert.
* Remove an unused comment.
* Refactor log output in NapiHelper.cpp and OpenHarmonyPlatform.cpp
* Update oh template.
* Remove unused code.
* Remove unused debug log in jsb-gfx.js
* Update include
* Revert Screen::isDisplayStats.
* update OH template for v8 backend
* update
* Update CMakeLists.txt for OH
* Fix a compilation error in NapiHelper.cpp while switching to NAPI mode
* Keep the symbol of entry function.
* Add -Wl,--gc-sections and add -Wl,-s for release mode.
* Update external to 3.8.2-1
* Don't use `console.assert` directly.
* Remove oh specific methods ( getInnerWidth/Height, getWindowHandle ) in Device class.
---------
Co-authored-by: PP_Pro <chinese1236@qq.com >
2023-09-01 16:27:08 +08:00
Canvas
ba70fe19db
fix bind cont EventData * bind, modify the address as a reference. ( #16105 )
...
* fix bind cont EventData * bind, modify the address as a reference.
* change external-config checkout to v3.8.1-19.
* optimize const bind data, use const_cast<Type> & fix spine define api.
* fix wasm api getId & getOffset & <size_t> bones.
* fix wasm & asm const string.
* fix const std::string path to const std::string &path.
* change external-config checkout v3.8.1-19 to v3.8.1-20.
2023-09-01 15:36:06 +08:00
qiuguohua
49ce3235c8
Update to use sdl static library ( #16101 )
2023-08-30 16:11:23 +08:00
Canvas
e9ca89f73e
update external-config checkout to v3.8.1-17. ( #16081 )
2023-08-23 21:15:21 +08:00
Yiwen
a4990ce4e6
Fix meshopt wechat ( #16069 )
...
* fix wechat wasm problem, sync external tag
* fix formatting
* fix tidy, unit test
2023-08-23 11:59:56 +08:00
Santy-Wang
baea594f93
bump external tag ( #16066 )
2023-08-22 15:15:35 +08:00
Canvas
20dd273ea7
fix spine wasm api. ( #16004 )
...
* fix spine wasm api.
* fix code format.
* remove new api.
* remove private function.
* add setSlotsRange return type.
* add setSlotsRange parameter type.
* fix setUV.
* Fix code description problem.
* remove new api $ fix complete listeners.
* fix bone setter.
* fix code format.
* fix code format.
* fix code format.
* fix bind api.
* remove test code.
* fix code format.
* add api any ignore.
* update external-config checkout to v3.8.1-14.
2023-08-21 13:34:44 +08:00
Yiwen
bde3cd4cc3
Add adv mesh functionalities. ( #16009 )
...
* stage
* update
* update
* fix physics & ray cast problem
* fix default value, clean unused code, fix lint errors
* clean code
* update meta file
* update external, license
* fix tidy, circular dep
* fix type cast
* rm unit test
* fix unit test
* update comment
2023-08-21 10:15:24 +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
Ling Zhan
7ed24f87ad
update native/external-config to v3.8.1-10 ( #15965 )
2023-08-16 14:10:49 +08:00
qiuguohua
06341f3037
Uncapture global mouse events. ( #15834 )
2023-08-02 14:20:24 +08:00
qiuguohua
b6bcc12b7e
Solve unchecked websocket link failure issue ( #15799 )
2023-07-26 10:15:45 +08:00
minggo
e5802a5e9c
Merge branch 'v3.8.0' into v3.8.1-merge-v3.8.0
...
Conflicts:
cocos/spine/lib/spine-define.ts
cocos/spine/skeleton-cache.ts
cocos/spine/skeleton.ts
: native/external-config.json
2023-07-18 11:53:54 +08:00
Canvas
c023759a1c
update external version v3.8.0-17 -> v3.8.0-18. ( #15744 )
2023-07-15 13:41:45 +08:00
James Chen
d31a3d6188
fix #15704 : [swig] The generated glue code is wrong if rename an inner class ( #15710 )
2023-07-14 09:58:27 +08:00
minggo
802a1f0959
Merge branch 'v3.8.0' into v3.8.1-merge-v3.8.0
...
Conflicts:
cocos/core/utils/x-deprecated.ts
cocos/physics/bullet/instantiated.ts
cocos/physics/framework/components/character-controllers/character-controller.ts
cocos/render-scene/scene/shadows.ts
cocos/rendering/render-shadow-map-batched-queue.ts
cocos/spine/lib/instantiated.ts
cocos/spine/lib/spine-define.ts
cocos/spine/skeleton.ts
native/cocos/editor-support/spine-wasm/AtlasAttachmentLoaderExtension.cpp
native/cocos/editor-support/spine-wasm/spine-skeleton-instance.cpp
native/cocos/editor-support/spine-wasm/spine-skeleton-instance.h
native/cocos/editor-support/spine-wasm/spine-type-export.cpp
native/cocos/editor-support/spine-wasm/spine-wasm.cpp
native/external-config.json
2023-07-12 16:02:10 +08:00
Santy-Wang
e5d61cf2a2
fix problem when skin changed and slot texture changed ( #15677 )
...
* fix problem when skin changed and slot texture changed
* update external version
2023-07-11 18:27:47 +08:00
Santy-Wang
31b10ffdc5
update external version ( #15675 )
2023-07-11 14:27:39 +08:00
江战
9aaee8c8f7
Update external-config.json ( #15649 )
2023-07-07 16:56:53 +08:00
James Chen
73776a0993
Update external to v3.8.0-14 ( #15635 )
2023-07-07 10:53:23 +08:00