qiuguohua
be5eae04f5
Add ‘screen.on’ interface to listen to screen-related events. ( #15080 )
...
* 1、Add ‘screen.on’ interface to listen to screen-related events.
2、Deprecate ‘setResizeCallback’ interface
* Modify comment errors
2023-05-17 17:36:54 +08:00
PP
0b353b6e14
feat: support general WASM module in engine ( #14974 )
...
* support pal/wasm module
pal/wasm
* support sys.Feature.WASM and WASM_SUPPORT_MODE
# Conflicts:
# pal/system-info/web/system-info.ts
# Conflicts:
# pal/system-info/web/system-info.ts
# Conflicts:
# pal/system-info/web/system-info.ts
* optimize bullet module
* update physx module
update
* revert tsconfig
* optimize WebGPU wasm import
* fix native wasm instantiate
* support wasm in EDITOR and PREVIEW
* optimize variable name
* update comment
* optimize code
* Update cocos/misc/webassembly-support.ts
* add physx wasm (#11 ) by yiwenxue
* add physx wasm
* update physx wasm instantiate.
* update, rename, etc.
* download external in CI
* fix physX wasm init
* move out external wasm type
* update external-config.json
* expand node max-old-space-size
* use console.debug
---------
Co-authored-by: Yiwen <15225434259xue@gmail.com >
2023-05-08 18:02:17 +08:00
minggo
a22d16bbe6
Merge branch 'v3.7.3' into merge_v3.7.3
2023-04-24 11:26:58 +08:00
fqamic
36b69d4fd7
engine support to webxr ( #14861 )
...
* feat: input support to webxr
1.new webxr gamepad event
2.new webxr handle pose event
3.support webxr hmd pose event
* feat: split the frameMove function to support xr readability
* feat:Add webxrFrameMove for webxr
* improve:xr stands for globalThis.globalXR
* improve(xr):format code
* fix: webxr gamepad update cache error
* fix: webxr gamepad update cache error
* fix: code naming error
* fix: update cache right gamepad data error
* improve: any is enough for any | undefined
* improve: modify interface PoseInfo and IGamepadCacheInfo
* improve: declare IGamepadCacheInfo
* fix: globalThis.__globalXR is undefined
---------
Co-authored-by: linyuanyi <1111>
2023-04-20 23:23:15 +08:00
PP
e01ac3ee05
add tracking issue for TODO item ( #14638 )
...
* issue 14637
* issue 14640: animation module
* issue 14642: serialize deserialize hack
* issue 7519: pal/image
* issue 14643: dynamic inject
* mark as NOTE
* issue 14644: native only
* issue 7512: pal/fs
2023-03-23 16:42:46 +08:00
PP
dcc0b8d52e
support SafeArray and SafeRecord to optimize type checking ( #14595 )
...
* support SafeArray and SafeRecord to optimize type checking
2023-03-22 10:19:39 +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
PP
386ec2895a
[cherry-pick] AOT-3: optimize uinstrict code ( #14315 ) ( #14523 )
...
* AOT: optimize uinstrict code
- mark some unstrict code as TODO
- remove some unstrict code
* update comment
* remove ts-check
# Conflicts:
# cocos/2d/framework/deprecated.ts
# cocos/asset/assets/image-asset.jsb.ts
# cocos/asset/assets/texture-base.ts
# cocos/core/assets/image-asset.ts
# cocos/core/math/rect.ts
# cocos/core/scene-graph/scene-globals.jsb.ts
# cocos/native-binding/impl.ts
# cocos/scene-graph/node-dev.ts
# cocos/scene-graph/scene-globals.ts
# exports/sorting.ts
2023-03-10 13:36:45 +08:00
James Chen
60efd41c26
Merge pull request #14330 from cocos/v3.7.2
...
Merges v3.7.2 to develop
2023-02-22 09:40:48 +08:00
qiuguohua
1a369a2f18
Fix the problem that pointerlock cannot move infinitely ( #14235 )
2023-02-19 17:21:12 +08:00
qiuguohua
ee86fc40bd
Native platform modifies exit process ( #14141 )
2023-02-15 17:11:28 +08:00
fqamic
1f928364f4
fix some xr devices stretch when splash-screen logo and add handle device key ( #13915 )
...
* fix: some xr devices stretch when splash-screen logo
* feat: xr handle device support button menu and button start
2022-12-28 11:56:35 +08:00
江战
f6854cd16e
native introduce jsb.window ( #13816 )
2022-12-16 13:50:59 +08:00
mmyduckx
2efe60a576
fix game.init assetDB-warning ( #13809 )
...
* fix game.init assetDB-warning
2022-12-14 14:31:14 +08:00
江战
cade7f10d4
JSB: bind some geometry types ( #13681 )
2022-12-07 14:26:32 +08:00
minggo
8d8c283b59
Merge branch 'v3.6.3' into merge-v3.6.3
2022-11-28 13:37:25 +08:00
fqamic
2316dc77c1
improve(xr):Rename Handset to Handheld ( #13558 )
...
Co-authored-by: linyuanyi <1111>
2022-11-28 11:30:27 +08:00
fqamic
d4055f7e32
new basic capabilities of supporting handset ar and webxr ( #13420 )
...
* feat: add the basic capability of handset ar native
* feat: add handset input device, for ar camera pose
* feat: native pack tool supports xr platform name
* feat: web gl context supports webxr
* feat: webxr has been converted to screen coordinates via camera
* fix: pr ts-expect-error undefined xr
* feat: support webxr, and remove ar redundant code
* fix:xr-spaces gradlew permission error
* feat: revert redundant ar engine feature
* fix: eslint check error
* feat: remove redundant code
* fix: eslint check warning
* adjust armodule process in forward stage, mtl texture and jsb
* fix: exlint warning, and add license
* adjust ar lib and interfaces
* change webxr check interface
* merge external arlib header and move it to engine
* improve: update native external version
* move ar background stage to xr/rendering and move its init to webxr device in xr plugin
* fix format error
* fix format error
* adjust jsb_ar_manual, ARModule, ARBackground
* adjust arbackground
Co-authored-by: Parryzhai <1306895355@qq.com >
Co-authored-by: MoHai <1192652394@qq.com >
2022-11-24 13:33:50 +08:00
ycg
071ee7edb7
Merge branch 'v3.6.1-taobao' into v3.6.3
2022-11-23 14:10:14 +08:00
江战
7ccd14e6e6
JSB export math class : Vec2/Vec3/Vec4/Quat/Mat3/Mat4/Color ( #12968 )
2022-10-31 17:24:54 +08:00
ycg
827a3f0640
Fix: Update the implementation of the supportWebp on minigame. ( #13165 )
...
* Fix: Update the implementation of the supportWebp on minigame.
Optimize: Adjust the initialization of the System-info module.
* Add return type of the sys-init function.
* Add try-catch to _supportsWebp method
2022-10-28 10:44:16 +08:00
徐兵
120d7fe959
add reflection probe ( #13155 )
2022-10-27 15:36:56 +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
ycg
31ad5ab9e1
Adapter System-info on Taobao ( #12867 )
...
* Adapter System-info on Taobao
* add 'zh_CN' for iPad
2022-09-27 09:52:30 +08:00
林玮
85708b98d2
bugfix: crash when resizing on MacOS ( #12816 )
...
* fix: setCursorEnabled crash
* fix: crash when resize on MacOS
2022-09-20 14:13:39 +08:00
Zeqiang Li
f5c4dee6db
Wgpu 3.6.2 WGPU_CI_ON ( #12731 )
2022-09-16 10:20:52 +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
王凯鹏
902413646a
Feature:add prefabInstance to prefab when it's instantiated in Editor dynamiclly ( #12630 )
...
* Feature:add prefabInstance info to prefab node when it's instantiated it in Editor dynamiclly
* fix error when editor not support addPrefabInstance
2022-09-02 10:11:47 +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
timlyeee
fc4f024327
update documentations of reflection, bridge and jsbBridgeWrapper ( #12097 )
2022-07-21 18:31:30 +08:00
minggo
3c264e53ac
Revert "V3.6.0 reflection refact ( #12096 )" ( #12102 )
...
This reverts commit 5b9b98f759 .
2022-07-20 17:02:17 +08:00
timlyeee
5b9b98f759
V3.6.0 reflection refact ( #12096 )
...
* Move reflection and bridge implementation from jsb to native
* remove from jsb.d.ts
* remove jss
2022-07-20 15:32:15 +08:00
qiuguohua
e2a7c0a1df
move FileUtils namespace from jsb to native & refine doc ( #11830 )
2022-07-04 17:52:41 +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
PP
1fccb90926
support audio PCMData and sampleRate getter ( #11470 )
...
* support audio buffer and sampleRate getter
update comment
update interface
update
update comment
update jsb.d.ts
update
* support getPCMData
update
support on native
support on miningame
update
* update comment
* add example doc
2022-06-29 13:39:05 +08:00
timlyeee
23e10124ef
V3.6.0 get pcm buffer from audio ( #11521 )
2022-06-24 09:39:13 +08:00
mmyduckx
ac87775262
move Downloader&zipUtils namespace from jsb to native & refine doc. ( #11619 )
...
* move namespace from jsb to native & refine doc.
2022-06-22 09:51:41 +08:00
qiuguohua
295e327e85
The FileUtils module adds exported interfaces and removes unexported … ( #11282 )
2022-06-17 11:09:46 +08:00
Santy-Wang
e87910e851
support get component with abstract class ( #11561 )
2022-06-16 20:28:55 +08:00
PP
4531e180b2
publish build-engine 4.3.10 ( #11478 )
...
* publish build-engine 4.3.9 && support native API docs
update lock
update
* publish 3.4.10: fix generating comment on top level of namespace
* fix test CI
2022-06-14 22:31:51 +08:00
PP
1c737b91fd
optimize Constants in engine ( #11464 )
...
* publish build-engine 4.3.5
* update build-engine deps
* remove default-constants.ts
ds
remove de
* delete consts.d.ts
* support build-const workflow
* remove EXPORT_TO_GLOBAL
* update comment
* fix interface-check
* update comment
2022-06-14 16:14:34 +08:00
PP
e5511822eb
support game.end() on Minigame ( #11473 )
2022-06-14 16:13:51 +08:00
PP
d0bd6b7376
support input dispatch event for Editor ( #11471 )
...
* support input dispatch event for Editor
* update internal
* fix eslint
* fix bug
* update
2022-06-14 16:10:18 +08:00
mmyduckx
36f9f2f7a0
add comment for jsb.Downlader & jsb.zipUtils ( #11185 )
2022-05-24 10:19:14 +08:00
minggo
84c27e7f71
Merge branch 'v3.5.0' into v3.6.0_merge_v3.5
2022-04-24 13:41:27 +08:00
PP
a3f997dfda
optimize text baseline on runtime platform ( #10751 )
...
* optimize text baseline on runtime platform
* move into minigame module
2022-04-14 16:42:40 +08:00
mmyduckx
92ac6f3019
Unzip binding ( #10270 )
...
* add zipUtils manual bindings
2022-03-14 15:10:40 +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
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