Leslie Leigh (李的序)
a7f48be180
Remove deprecated API in animation module ( #10645 )
...
* Remove deprecated API of animation
* Update
* Revert removal of animation component
2022-04-10 21:56:16 +08:00
minggo
be735449af
Revert "remove some deprecated api ( #10656 )" ( #10694 )
...
This reverts commit a1b1fc5a09 .
2022-04-08 11:51:06 +08:00
minggo
a1b1fc5a09
remove some deprecated api ( #10656 )
...
* remove some deprecated api
2022-04-07 16:31:02 +08:00
Leslie Leigh (李的序)
7c9fbc431b
Revert #10485 , #10512 , #10576 ( #10683 )
2022-04-07 16:22:34 +08:00
Leslie Leigh (李的序)
ad38d77da4
Fix circular reference ( #10625 )
...
* Fix circular reference
* Update
* Update
2022-04-01 13:44:15 +08:00
Zhang mingzhen
069ce13b20
add richtext child state unit test ( #10606 )
...
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com >
2022-03-31 15:21:13 +08:00
Leslie Leigh (李的序)
891237b06e
Fix skeletal animation state got update twice ( #10571 )
...
* Fix skeletal animation state got update twice
* update
* Add test
* Update
* Update
* Always update
* rename
2022-03-29 21:39:59 +08:00
Leslie Leigh (李的序)
b1271e6370
Unit test on retrieving class id and class name ( #10559 )
2022-03-29 20:15:20 +08:00
Leslie Leigh (李的序)
6070aa5c79
Fix cross fade bug introduced from #10485 ( #10576 )
2022-03-29 20:02:10 +08:00
Leslie Leigh (李的序)
0a67669190
Animation state bugfix ( #10558 )
2022-03-29 11:33:47 +08:00
Santy-Wang
98e52e3f16
output warning info when attached to the node has zero scaling ( #10524 )
...
* output warning info when attached to the node has zero scaling
* use approx instead
2022-03-26 22:23:29 +08:00
pandamicro
f4aa81d88e
Fix vec3 & vec4 transformAffine ( #10508 )
2022-03-26 19:23:41 +08:00
Leslie Leigh (李的序)
73374aa999
Fix animation bug introduced from #10485 ( #10512 )
...
* Fix animation bug introduced from #10485
* Add test
2022-03-26 15:57:50 +08:00
Leslie Leigh (李的序)
673844eafb
Fix: animation blending zero check ( #10499 )
...
* Fix: zero check animation blending
* Rename
2022-03-25 18:51:15 +08:00
Leslie Leigh (李的序)
f00d11adaa
Optimize the way how animation component update its animation content ( #10485 )
...
* Optimize the way how animation component update its animation content
* Update
* Update
* update
* Update
2022-03-25 10:03:29 +08:00
Leslie Leigh (李的序)
b87c185333
Marionette: layer, mask, auto trigger, pass through state ( #10179 )
...
* Marionette/3.5.0 Initial Commit
* Auto trigger default value
* import skeleton 改为选择 fbx 文件
* Rename passthrough -> empty
* Refactor Auto Trigger (#81 )
* Refactor auto trigger
* Lint
* Optimize
* Update
* Migrate triggers (#82 )
* Fix merge problems
* Optimize
* Optimize
Co-authored-by: arsen2010 <arsen2010@126.com >
2022-03-22 15:05:45 +08:00
Leslie Leigh (李的序)
93b856b98e
Make animation module optional ( #10257 )
2022-03-10 11:55:11 +08:00
ChiaNing
0027a64f8d
add auto atlas unit test ( #10247 )
2022-03-09 10:15:12 +08:00
Leslie Leigh (李的序)
e86ee1a247
@disallowAnimation should not imply visible ( #10262 )
2022-03-08 16:27:30 +08:00
pandamicro
1446db89e7
Merge branch 'v3.4.2' into v3.5.0
...
# Conflicts:
# cocos/2d/components/sprite.ts
# cocos/2d/framework/ui-transform.ts
# cocos/2d/renderer/render-uniform-buffer.ts
# cocos/core/builtin/effects.ts
# cocos/core/builtin/shader-sources/glsl1.ts
# cocos/core/builtin/shader-sources/glsl3.ts
# cocos/core/builtin/shader-sources/glsl4.ts
# cocos/dragon-bones/ArmatureDisplay.ts
# cocos/spine/skeleton.ts
# editor/assets/chunks/cc-sprite-fs-gpu.chunk
# editor/assets/chunks/cc-sprite-fs-gpu.chunk.meta
# editor/assets/chunks/cc-sprite-vs-gpu.chunk
# editor/assets/chunks/cc-sprite-vs-gpu.chunk.meta
# editor/assets/default_skybox.meta
# editor/assets/effects/builtin-sprite-gpu.effect.meta
2022-02-28 17:24:02 +08:00
Zhang mingzhen
782be9bdce
add extra name like cc.xxx from legacyCC namespace ( #10076 )
...
* add extra name as cc.xxx from legacyCC namespace
* remove rebundant code
* remove rebundant namespaces
* fix unit test bug. supplement global variables classes.
* UIModel->UIMeshRender
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com >
2022-02-21 14:14:16 +08:00
pandamicro
50a43e18e4
Shared vb accessor for spine ( #10077 )
...
* Robust updateOpacity in batcher & cleanup code
* Support Batcher2D commitIA
* Support customized buffer size for StaticVBAccessor
* Reorganize RenderData logic and prepare spine refactor
* spine realTimeTraverse using dedicated accessor
* Support spine clipping
* Fix updateOpacity in batcher 2d
* Support Spine cache mode
* Fix ci
* Use different accessor for tint spine
* Update effect
* Fix native spine and dagonbones IA range issue
* Fix spine tint accessor registartion
* Revert darkColor default value
* Fix spine accessor switching issue and render data init issue
* Shared vb accessor for dragonbones (#44 )
* Shared vb accessor for dragonbones
* fix code style
* add explanation why need resize render data in realTimeTraverse
Co-authored-by: zhakesi <liqiao@cocos.com >
2022-02-18 15:24:59 +08:00
Yun Hsiao Wu
198034ec2c
refactor access type array to access flags ( #10103 )
2022-02-16 09:56:46 +08:00
Yiwen
d0719c6727
add a new interface to query format feature info ( #9949 )
...
* add format feature information for query
* adapted the higher level code to use the new formatFeature query inferface, and run the test-cases-3d
* remove uncessary public interface
* remove uncessary public interface
* remove unnecessary api
* fixed the name of function support16FTexture.
* clean the code, fix some typos.
* correct format features
* group the judgemnts to fix the logic
* query the support to compressed from a decent method. correct some bit operations.
* add FormatFeatureBit into globaleVariable's database to pass npm test
* Add deprecation information to help developers move to the new
interface. Every time a deprecated property is accessed, an error will
present. So developers must move to the new interface following the
instruction in the error info.
* Move the deprecation information to the right module.
2022-01-25 19:02:25 +08:00
santy-wang
995f5b2d41
Merge branch 'v3.4.2' of https://gitlab.cocos.net/publics/engine into v3.5-merge
2022-01-24 15:56:49 +08:00
Leslie Leigh (李的序)
19c121dd07
Fix skeletal animation sample() does not work as intended ( #10006 )
...
* Fix skeletal animation sample() does not work as intended
* update
* currentClipRef -> currentClip
* Rename
* Optimize
* Internal
* Optimize
* Update
2022-01-18 22:56:10 +08:00
ChiaNing
466a2dc97d
change macro for meshBuffer ( #10001 )
...
* change macro for meshBuffer
* name change
* test used name change
2022-01-17 16:09:49 +08:00
pandamicro
bd3c30fd4c
BufferAccessor refactor for Batcher2D ( #9802 )
...
* VB cache add(only simple)
* sliced add
* after rebase
* Extract BufferAccessor from MeshBuffer
* Refactor for linear buffer accessor
* Support simple sprite
* Fix initialization issues
* Fix simple sprite rendering
* Rough adaptation
* tweaks
* Fix LinearBufferAccessor's appendBuffers
* Cleanup mesh buffer codes
* Reorganize ia allocation
* Middleware adaptation & Particle 2d adaptation (#31 )
* Middleware adaptation
* particle-2d adaptation
* Initial implementation of static vb accessor
* Complete static vb accessor
* Improve static vb accessor
* Ensure MeshBuffer.byteOffset
* Fix record batch process in static vb accessor
* Fix vb reset
* simple & simple label add (#32 )
* Meshbuffer static length (#33 )
* set ib only first time
* Meshbuffer static length
* Some name refactor
* remove RenderData.vData
* Improve buffer update logics
* Use appendIndices in fillBuffers
* The quickest version(simple & label can render) (#34 )
* Revert "Use appendIndices in fillBuffers"
This reverts commit 0600e26f7eee277c820c3097b1f48f79fcf60890.
* the quickest version
* pass renderScene
* batch
* change batcher update
Co-authored-by: pandamicro <lphuabin@gmail.com >
* Move ia record logic from accessor to batcher
* Make vertexFormat sourced from render data
* sliced & bar-filled (#35 )
* radial-filled & tiled & label (#36 )
* radial-filled & tiled
* bmfont & char label
* function change
* name change
* Remove uvDirty
fixes
Fix uv update for sprite
* Reduce mesh buffer setDirty
* uv fix
* Format label
* Refactor color and cascade opacity mechanism
* Fix empty render data or chunk absent issue
* fix some uv (#37 )
* Fix non stop allocation issue in static vb accessor
* fix bmfont richText & remove uiComponent (#38 )
* fix bmfont uv
* fix richText & remove ui Component
* Fix mesh render data batching
* Small fix
* Update for spine
* Formatting jsb spine and editor
* middle ware & particle 2d (#39 )
* motion-streak
* dragon Bones add
* tiled map unsafe change
* particle-2d add
* function name change
* some function change (#40 )
* Fix RenderData pool usage
* Fix merge issue
* fix misc bug (#41 )
* Native adaptation for spine and dragonbones with MeshRenderData
* misc fix (#42 )
* Improvements
* Fix ci and improvements
Co-authored-by: ChiaNing <sun.cloud.mo@gmail.com >
2022-01-07 15:43:04 +08:00
zxx43
bebf8aff0a
add cpu & gpu particle culling test ( #9945 )
2022-01-07 13:16:50 +08:00
Greg1129
88a0ccbf26
fix particle capacity <= 0 ( #9910 )
...
* fix particle capacity <= 0
* fix issue 10417 particle capacity 0
* fix issue 10417 particle capacity setter range limitation
* remove unused package
2022-01-06 15:10:32 +08:00
santy-wang
7ffe1bc031
Merge branch 'v3.4.1' of https://gitlab.cocos.net/publics/engine into v3.5.0
2022-01-06 14:41:28 +08:00
Leslie Leigh (李的序)
d97e453b07
Fix decorator order issue in standalone mode ( #9911 )
...
* Fix decorator order issue in standalone mode
* Apply
* Update
2022-01-05 23:30:21 +08:00
Greg1129
6f3b1fae0c
fix bug: remove all actions by tag ( #9876 )
...
* fix bug: remove all actions by tag
* add tween unit test
* add @internal comment
* fix using backward delete
* add commnets by eslint
2021-12-30 17:55:11 +08:00
Greg1129
5d3b5d64c8
modify builtin texture generation + particle unit test ( #9841 )
...
* modify builtin texture generation + particle unit test + particle system capacity issue 10417
* change texture format to RGBA8
* modify builtin texture generation
* modify format and remove particle parts out to another pr
* fix array buffer view generation
2021-12-29 10:35:57 +08:00
alpha
f153b5cc1b
fix Color.fromHex Bug ( #9867 )
2021-12-28 11:52:01 +08:00
Zhang mingzhen
6601d1d2de
Label string setter optimization ( #9880 )
...
* remove rebundant onDisable
* update label.string.setter and add unit test case
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com >
2021-12-28 11:27:58 +08:00
santy-wang
d3d84673d3
Merge branch 'v3.4.0' of https://gitlab.cocos.net/publics/engine into v3.5.0
2021-12-10 19:20:01 +08:00
Leslie Leigh (李的序)
b4ec6c576e
Fix AnimationGraph.disconnect() ( #9785 )
...
* Fix AnimationGraph.disconnect()
* Update comment
2021-12-09 15:29:19 +08:00
Leslie Leigh (李的序)
080053bc33
Empty tracks shall not take effect ( #9777 )
...
* Empty tracks shall not take effect
* Fix test
* Fix test
2021-12-08 10:31:20 +08:00
ChiaNing
99bdb07378
Revert "mesh buffer cache add ( #9728 )"
...
This reverts commit 1c0db6414a .
2021-12-03 19:46:09 +08:00
santy-wang
01ceef90c1
Merge branch 'v3.4.0' of github.com:cocos-creator/engine into v3.5.0
2021-12-03 00:08:06 +08:00
ChiaNing
1c0db6414a
mesh buffer cache add ( #9728 )
...
* UI MeshBuffer Cache add
* support hierarchy changed event
* notify upper
* use Dirty by Hierarchy Changed
* PR fix
* Fix CI
* fix CI
* support hierarchy changed event & function name change
* function name change
* comment add
* type change
Co-authored-by: santy-wang <wh19930829@qq.com >
2021-11-25 21:25:16 +08:00
Leslie Leigh (李的序)
d47f5eb6a5
AnimationController.variables() ( #9710 )
...
* AnimationController.variables()
* rename, add test
* rename
2021-11-24 14:54:56 +08:00
santy-wang
6cde877e5b
Merge branch 'v3.4.0' of https://gitlab.cocos.net/publics/engine into v3.5.0
2021-11-24 14:23:21 +08:00
Santy-Wang
c08d69f664
introduce container manager ( #9640 )
...
* introduce pool manager
refine
refine
fix render mode
introduce pool manager
refine
* refine
* fix ci
* fix spine buffer
* add unit test
* add unit test 2
2021-11-22 23:23:19 +08:00
zhakesi
fed044e8fb
optimize opacity update ( #9679 )
...
* optimize opacity update
* remove _cacheAlpha
* modify code style
* Update cocos/core/scene-graph/node-ui-properties.ts
* Update cocos/core/scene-graph/node-ui-properties.ts
* 1. supplement unit test case
2. supplement default dirty parameter
(cherry picked from commit 7e62d265ffbc8566e92bfcc10c1f9eb68e081487)
Co-authored-by: Santy-Wang <wh19930829@qq.com >
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com >
2021-11-19 17:35:19 +08:00
Leslie Leigh (李的序)
d5154269e2
Fix log() takes not effect if debug mode <= verbose ( #9681 )
2021-11-18 12:00:24 +08:00
Leslie Leigh (李的序)
05484abc30
Rename animation.StateStatus -> animation.MotionStateStatus ( #9675 )
2021-11-17 15:55:03 +08:00
Santy-Wang
89f8cfbad3
optimize layer ( #9658 )
...
* optimize layer
* refine
2021-11-13 15:33:07 +08:00
PP
1abbc90c23
compability for PROPORTIONAL_TO_FRAME container strategy ( #9642 )
...
* support isProportionalToFrame field on screen-adapter
update
stash
* rename _setupContainer to _setupCanvas
* optimize view.setResolutionPolicy()
* remove TIME_OUT to handle resize event
* compability for PROPORTIONAL_TO_FRAME container strategy
comp
update
* add NOTE
* optimize 'window-resize'
resize
* deprecate game.frame && game.container
deprecate
game
* close screen.resolutionScale interface
close
* fix npm test
* fix view unit test
* space
2021-11-11 19:24:39 +08:00