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
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
zhakesi
c7761e5c19
middleware2d components rendering in native mode ( #12788 )
...
* middleware2d components rendering in native mode
* support spine/dragonbones set enable batch
* support spine rendering in batching mode
* get batcher2d instance from root
* process about with type conversion
* fix some code style
* use material hash to merge draw batch
* deal with fill z
* fix dragonbones fill z
* remove some code no used any more
* refactoring some code
* modify some code
* add free memory
* fix clang-tidy
* delete mesh-buffer-layout in destructor
* byte alignment
2022-09-20 13:31:33 +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
c5c7b987ea
move cocos/core/gfx to cocos/gfx ( #12559 )
...
* move cocos/core/gfx to cocos/gfx
2022-08-26 17:51:46 +08:00
zhakesi
58a720a1bf
fix tiled-tile ( #12377 )
2022-08-17 11:38:35 +08:00
zhakesi
aabe55eb8f
fix tiled-group set premultiplyAlpha ( #12309 )
...
* fix tiled-group set premultiplyAlpha
* fix access property blend factor
2022-08-04 10:31:27 +08:00
ChiaNing
f8fb03e9af
remove blend state on ui render ( #12228 )
...
* remove blend state on ui render
* tiledGourp updateBlendFunc hack
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com >
2022-07-29 11:54:28 +08:00
Santy-Wang
9c092e7b77
optimize code of batcher2D ( #12166 )
...
* optimize code of batcher2D
* fix bugs
* no lint
* no lint
* no lint
* fix ci
2022-07-25 15:56:40 +08:00
Santy-Wang
07facb9bf1
optimize memory ( #12157 )
2022-07-23 15:28:25 +08:00
zhakesi
e18e900162
support spine/dragonbones use local native batcher2d ( #12141 )
...
* support spine/dragonbones use local native batcher2d
* avoid tiled map use local
* render-entity add set use local
* modify some code
Co-authored-by: zhakesi <zhakesi@foxmail.com >
2022-07-22 12:54:15 +08:00
zhakesi
eab5f52c92
fix tiledLayer addUserNode ( #12122 )
2022-07-21 15:47:52 +08:00
Zhang mingzhen
12625f09d8
RenderDrawInfo code sorting ( #12055 )
...
* remove blendHash and DrawInfoAttrLayout
* remove code in cpp
* remove blend hash in ts
* remove blendhash of middleware in ts
* remove rebundant code
* remove stencilStage in drawinfo
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com >
2022-07-19 13:35:54 +08:00
zhakesi
51d999e0e6
native batcher2d tiled-map addUserNode complete ( #12059 )
2022-07-19 10:53:42 +08:00
zhakesi
096453b2ad
native batcher2d for tiled-map ( #12044 )
...
Co-authored-by: zhakesi <zhakesi@foxmail.com >
2022-07-18 10:12:26 +08:00
zhakesi
8110169ad1
fix tmx load field in mini game platform ( #11819 )
2022-07-03 13:22:52 +08:00
biliskener
53d564b6ce
Solve the problem that the properties of the Object below the ObjectGroup in TiledMap are incorrectly mixed into the property list of the ObjectGroup. The function getElementsByTagName() searches for child nodes in a deep way. ( #9559 )
2022-06-20 15:29:40 +08:00
mmyduckx
df1594c8d8
Gameview editor macro ( #11568 )
...
* GameView related EDITOR macro modify
* remove debug code
* fix ci
* fix review
* fix review
2022-06-20 10:05:29 +08:00
minggo
7814949998
Merge branch 'v3.5.1' into v3.6.0_merge_v3.5.1
2022-05-24 11:53:57 +08:00
pandamicro
dba83c270d
Fix multi blank lines ( #11116 )
2022-05-17 11:56:06 +08:00
ChiaNing
045e6430cb
add base-Renderer and separate & rename renderableComp ( #10903 )
...
* add base-Renderer and separate & rename renderableComp
* rename
* some fix
* misc fix
* format change
* file name change & api doc add
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com >
2022-05-09 17:44:56 +08:00
Santy-Wang
23de9188ba
V3.5 docs ( #10898 )
...
* adjust api docs and delete useless annotation
* delete useless annotation
2022-04-27 15:22:22 +08:00
zhakesi
146b74e4ef
fix api docs ( #10872 )
...
* fix api docs
* add internal mask
Co-authored-by: zhakesi <zhakesi@foxmail.com >
2022-04-25 18:31:29 +08:00
Santy-Wang
e82cec17ac
update docs ( #10796 )
...
* update docs
* update docs more
* refine
* refine
2022-04-20 18:47:53 +08:00
zhakesi
3d93c22bf7
fix: set tmxAsset not apply file ( #10690 )
...
* fix: set tmxAsset not apply file
* fix code style
Co-authored-by: zhakesi <zhakesi@foxmail.com >
2022-04-08 19:47:49 +08:00
PP
d749bbe1c4
remove legacyPublic tag ( #10702 )
2022-04-08 19:41:20 +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
Santy-Wang
a963881d4e
add category config file for docs ( #10589 )
...
* add category config file for docs
* add input module
* adjust name
2022-03-30 18:32:37 +08:00
zhakesi
bac3bc99b3
fix sprite-frame size after repetitive dynamic creation of tiledmap ( #10535 )
...
* fix sprite-frame size after repetitive dynamic creation of tiledmap
* rename texture to sprite-frame
Co-authored-by: zhakesi <zhakesi@foxmail.com >
2022-03-28 16:55:28 +08:00
zhakesi
5157fd2734
fix tiled show with pixel offset ( #10523 )
...
Co-authored-by: zhakesi <zhakesi@foxmail.com >
2022-03-26 19:13:47 +08:00
Santy-Wang
ab82e1b42d
remove hidden ( #10414 )
...
* remove hidden
* fix typo
* fix unit-test
* turn on auto fix
2022-03-22 15:11:16 +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
pandamicro
2ba83f18a4
Ensure RenderData.clear won't break usability ( #10177 )
...
* Cleanup Renderable2D onDestroy and destroyRenderData
* Ensure RenderData.clear won't break usability
* Remove quad render data
* Fix Skeleton.destroyRenderData
* Small tweak
* Fix ci
* Add protection to buffer accessor size calculation
* Cleanup spine & dragonbones code
* Improve DragonBones draw list management
* Fix currRenderData state issue
2022-02-25 14:56:54 +08:00
zhakesi
c51684608e
fix getTiledTileAt cause layer show wrong. ( #10137 )
...
* fix getTiledTileAt cause layer show wrong.
* fix code style
2022-02-21 16:14:40 +08:00
zhakesi
9bf99c2977
fix releaseMapInfo error. ( #10062 )
...
* fix releaseMapInfo error.
* fix tiledmap releaseMapInfo
2022-02-09 15:36:27 +08:00
zhakesi
f4591341cb
fix tiledmap show wrong ( #10059 )
2022-01-27 17:12:58 +08:00
ChiaNing
8f87cbd483
useless UI_GPU code delete ( #10048 )
2022-01-25 19:14:41 +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
zhakesi
11ec677182
fix TiledLayer culling row and col ( #10035 )
2022-01-21 18:58:37 +08:00
pandamicro
1ed6b85579
Temporary fix for tiled map with custom nodes ( #10017 )
...
* Revert "use byteLength instead of byteCount in tiled-layer (#10008 )"
This reverts commit 2d23a28b32 .
* Temporary fix for shield node test case
2022-01-19 08:58:23 +08:00
zhakesi
2d23a28b32
use byteLength instead of byteCount in tiled-layer ( #10008 )
...
* use byteLength instead of byteCount in tiled-layer
* use byteLength to replace byteCount
2022-01-18 13:35:35 +08:00
zhakesi
22ef32a09f
fix TiledLayer's color setting ( #9997 )
2022-01-14 22:07:23 +08:00
pandamicro
39fb445e64
Add MeshRenderData.resize for changing both buffer size and ia size ( #9986 )
...
* Improve code
* Improve code
* Add MeshRenderData.resize for changing both buffer size and ia size
* Fix tiled map
2022-01-13 15:08:20 +08:00
pandamicro
f177073891
Fix tiled map ( #9980 )
2022-01-12 23:25:34 +08:00
ChiaNing
2f1d6ae04e
request IA by pool ( #9967 )
...
* request IA by pool
* change to use RecyclePool
* fix reset
* ia Start fix
* fix DB
2022-01-12 15:29:55 +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
PP
fbde8d1e90
use lagacyPublic to marked deprecated public interface ( #9859 )
...
* use lagacy-public
* publish beta6
* remove jsDoc tag from constructor
* use legacyPublic
* publish beta 7
2021-12-28 11:48:10 +08:00
PP
cc01fad918
support internal interface filter ( #9797 )
...
* support interface filter
* publish build-engine@4.2.20-beta.1
* update
* fix other type of statement
* publish @cocos/build-engine 4.2.20
* update lock
* remove `@internal` from constructor documentation
* change to internal_cc tag
* support target tag in interface-filter
* publish 4.2.21-beta.1
* remove `@private_cc` tag
* remove public internal interface
* remove public internal getter setter
* remove public declare internal property
* update
* remove `__editorExtrasTag__`
* remove public internal interface on `js`
* pulish @cocos/build-engine 4.2.21-beta.2
* change tag to `@deprecated_to_user`
* support `@deprecated_to_user`
* publish 4.2.21-beta.3
* finish change request
* change to marked_as_engine_private
* publish 4.2.21-beta.5
2021-12-22 12:55:45 +08:00