Commit Graph

20958 Commits

Author SHA1 Message Date
pandamicro 0cb410d5da Merge pull request #16127 from cocos/v3.8.1
Merge V3.8.1
2023-08-29 17:01:37 +08:00
Santy-Wang 57a5350304 Support using math lib in wasm (#16062)
* Allow using math lib in wasm

* revert some change
2023-08-29 16:29:44 +08:00
yinkaile aa3b35e9f0 remove default setting for post process pipeline (#16120) 2023-08-29 11:42:51 +08:00
yinkaile 6aa24564f2 fixed serialized post process parameters (#16116) 2023-08-29 11:07:25 +08:00
徐兵 1a0820fdb0 reflection probe visibility no longer asynchronous with camera (#16115) 2023-08-29 11:00:04 +08:00
Zach Lee 630fcc95e4 fix xr interface framebuffer issue. (#16082) 2023-08-29 10:18:04 +08:00
Zach Lee 8da2d17c68 fix window resize issue with legacy pipeline. (#16113) 2023-08-29 10:17:18 +08:00
mmyduckx c11660d76e fix editbox keyboard type (#16117) 2023-08-29 09:37:53 +08:00
PP 9daf2c663c upgrade nodejs to 18.17.0 (#15899)
* upgrade nodejs to 18.17.0

fix compile-native-ts

fix type

fix eslint

fix node version on native-binding

test native ci

fix eslint

fix jest version

upgrade ts-jest

fix

reduce EXPECTED_CAPACITY

update ccbuidl

Revert "test native ci"

This reverts commit 795c8c68cf7ff7f2561db4414689ad3f6aa5c1f7.

# Conflicts:
#	scripts/native-pack-tool/package-lock.json

* detect node version

# Conflicts:
#	package.json

* use engine-strict option

* Update .nvmrc

* Update pal/input/web/accelerometer-input.ts

* fix conflict

* fix compile native ts

* download external in compile native ts

* fix
2023-08-28 15:52:24 +08:00
qiuguohua 2ea26182e0 Use the resize event of SDL (#16072)
* 1. Use the resize event of SDL;
2. Fix the problem of not getting the button when SDL is moving.

* 1.Remove redundant code.
2.Fixed compilation errors.

* Avoiding repeated viewDidChangeBackingProperties function calls.

* Fix the way buttons are fetched.
2023-08-28 09:46:21 +08:00
江战 88d585acc7 accept non array type (#16095) 2023-08-28 09:44:52 +08:00
jk20012001 a6b5b61cc0 fix BlitScreen pass make tranparency with clear color (#16108) 2023-08-25 18:38:53 +08:00
jk20012001 15eec3bc26 sheen lighting model (#16058) (#16102) 2023-08-25 18:31:28 +08:00
jk20012001 d0ca802f0d fix glass material blend with fog (#16104) 2023-08-25 17:30:29 +08:00
jk20012001 24848f4512 Revert "sheen lighting model (#16058)" (#16103) 2023-08-25 16:28:34 +08:00
江战 2a2624a54b Update native-compile-platforms.yml (#16074)
* Update native-compile-platforms.yml

* Update .github/workflows/native-compile-platforms.yml

* clean after build
2023-08-25 15:45:59 +08:00
Cocos Robot fda552ae6c [ci skip][AUTO]: Automated code generating update: 6d581c8b5370c59910c323c4f0796da2eff4a8c0 (#16096) (#16100)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-08-25 15:45:29 +08:00
mmyduckx 95acc35ab9 add some native feature for videoplayer (#16096)
* add some native feature for videoplayer

* fix review&clang-tidy

* update version
2023-08-25 14:23:37 +08:00
jk20012001 5071624db8 sheen lighting model (#16058) 2023-08-25 10:47:24 +08:00
troublemaker52025 16d720663a Fix hot update for pipeline effects and Float-output-process flow (#16084) 2023-08-25 10:46:10 +08:00
fqamic dee666c994 fix: xr platform crash with new material change (#16092) 2023-08-24 15:53:37 +08:00
qiuguohua e86f6d27fd Does not handle mismatched touchid (#16078) 2023-08-24 10:47:45 +08:00
Canvas e9ca89f73e update external-config checkout to v3.8.1-17. (#16081) 2023-08-23 21:15:21 +08:00
Canvas da507e4ba7 fix spine wasm api array bind (#16064)
* fix some array type bindings.

* change engine-native-external to v3.8.1-15.

* revert v3.8.1-15 to v3.8.1-14.

* fix code format.

* fix code format.

* fix getAttachmentNames api.

* off no-unsafe-argument.

* change engine-native-external checkout to v3.8.1-16.

* optimize use vector set & fix edges prototype error.

* add vector default value 0 annotation.
2023-08-23 12:45:17 +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
SijieWang 0f5609b96b [Optimize] clear-platform supports passing arguments. (#16073) 2023-08-23 11:57:57 +08:00
dogeFu aff8320359 Fix : editor preview set fps no working (#16054) 2023-08-23 11:57:46 +08:00
黄森斌 563e9f780d fix change language would not update help doc link (#16067) 2023-08-23 11:08:57 +08:00
troublemaker52025 5b5c3cf977 fix custom pipeline load float-output-process error (#16071) 2023-08-23 10:53:24 +08:00
Yiwen 3febfab310 fix rendering submesh typo (#16063)
* fix rendering submesh typo

* fix typo

* sync external tag
2023-08-22 15:40:18 +08:00
Santy-Wang baea594f93 bump external tag (#16066) 2023-08-22 15:15:35 +08:00
Gin f330132aa3 improve: effects list sorting in material panel (#16060)
* improve: effects list ordering in material panel

* fixup: set collator option `numeric` to `true`

* fixup: use `Object.value` & filter

* fixup: filter predicate function
2023-08-22 13:57:03 +08:00
Zeqiang Li 13d01a4d79 mtl depth resolve feature query update (#16061) 2023-08-22 12:44:18 +08:00
黄森斌 5f61d2a112 fix fbx and widget bug in inspector (#16057)
* optimize widget layout

* fix bug of resizing panel , fbx event point would not update position

* change method name
2023-08-21 19:28:33 +08:00
fqamic d78725eb3a Adaptation of the xr platform 3.8.1 modification (#16056)
* feat: xr sync android template for manifest

* fix: for xr platform, compatible with historical packaging tool usage

* improve: annotation optimization
2023-08-21 17:11:40 +08:00
qiuguohua 62a9da122e Use sdl2 on mac platform (#16030)
* Use sdl2 on mac platform
2023-08-21 16:45:53 +08:00
ChiaNing f55f423fe8 update meta (#16051) 2023-08-21 14:54:32 +08:00
Cocos Robot 46592f013b [ci skip][AUTO]: Automated code generating update: 0af68e43e95326958afc65ae5e6849ef8ac59c5d (#16023) (#16043)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-08-21 13:43:36 +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
ChiaNing ba93769911 fix mask change sprite size mode Bug (#16047) 2023-08-21 12:01:27 +08:00
zxx43 22c5bbc175 add a lot of missed functions for spine jsb (#16027)
* add a lot of missed functions for spine jsb

* change conversion type to number

* check type is a number

* change toNumber to toDouble
2023-08-21 11:28:56 +08:00
黄森斌 cfd5dc998b add message protocol manager for node editing (#15963)
* add message protocol manager

* optimize switch message protocol when editing node

* add optimize

* again
2023-08-21 10:59:03 +08:00
江战 63668b2a10 remember connected gamepad count (#16023) 2023-08-21 10:48:32 +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
Santy-Wang c19d63d921 Disallow using image bitmap by default (#16035)
* Disallow using image bitmap by default

* fix lint
2023-08-18 23:39:50 +08:00
zxx43 7c760c3056 3.8.1 optimize particle pvdata type (#15928)
* optimize pvdata type

* fix eslint

* change name of _attrs to _particleVertexData

* add missed type

* convert type
2023-08-18 23:26:36 +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
Yiwen ae9b42740b deprecate conetwsit constraint, use configurable constraint instead (#15987) 2023-08-18 18:01:55 +08:00
pandamicro be9a52dc36 export ISpriteFrameInitInfo for SpriteFrame reset (#16005) 2023-08-18 17:32:05 +08:00
mmyduckx b0745d50be add bytedance videoplayer support (#16031)
* add bytedance videoplayer support

* refine
2023-08-18 16:16:47 +08:00