Commit Graph

285 Commits

Author SHA1 Message Date
zhakesi 6e052808e0 add unit test for tween destroySelf (#14391) 2023-02-28 10:08:06 +08:00
jk20012001 df3a28ffe1 create material uses surface shader as default, fix auto-test crash and large image load failed (#14227) 2023-02-16 10:22:29 +08:00
jk20012001 86b86ca873 rearrange effects folder (#14202)
* rearrange effects folder

* fix
2023-02-14 10:10:17 +08:00
李吉林 bdffc36ed7 fix mat4 getRotation (#14183) 2023-02-09 14:24:20 +08:00
minggo 32c08e73f9 merge container-manager.ts and scalable-container.ts (#14107)
* merge `container-manager.ts` and `scalable-container.ts`
* rename `ContainerManager` to `ScalableContainerManager`
* rename `containerManager` to `scalableContainerManager`
2023-02-01 14:12:46 +08:00
PP 3a9d9a547f fix: decorated property without default value (#14016)
* fix: decorated property without default value

* update

* update

* update  test

* Update tests/core/decorator.test.ts

Co-authored-by: Leslie Leigh (李的序) <leslieleigh@outlook.com>

* Update tests/core/decorator.test.ts

Co-authored-by: Leslie Leigh (李的序) <leslieleigh@outlook.com>

* Update tests/core/decorator.test.ts

Co-authored-by: Leslie Leigh (李的序) <leslieleigh@outlook.com>

* Update tests/core/decorator.test.ts

Co-authored-by: Leslie Leigh (李的序) <leslieleigh@outlook.com>

* close warning

Co-authored-by: Leslie Leigh (李的序) <leslieleigh@outlook.com>
2023-01-06 18:47:53 +08:00
minggo 0af8b0677b fix wrong logic of murmurhash2_32_gc (#13926) 2022-12-27 18:25:47 +08:00
minggo 4b108dba16 fix unit test error (#13895) 2022-12-23 16:45:18 +08:00
minggo 5f6a2bff97 improve api doc for core/algorithm (#13868) 2022-12-21 16:41:01 +08:00
江战 f6854cd16e native introduce jsb.window (#13816) 2022-12-16 13:50:59 +08:00
minggo 03b5d4c3fd Merge branch 'v3.6.3' into merge-v3.6.3 2022-12-08 15:46:09 +08:00
bofeng-song 19b63ca762 move lod to 3d module (#13704)
* move lod to 3d module
2022-12-07 14:09:54 +08:00
zxx43 b6feebb035 modify unit test (#13669) 2022-12-06 11:08:35 +08:00
Ling Zhan 650713c0b8 [feat] new polygon partition algorithm: Hertel Mehlhorn #13190 (#13585)
* [feat] new polygon partition algorithm: Hertel Mehlhorn #13190

* eslint

* remove the option to change algorithm

* tweaks

* add unit tests

* tweaks

* eslint
2022-12-02 16:12:17 +08:00
Zeqiang Li 73a55c71e8 flatten shader location (#13586) 2022-11-30 17:26:11 +08:00
Leslie Leigh (李的序) 6f9b229d6e Implement Vec3.slerp to support spherical interpolation between directional vectors (#12682)
* Implements Vec3.slerp

* Optimize

* Fix
2022-11-23 20:21:28 +08:00
Ling Zhan 3a0df15c31 [feat] in physics settings, default material is set through file (#13464)
* [feat] in physics settings, default material is set through file
2022-11-23 10:23:28 +08:00
Leslie Leigh (李的序) 8be402e236 Fix zero extent animation state playback range (#13456) 2022-11-21 17:11:46 +08:00
hyde zhou 92f2d08f52 [develop] update layout graph loading (#13368) 2022-11-18 13:43:18 +08:00
Leslie Leigh (李的序) 5829f391a3 Add a general used internal algorithm: array partition (#13381)
* Algorithm: array partition
2022-11-16 15:04:14 +08:00
Leslie Leigh (李的序) 0521d1e566 Add a test to test how clip overriding affect the set of animated node (#13375) 2022-11-15 10:42:18 +08:00
Leslie Leigh (李的序) 7e16ec2b79 Fix empty to empty transition (#13359) 2022-11-14 13:57:45 +08:00
PP 6a8180dc97 optimize engine decorator (#13248)
* feat: support field decorator optimization

* publish 4.4.1-alpha.3

* update decorator signature

* update deps

* update third argument

* support culling editor decorators

* update deps

* make optimize decorators configable

* add unit test

* remove optimize-decorators.ts
2022-11-14 10:22:56 +08:00
Leslie Leigh (李的序) 70d10a5645 Animation graph variant and dynamically override clips (#12445)
* Animation graph override clips

* Update

* Fix

* Fix unit test

* support animation graph variant editing (#90)

(cherry picked from commit 273379f3883b8b2d59966249e712b9017d4355ff)

* Anim graph vari template

* tweak

* Tweak

* Mark the overrideClips as experimental

* Name bikeshed

* Tweak

Co-authored-by: 黄森斌 <arsen2010@126.com>
2022-11-11 14:14:19 +08:00
Leslie Leigh (李的序) c23b7bde62 AnimationController: optimize status query methods, add layer count getter (#13323) 2022-11-11 11:00:42 +08:00
minggo 1ce742fbee import js from core instead of using js.js (#13261)
js.js is deprecated
2022-11-07 18:15:06 +08:00
bofeng-song c11b4a0a7b add lodGroup's unit test (#13231)
* add lodGroup's unit test
2022-11-07 11:58:30 +08:00
Leslie Leigh (李的序) 9d3280eeff Add component-wise animation test (#13204)
* Add component-wise animation test

* update

* Specially handle Vec3
2022-11-03 10:45:56 +08:00
Leslie Leigh (李的序) dac7417c1e Add some tests for animation mask in animation graph (#13218)
* Add some tests for animation mask in animation graph

* Tweak
2022-11-03 10:39:51 +08:00
minggo 2e29bce9c3 Adjust serialization (#13201)
* move serialization related file into cocos/serialization
2022-11-01 17:10:12 +08:00
minggo a354281d7e Fix core import issue (#13148)
* import binarySearchEpsilon from core module

* remove unused files

* import easing from core module

* use array instead

* do not export MutableForwardIterator

* do not export binarySearchBy

* print deprecated information in runtime
2022-10-26 15:19:26 +08:00
Leslie Leigh (李的序) 6877ff9438 [3.7] Marionette: implements some state machine operations (#12434)
* Marionette: implements some state machine operations

* Fix

* Tweak

* Rename assign -> copyTo

* Fix
2022-10-24 15:39:43 +08:00
李吉林 a9d4e13f85 Light probe merge (#13093)
* add light probe
2022-10-19 22:34:21 +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
hyde zhou 5b37954c7f [develop] change custom builder setup procedure (#12990) 2022-10-09 16:14:59 +08:00
minggo 84c25f3a33 declare WrapMode in core/geometry/curve.ts (#12933)
* move WrapMode into core/geometry/curve.ts

* do not exmport WrapModeMask
2022-09-29 09:42:27 +08:00
AFeiYA 1c2a1ba38a Add srgb transform. (#12873) 2022-09-28 14:15:22 +08:00
minggo 95a76235b6 Adjust some files (#12910)
`cocos/core` should not depend other modules, so move some files out of `cocos/core`:
- move some files from `cocos/core` to `cocos/game`
  - director.ts
  - splash-screen.ts
  - game.ts
 - move `cocos/core/root.ts` to `cocos/root.ts` as there is not better module to contain `root.ts`.
 - move `cocos/core/platform/view.ts` to `cocos/ui/view.ts` as screen related logic is moved to `cocos/core/platform/screen.ts`
2022-09-28 09:34:35 +08:00
minggo 0d7c5c8f56 move cocos/core/scene-graph to cocos/scene-graph (#12868)
* move `cocos/core/scene-graph` to `cocos/scene-graph`
* move some files in `cocos/core/components` to `cocos/scene-graph`:
  - component.ts
  - component-event-handler.ts
  - component-event-handler-schema.ts
* move some files in `cocos/core/components` to `cocos/misc`: 
  - missing-script.ts
  - model-renderer.ts
  - renderer.ts
  - camera-component.ts
* move  `cocos/core/components/system.ts` to ``cocos/core/system.ts``
2022-09-26 11:02:22 +08:00
Leslie Leigh (李的序) db3a56fa1e Fix primitive.scale (#12836)
* Fix primitive.scale

* Test

* Tweak
2022-09-21 14:49:41 +08:00
Santy-Wang d6f38f3606 Merge pull request #12824 from cocos/v3.6.1
sync V3.6.1 to v3.6.2
2022-09-20 17:59:33 +08:00
santy-wang f33523227f sync v3.6.1 to develop 2022-09-19 14:00:54 +08:00
Zeqiang Li f5c4dee6db Wgpu 3.6.2 WGPU_CI_ON (#12731) 2022-09-16 10:20:52 +08:00
Leslie Leigh (李的序) fbe3b543c4 Fix adjustTransitionPriority in case of serialization (#12770)
* Fix adjustTransitionPriority in case of serialization

* Fix lint
2022-09-15 10:41:56 +08:00
santy-wang 7bbad4a0a4 Merge branch 'develop' of github.com:cocos-creator/engine into v3.6.1-sync 2022-09-14 11:47:58 +08:00
黄森斌 43a91b1099 [Optimize] tooltip i18n data add extension prefix name (#12741)
* tooltip add extension prefix name

* test case
2022-09-14 10:16:47 +08:00
minggo 2f10f48c15 adjust some folders (#12712)
move cocos/core/asset-manager to cocos/asset/asset-manager
move cocos/core/assets to cocos/asset/assets
merge cocos/core/builtin to cocos/asset/asset-manager
2022-09-07 18:45:54 +08:00
minggo 7922834c0b move cocos/core/animation to cocos/animation (#12674) 2022-09-05 14:57:37 +08:00
minggo c5c7b987ea move cocos/core/gfx to cocos/gfx (#12559)
* move cocos/core/gfx to cocos/gfx
2022-08-26 17:51:46 +08:00
mmyduckx 2ea6e9b148 Remove base node related logics (#11977) 2022-08-23 17:34:36 +08:00