Commit Graph

174 Commits

Author SHA1 Message Date
昌敦伟 26b07b91b5 When enabling the “USE INSTANCING” option, add a warning that using the AnimationController component may cause issues. (#18827) 2025-07-28 14:21:16 +08:00
James Chen afef795931 Add Sorting2D support. (#18643) 2025-04-22 14:28:55 +08:00
bofeng-song b2316fc02f Support spine version 4.2 (#18325) 2025-02-26 18:56:42 +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 c08dbf5c68 Optimize code size again. (#18260)
* Optimize code size again.
2025-02-05 15:35:40 +08:00
James Chen 18d80116b5 Fix some type issues in tilemap module (#18255) 2025-02-05 14:41:34 +08:00
James Chen ad210c1ee8 Optimize code size for minigame adapter. (#18237) 2025-01-23 10:41:19 +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 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 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 4ec6b5c9e1 [v3.8.5] Fix geomertry-renderer test case for native platforms (#17747)
* [v3.8.5] Fix geomertry-renderer test case for native platforms

* Remove unused import

* Fix errors in spline.ts

* Update spline.ts, use internal assertsArrayIndex

* Update Spline.getPoint
2024-10-21 13:33:42 +08:00
hyde zhou 4685f6879a filter non default pass (#17729) 2024-10-17 10:00:47 +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
James Chen 6800bc9ba8 Remove unused code in gfx/base, gfx/webgl, gfx/webgl2 modules and mangle properties to reduce js size. (#17529) 2024-10-10 13:53:25 +08:00
James Chen 32727868b0 Reduce the generated javascript code size (#17491) 2024-08-06 18:14:44 +08:00
hyde zhou 8106f8677d add legacy-pipeline culling (#17260) 2024-07-29 16:45:31 +08:00
hyde zhou be8df4e59d Add custom pipeline config. (#17390) 2024-07-19 09:47:28 +08:00
hyde zhou 77090b83ee Improve error reporting (#17236) 2024-06-27 15:27:09 +08:00
minggo 6c8d39e735 Fix typo (#16626)
* fix: correct spelling errors in EngineErrorMap.md

* fix: correct typo in code literals in DebugInfos.cpp

---------

Co-authored-by: Ryuu <2357622935@qq.com>
2023-12-19 15:53:41 +08:00
PP 7a8bde3ace fix: load script packages before loading builtin assets (#16339)
* fix: load script packages before loading builtin assets

* fix eslint

* fix ci

* Revert "fix ci"

This reverts commit 38584722e93c5823684be31dbb796bb3908b4703.

* add errorID logID
2023-10-08 10:47:56 +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
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
Canvas 1a8b9cbdd3 fix cache mode spine animation playback issue. (#15691)
* fixed cache mode spine animation playback issue.

* remove unused code.

* fix code formatting.

* fix code formatting.

* fix editor changing animation node position doesn't refresh rendering when enable batch.

* add spine error id 7511 'Invalid input'. & fix deprecated to engineInternal. & change _uuid to uuid.

* remove invalid code & fix error map code format. & replace any to interface.

* fix setSkin invalidation on cached mode.

* remove unneeded descriptions.

* fix frame = 1 to length - 1.

* fix code format.

* revert update skeleton data on setSkin.
2023-07-13 13:46:53 +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
hyde zhou e06bb6cdb4 [V3.8.0 pipeline] add deferred pipeline (#15452) 2023-06-16 17:35:18 +08:00
Yiwen 0a346b2fdd fix bufferview size limit (#15265)
* fix bufferview size limit

* update

* update

* update error msg

* [fix] add boundary to avoid physx assert error (#15321)

* change validation method
2023-06-07 23:01:01 +08:00
troublemaker52025 07f3dedad9 Optimize skin with post-process pipeline (#15189) 2023-06-01 18:44:48 +08:00
pandamicro 12fe7525f9 Merge pull request #15113 from cocos/develop
Merge remote-tracking branch 'upstream/develop' into marionette-next
2023-05-19 10:42:41 +08:00
Yiwen 78c87a09d2 add new features to 3d hinge constraint (#14447)
* add new features to 3d hinge constraint
1. angular limit
2. angular drive

* add missing file

* fix native and bullet parameter error, tune parameters

* clean code

* update package and package lock

* stage

* update

* fix interface

* fix api, improve perf

* fix unit conversion

* fix unit conversion

* sync physx behavior
2023-05-18 16:36:23 +08:00
Leslie Leigh 464342eb99 Merge remote-tracking branch 'upstream/develop' into marionette-next 2023-05-18 14:46:30 +08:00
Ling Zhan 1032bd9508 Sweep Test (#15068)
* init

# Conflicts:
#	cocos/physics/physx/physx-adapter.ts

# Conflicts:
#	cocos/physics/physx/physx-adapter.ts

* init sweepBoxClosest

# Conflicts:
#	cocos/physics/physx/physx-world.ts

* back

* physx boxCastClosest works now.

* add physx sweepAll

* init bullet sweepBoxClosest. not test yet

* add bullet sweepBox

* bullet add internal functions: sweep/sweepClosest

* init physx c++ sweepBox/sweepBoxClosest

* add sweepSphere, sweepCapsule; add unit test.

* add sweep api doc

* revert physx asm/wasm loading func

* tweaks

* add error log for builtin and cannon.js

* builtin and cannon.js use warnid when calling sweep

* tweak api doc
2023-05-17 18:37:03 +08:00
minggo 3a6e0ca2ba Merge pull request #15067 from cocos/develop
Merge develop into marionette-next
2023-05-17 14:06:57 +08:00
Leslie Leigh (李的序) b119ee5bcf Optimize warn message if state machine matched too many transitions in a frame (#15016) 2023-05-10 14:22:31 +08:00
pandamicro 71a11a7a14 Merge remote-tracking branch 'origin/v3.7.3' into develop
# Conflicts:
#	.github/workflows/run_test_cases.yml
#	cocos/rendering/planar-shadow-queue.ts
#	native/cocos/renderer/pipeline/PlanarShadowQueue.cpp
2023-05-08 11:55:56 +08:00
Leslie Leigh (李的序) 4a183b14c0 Fix exception in material uniform animation binding (#14764) 2023-04-28 09:22:37 +08:00
Yiwen 3713957624 collider constraint (#14068)
* collider constraint

* rm uncessary function import

* bullet doesn't prevent dynamic rigid body using simplex collider

* convex mesh with dynamic rigid body is allowed

* clear useless imports
2023-04-20 14:32:48 +08:00
PP fa51b804b5 remove and ban @ts-expect-error (#14572)
* remove ts-expect-error usage in engine

* deprecate Scheduler interface

* remove JavaScriptCore

* set some engineInternal public property as getter setter

* fix build-declaration

* fix releaseManager export name conflict

* update scriptEngineType

* fix and update some comment

* remove  w_mat, w_pos, w_rot, w_scale

* update renderer

* fix setRootBufferDirty not binding on native

* optimize floatToHashString

* mark NOTE
2023-03-20 13:48:26 +08:00
徐兵 878b7db4a5 optimize reflection probe (#14115) 2023-02-03 15:43:04 +08:00
ChiaNing 221c37a275 Protect scroll bar error when its deleted (#14041)
* Protect scroll bar error when its deleted

* change to is Valid
2023-02-01 17:38:53 +08:00
pandamicro 08c7fe3956 Add pre type validator for setUniform (#13462) 2022-11-23 15:26:16 +08:00
santy-wang 91c884362d Merge branch 'v3.6.2' of github.com:cocos-creator/engine into v3.6.1-sync 2022-10-11 20:12:14 +08:00
jk20012001 25c4949ce5 [fix] camera clear flag is skybox but skybox is disabled #13589 (#12964) 2022-10-11 18:56:55 +08:00
ChiaNing 2afd02e711 sorting component add (#12465)
* sorting component add

* menu add

* change sorting layer type to enum

* import fix

* name change

* sorting init

* fix init

* update priority on editor

* add enum index

* sort fix

* api doc add

* remove export to cc

* doc change

* protect

* warn id

Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com>
2022-09-15 10:15:33 +08:00
ChiaNing 2f1567bb7d mask interface deprecated (#12667)
* mask interface deprecated

* fix

* warn add

* warnid

* msic
2022-09-09 16:34:43 +08:00
Santy-Wang 1844a35fc9 support asset-overriding (#12632)
* support asset-overriding

* output some debug info

* refine some code

* fix typo
2022-09-02 10:38:46 +08:00
zxx43 d8f09ea57d 3.6.1 trail buffer insufficient space fix (#12567)
* enlarge trail buffer

* add warning information

* use warn id instead
2022-09-01 23:49:17 +08:00
zxx43 6678c378ee V3.6.0 particle material log (#12249)
* add warning message when change particle material

* use error id instead

* change to log

* change to warning

* Apply suggestions from code review

Co-authored-by: pandamicro <lphuabin@gmail.com>
2022-07-28 17:44:53 +08:00
Santy-Wang 629d788596 Output friendly information about effect name (#12137)
* Output friendly information about effect name

* Apply suggestions from code review

Co-authored-by: pandamicro <lphuabin@gmail.com>
2022-07-21 23:05:53 +08:00
PP 7f41b05cfe support top level deprecate check (#11630)
* support __checkObsolete__

update

update deprecate info

update

fix ci

fix ci

update

* rename interface

* cache namespace proxy

* move deprecate info to version deprecated

* consider undefined Proxy
2022-07-01 11:55:05 +08:00