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
林玮
e7e8036dcd
fix: editor and cocos-play issues ( #12908 )
...
* fix: editor and cocos-play issues
* * Change 'windowId' to optional.
2022-09-27 17:45:21 +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
林玮
785fd91511
Add multi-windows support ( #12243 )
...
Co-authored-by: bofeng.song <bofeng.song@chukong-inc.com >
2022-09-15 14:55:44 +08:00
QingliWang
6a8f53b186
Add features for XR developement. ( #12413 )
...
* Change Android mainloop, add global config and template projects for XR.
* Change gfx/gles device's process flow for XR, working with other PRs, waiting.
* Change gfx/Vulkan device's process flow for XR, working with other PRs, waiting.
* Change render process for XR.
* Develop XR input and events.
* Develop 3D feature of UI widgets and raycast effect for XR.
Co-authored-by: fqamic <fqamic@vip.qq.com >
2022-08-22 16:34:45 +08:00
PP
c28ee043ef
fix API docs ( #12423 )
...
* fix model API docs
* fix vfmtPosUvColor API docs
* update RenderWindow docs style
2022-08-17 16:56:55 +08:00
hyde zhou
6ab59df008
[v3.6.0 pipeline] add pipeline macro ( #12136 )
...
* add pipeline macro
2022-07-21 23:23:16 +08:00
Zhang mingzhen
f411966b7f
modify regex to adjust iOS version between 14.0 to 15.3 ( #11698 )
...
* modify regex to adjust iOS version between 14.0 to 15.3
* remove legacy code and put modification in new function
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com >
2022-07-04 16:00:35 +08:00
Santy-Wang
7bc135e1c7
adjust initialization process ( #11143 )
...
* adjust init process
* fix bugs
* restructure
* tweak
* delete useless code
* fix ci
* support more platform and fix some bugs
* mark internal
* tweak
* add docs
* add docs and little adjustment
* fix bugs
* adjust decorator execute order
fix mesh error
* fix bugs
* revert some change
* revert auto-generated code
* revert auto-generated code
2022-07-03 21:16:09 +08:00
pandamicro
130a770cbd
Cleanup imports ( #11811 )
2022-07-01 22:21:15 +08:00
PP
a4641b55a1
deprecate view.setRealPixelResolution ( #11722 )
2022-07-01 13:46:31 +08:00
pandamicro
12072ffc62
Merge v3.5.1 zqb branch to v3.6 ( #11637 )
...
* support asset property preview (#11017 )
(cherry picked from commit 85769cf8f81459b5ad98ccab4138420009572a32)
* show mesh asset thumbnail (#10981 )
* V3.5.1 noise particle (#11003 )
* add cpu & gpu noise for particle
* add some params & change particle noise shader
* change shader
* add cpu noise particle
* add noise preview
* run generation when preview
* revert shaders
* remove unused statements
* add particle noise module
* change noise preview interface
* add invisible to remap
* remove get deltaTime
* set noiseModule private
* fix eslint
* feat: add noise preview (#11260 )
* [Optimize] asset editing undo (#10779 )
* edit render-pipeline
* support renderpipeline undo
* optimize material editing undo
* reset last record data
* temporary not support animation-mask undo
* support animation-mask edit undo
* animation mask remove _jointMasks
* Animation clip embedded players (#11320 )
* Animation clip subregions
* Log
* Test
* Eval
* Update
* Update
* No longer use animation state to implement clip motion
* Clear subregions
* Fix
* Mark subregion as editor extendable
* Animation clip subregion player path
* fix isnan(0.0) with webgl1.0 (#11262 )
* fix isinf(0.0)==true with webgl1.0
* code style
* fix specular params with surface toon (#11265 )
* code format and add sliders for parameters (#11266 )
* Broadcasting of animation state\'s speed
* Fix
* Rename
* Update
* Fix
* Revert "No longer use animation state to implement clip motion"
This reverts commit 20755f9ec525b27b5b9a515c8dd687349aa4c637.
* Revert some exotic changes
* Update docs
Co-authored-by: jk20012001 <jkregister@163.com >
Co-authored-by: 徐兵 <49358166+xubing0906@users.noreply.github.com >
* fix skinning model split (#11378 )
* fix skinning model split
* rename function _resizeMaxJointForDS
Co-authored-by: zhakesi <zhakesi@foxmail.com >
* [ci skip][AUTO]: Automated genbindings update: d823cbba1f7ce8284da28458c26534da2e033961 (#11378 ) (#11383 )
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
* use stop emitting instead (#11381 )
* add stop emitting api
* use stop emitting instead
* Update cocos/particle/particle-system.ts
Co-authored-by: Leslie Leigh (李的序) <leslieleigh@outlook.com >
Co-authored-by: Leslie Leigh (李的序) <leslieleigh@outlook.com >
* fix: imageData fault tolerance (#11374 )
* fix: imageData fault tolerance
* chore: when data is an empty array,stop the function
* material undo updating effects list (#11409 )
* modify noise module ui (#11433 )
* use visible decorator to control the visibility of property (#11438 )
* fix joints data with value nan (#11489 )
* V3.5.2 CI Android NDK set version to 21 (#11448 ) (#11492 )
* Minor improvement
* Fix format
* Fix particle culler
* Improve particle culler
* Manually migrate joint data upload with texture in skinning model
* Update shaders for skinning model based on joint texture
* fis native skinning model with realtime-texture mode (#45 )
Co-authored-by: zhakesi <zhakesi@foxmail.com >
* fix clangtidy (#46 )
* Small tweaks
* modify code struct for skinning model (#47 )
* modify code struct for skinning model
* update skinning chunk
Co-authored-by: 黄森斌 <arsen2010@126.com >
Co-authored-by: zxx43 <zxx43@hotmail.com >
Co-authored-by: 袁炜海 <35713518+dogodo-cc@users.noreply.github.com >
Co-authored-by: Leslie Leigh (李的序) <leslieleigh@outlook.com >
Co-authored-by: jk20012001 <jkregister@163.com >
Co-authored-by: 徐兵 <49358166+xubing0906@users.noreply.github.com >
Co-authored-by: zhakesi <liqiao@cocos.com >
Co-authored-by: zhakesi <zhakesi@foxmail.com >
Co-authored-by: Cocos Robot <48829427+cocos-robot@users.noreply.github.com >
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
Co-authored-by: Santy-Wang <wh19930829@qq.com >
Co-authored-by: zhangxin <59186205+chichinohaha@users.noreply.github.com >
Co-authored-by: 江战 <40414978+PatriceJiang@users.noreply.github.com >
2022-06-24 15:10:45 +08:00
pandamicro
8864f2f4c7
Merge remote-tracking branch 'cocos-for-editor/v3.5.2' into merge3.5
...
# Conflicts:
# cocos/core/components/renderer.ts
# cocos/core/global-exports.ts
# cocos/core/renderer/core/render-scene.ts
# cocos/core/renderer/core/render-window.ts
# cocos/core/renderer/scene/index.ts
# cocos/core/root.ts
# cocos/core/scene-graph/scene-globals.ts
# package.json
2022-06-09 15:20:30 +08:00
pandamicro
ec58a77ff0
Fix more API docs in core ( #11338 )
...
* Fix more API docs in core
* Update version
* tweaks
2022-06-02 21:03:17 +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
pandamicro
6912ea1c62
Update api doc for core/renderer/scene ( #10962 )
...
* Update api doc for core/renderer/scenne
* Improve doc
2022-05-06 16:23:39 +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
Santy-Wang
8601de5de0
adjust api docs ( #10871 )
...
* adjust api docs
* refine
* add english doc
2022-04-26 19:14:47 +08:00
PP
8a68ddadb5
optimize API doc ( #10858 )
...
* optimize API doc
* update
* update
2022-04-25 21:03:16 +08:00
minggo
84c27e7f71
Merge branch 'v3.5.0' into v3.6.0_merge_v3.5
2022-04-24 13:41:27 +08:00
pandamicro
ee837cfa10
Improve doc for macro ( #10816 )
...
* Improve doc for macro
* fix gramma
2022-04-20 23:08:07 +08:00
pandamicro
dae6ac508c
Fix some API doc issues ( #10788 )
...
* Fix some API doc issues
* Add some new zh doc
* remove geometry deprecation since 3.0
* Fix ci
2022-04-20 21:02:58 +08:00
Santy-Wang
e82cec17ac
update docs ( #10796 )
...
* update docs
* update docs more
* refine
* refine
2022-04-20 18:47:53 +08:00
godIsAProgrammer
6888128078
Update macro.ts for API reference ( #10760 )
...
* macro.ts
* update macro file
Co-authored-by: caoqisen <qisen.cao@cocos.com >
2022-04-14 18:20:27 +08:00
PP
d749bbe1c4
remove legacyPublic tag ( #10702 )
2022-04-08 19:41:20 +08:00
minggo
a6bf766170
Merge branch 'v3.5.0' into v3.6_merge_v3.5
2022-03-29 18:26:40 +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
hyde zhou
7e68488a76
shadingScale moved from PipelineSceneData to Pipeline ( #10292 )
2022-03-10 09:57:59 +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
abeab77c3c
wechat minigame optimization #11328 ( #10159 )
...
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com >
2022-02-28 14:56:07 +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
ChiaNing
0036ddba81
change sys.__isWebIOS14OrIPadOS14Env for iOS 14 ( #10019 )
2022-01-19 11:41:54 +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
PP
bc0f912279
fix keyboard event listening on mobile ( #9935 )
...
* fix keyboard event listening on mobile
* update deprecation info
2022-01-06 23:05:56 +08:00
PP
b6d54e3ad7
support screen.devicePixelRatio ( #9926 )
2022-01-06 15:35:53 +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
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
jk20012001
eb883997a1
Fix #10538 : Android+WebGL PS struct variables has mediump precision ( #9863 )
...
* Fix #10538 : Android+WebGL PS struct variables has mediump precision
* update compiled shaders
* review modification
* update compiled shaders
2021-12-24 11:01:54 +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
Leslie Leigh (李的序)
d5154269e2
Fix log() takes not effect if debug mode <= verbose ( #9681 )
2021-11-18 12:00:24 +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
PP
ab69d20027
Revert "deprecate ENABLE_WEBGL_ANTIALIAS ( #9626 )" ( #9645 )
...
This reverts commit 5ffc4482cd .
2021-11-10 11:27:51 +08:00
PP
5ffc4482cd
deprecate ENABLE_WEBGL_ANTIALIAS ( #9626 )
...
* deprecate ENABLE_WEBGL_ANTIALIAS
update
* remove deprecation usage
2021-11-05 10:40:51 +08:00
PP
51989a1b76
get exactFitScreen option from game initialization ( #9594 )
...
* get exactFitScreen option from game initialization
* set HTML5 as true by default
* optimize editor scene resize
2021-11-02 10:25:49 +08:00
PP
1ed2a9833e
optimize screen adaption on Web platform ( #9580 )
...
* optimize screen._init
* support WindowType on Web platform
* optimize fullscreen adaption
* optimize frame resize
update
* set timeout to handle screen event
* fix esLint
* fix esLint
* fix spelling
* fix number type
* EVENT_TIMEOUT
* fix esLint
* revert naming 'OrientationMap'
2021-11-01 00:01:49 +08:00
Jare Guo
00cf281cf0
switch error url to develop branch ( #9582 )
2021-10-30 22:16:01 +08:00
PP
f5511f4c87
Revert "Revert "optimize interface in screen module ( #9176 )"" ( #9490 )
...
This reverts commit b88d4845cc .
2021-10-15 10:21:04 +08:00
pandamicro
b88d4845cc
Revert "optimize interface in screen module ( #9176 )"
...
This reverts commit 4735476945 .
2021-10-14 23:07:23 +08:00