Commit Graph

20920 Commits

Author SHA1 Message Date
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
Cocos Robot d8e75b225d [ci skip][AUTO]: Automated code generating update: bc27ce06eb5f4f8922ed479ea00c9cc46011c61d (#16021) (#16029)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-08-18 16:02:41 +08:00
oahc09 56417f35b0 improve:adjust xr begin/end render frame call's position (#16021)
(Calculate the correct delta time)
2023-08-18 15:11:35 +08:00
Canvas 92c37fc921 fix the animation name is a number and is equal to the index. (#15871)
* fix the case where the animation name is a number and is equal to the index.

* revert onRestore code.

* fix code format.

* change internal -> engineInternal.

* fix code format.
2023-08-18 14:44:17 +08:00
Santy-Wang daa4a4ffbc remove unnecessary code (#15687)
* Revert "Revert "remove useless code (#15682)" (#15683)"

This reverts commit b318b39eb9.

* fix lint

* Revert "fix lint"

This reverts commit 269acd1715a93d59f61286d336afa9a03f07f805.

* revert some change

* fix lint
2023-08-18 14:40:26 +08:00
ChiaNing f4a7b95767 fix sprite world matrix update bug (#15978)
* fix sprite world matrix  update bug

* fix by flag Changed Version

* add test

* CI & more test
2023-08-18 14:32:30 +08:00
Jiujiang Liu c589518f3d disable show probe (#15887) 2023-08-18 13:48:21 +08:00
Gin 541ef96eb8 update: i18n text of CurveRange (#16019) 2023-08-18 11:27:21 +08:00
Zach Lee a77a6c9488 fix instanced buffer. (#16017) 2023-08-18 11:05:53 +08:00
Ling Zhan cf8ceed661 V3.8.1 cct trigger (#15613)
* physx ts 支持

# Conflicts:
#	cocos/physics/framework/components/character-controllers/character-controller.ts
#	cocos/physics/framework/components/colliders/collider.ts
#	cocos/physics/physx/physx-world.ts

* add bullet-character-controller trigger events

* physx c++ add cct trigger

* tweaks

* tweaks

* tweaks

* tweak

* tweaks

* physics jsb: emitCCTShapeEvent --> emitCCTCollisionEvent
2023-08-18 10:47:59 +08:00
zxx43 0b8b6981b6 fix uimeshrender in native (#15879)
* fix uimeshrender in native

* fix eslint
2023-08-18 10:22:12 +08:00
徐兵 006bc6254e fix planar reflection error under the native custom pipeline (#16014) 2023-08-18 10:10:38 +08:00
zxx43 7a3a4f1dfb add missed spine api (#16010)
* add missed spine api

* readSkeletonData return point
2023-08-18 02:08:30 +08:00
GengineJS 1df6a1095a [Restore] additive light (#16016) 2023-08-18 01:23:18 +08:00
ChiaNing a51263c66d fix ScrollView state bug when scrolling with mouse (#15709)
* fix ScrollView state bug when scrolling with mouse

* fix scroll bar state bug

* fix CI

* as string
2023-08-17 19:48:06 +08:00
jk20012001 56e00bac7f optimize shader code size, remove unused space (#16011) 2023-08-17 19:05:02 +08:00
Ling Zhan 1dc3142fbb [opt] when move() is called, character controller sync physics position to scene; change default stepOffset; set minimum skinWidth (#15966)
* [opt] [character controller] when move() is called, character controller sync physics position to scene immediately; change default stepOffset from 1.0 to 0.5; set minimum skinWidth 0.001

* tweak

* native

* eslint

* eslint

* eslint
2023-08-17 17:34:04 +08:00
Ling Zhan 52cb79d9eb [fix] update primitives.fbx: sphere bbx now centerd at zero. #15300 (#15952) 2023-08-17 17:27:53 +08:00
Cocos Robot 4e1ddee39b [ci skip][AUTO]: Automated code generating update: dec20a47dcf2f1929010ba90c4fec99ded4de3e1 (#15996) (#16007)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-08-17 17:15:29 +08:00
Cocos Robot 310142ea01 [ci skip][AUTO]: Automated code generating update: 9a8c159ac0a52aeaafcf6460a0ea2bc0d9a6b2eb (#15946) (#16002)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-08-17 16:42:36 +08:00
江战 7401b55e09 add java_home (#15996) 2023-08-17 16:19:29 +08:00
Leslie Leigh (李的序) d988b2373a Fix: Inactivated skeletal animation components shall not affect skinned mesh renderers (#13779) 2023-08-17 16:16:15 +08:00
Zach Lee ed670e7b1b NativePipeline external texture (#15946)
* NativePipeline external texture

* fix lint.

* fix format.
2023-08-17 15:42:40 +08:00
pandamicro 9b08b34a2b Replace Renderer setMaterial with setSharedMaterial (#15980)
* Replace Renderer setMaterial with setSharedMaterial

* Fix all usage of Renderer.setMaterial

* Soft deprecate Renderer.setMaterial

* Remove unnecessary change
2023-08-17 13:15:21 +08:00
Leslie Leigh (李的序) dd35619161 Revert interface check (#15991)
* Revert "Workflow: fix interface check workflow comment (#15795)"

This reverts commit 44795e465f.

* Revert "V3.8.0 (#15697)"

This reverts commit 1c16ac25d8.

---------

Co-authored-by: intrigus-lgtm <60750685+intrigus-lgtm@users.noreply.github.com>
2023-08-17 11:15:43 +08:00
zxx43 c0adb51d36 add jsb Slot::getAttachment & Slot::setAttachment (#15964)
* add Slot::getAttachment & Slot::setAttachment

* Use nativevalue_to_se instead of native_ptr_to_seval in js_spine_Slot_getAttachment

* merge into 1 statement
2023-08-17 10:38:56 +08:00
Zach Lee 6e7841fbbb fixed colorTemperatureRGB jsb binding. (#15972) 2023-08-17 10:24:49 +08:00
jk20012001 0a50141a7e add sheen lighting model and substance support for sheen and coat (#15970) 2023-08-17 10:22:55 +08:00
Leslie Leigh (李的序) 331fab3c6b SkeletalAnimation: disable animation baking in pure editor mode (#15977) 2023-08-17 10:21:44 +08:00
zxx43 39acb6560f use buffer size instead of capacity to initialize buffer (#15775)
* use buffer size instead of capacity to initialize buffer

* fix eslint

* set min buffer size 16

* remove loop
2023-08-17 10:17:32 +08:00
ChiaNing 93e397e9f0 Fix sprite size mode change by preload (#15908)
* Fix sprite size mode change by preload

* fix on runtime
2023-08-17 10:04:39 +08:00
ChiaNing 6afc186c67 remove button wrong sprite set (#15949)
* remove button wrong sprite set

* fix CI
2023-08-16 18:06:47 +08:00
ChiaNing 544854c9f6 add model invalidateLocalData interface (#15623) 2023-08-16 17:30:28 +08:00
江战 23f222730a Android Build Panel: Add resizeableActivity Option (#15713)
* resizeable activity
2023-08-16 16:58:42 +08:00
徐兵 b30c076168 optimize the frequency of calls to onUpdateProbes. (#15858) 2023-08-16 15:52:27 +08:00
troublemaker52025 1256656efd deferred tone-mapping and fog with float output in custom pipeline (#15968) 2023-08-16 15:16:43 +08:00
Ling Zhan 02f7d6e8bb V3.8.1 mesh collider set mesh (#15520)
* bullet mesh-collider supports changing mesh after initialization #15363

* physx mesh-collider supports changing mesh after initialization #15363

* tweak
2023-08-16 15:05:06 +08:00
ChiaNing a7213c3b6c RichText: support set default font color (#15669)
* add richText default color

* doc
2023-08-16 14:11:03 +08:00
Ling Zhan 7ed24f87ad update native/external-config to v3.8.1-10 (#15965) 2023-08-16 14:10:49 +08:00