PP
a124dd313d
release _innerAudioContext after playOneShot ended ( #10763 )
...
* release _innerAudioContext after playOneShot ended
* fix ci
2022-04-14 17:04:20 +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
PP
d749bbe1c4
remove legacyPublic tag ( #10702 )
2022-04-08 19:41:20 +08:00
PP
2b806c6a5a
fix screen size && touch event on Alipay platform ( #10666 )
2022-04-06 16:22:22 +08:00
santy-wang
10349e567d
Merge branch 'v3.4.2' of https://gitlab.cocos.net/publics/engine into v3.5.0
2022-03-08 10:21:39 +08:00
PP
36df8185ca
cache system info on ByteDance platform ( #10218 )
2022-03-02 19:58: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
PP
fa20eb69e1
optimize multi-touch on ByteDance platform ( #10086 )
2022-02-11 18:18:37 +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
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
1300cb8ab7
fix audio buffer memory leak on ByteDance and Web platform ( #9933 )
2022-01-06 18:27:26 +08:00
alpha
e5040dc3ee
[3.4.1] Fix bug multi touch ( #9917 )
...
* 🐛 fix multi touch can not disable
* Update pal/input/touch-manager.ts
Co-authored-by: PP <chinese1236@qq.com >
* Update pal/input/touch-manager.ts
Co-authored-by: PP <chinese1236@qq.com >
Co-authored-by: PP <chinese1236@qq.com >
2022-01-06 18:22: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
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
1f58fbff6c
cache systemInfo on Cocos Play platform ( #9856 )
...
* cache systemInfo on Cocos Play platform
* resize swapChain
2021-12-23 11:40:00 +08:00
pandamicro
decf7e92fa
Merge pull request #9853 from holycanvas/v3.5.0-sync
...
sync v3.4.1
2021-12-22 16:01:31 +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
PP
10634ea544
resctrict DPR on Web platform ( #9850 )
2021-12-21 17:21:25 +08:00
PP
b11686b4dc
compability for undefined game frame ( #9830 )
2021-12-16 19:18:16 +08:00
PP
6f89f4f4ef
fix safe area on vivo platform ( #9742 )
2021-12-01 13:23:09 +08:00
PP
cea8818c5f
remove warnning: Failed to set shading scale, pipelineSceneData is invalid ( #9720 )
2021-11-24 16:48:33 +08:00
PP
55299dc7fa
start audioSourceBufferNode before running audio context ( #9660 )
...
* start audioSourceBufferNode before running audio context
* remove test
2021-11-15 11:37:29 +08:00
timlyeee
e0d8758fcb
[temp hack] use simple flag to pause splashScreen ( #9606 )
...
* use simple flag to control framemove
* Pause splashScreen for native platform as windows
* .
* remove unused include
* rename functions
2021-11-12 14:39:53 +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
dea48a404c
remove DPR hack on vivo platform ( #9625 )
2021-11-04 23:07:48 +08:00
PP
14a34d2c17
reset currentTime when stop native audio ( #9604 )
2021-11-03 16:41:34 +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
PP
40b39ca7f5
fix screen size on Alipay && optimize DPR on vivo platform ( #9560 )
...
* fix screen size on Alipay
stash
* optimize DPR on vivo platform
* optimize code
2021-10-29 11:09:05 +08:00
PP
a5a5ff9d38
fix cached currentTime on native audio ended ( #9509 )
2021-10-22 11:51:22 +08:00
PP
f99bddaf38
fix undefined addEventListener on MediaQueryList ( #9508 )
2021-10-22 11:38:11 +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
PP
4735476945
optimize interface in screen module ( #9176 )
...
* optimize interface in screen module
* remove DPR calculating
* update screen-adapter init
* set screen.resolutionScale as 1 by default
* remove pixelRatio getter in system-info
* remove sys.windowPixelRatio access
* optimize screen.windowSize
update
* convertToCocosScreenSpace
* change resolution-change to window-resize
* fix native UI
update
update UI
update UI
* optimize screen init
* fix subContextView
* fix root resize
* fix precision issue on Metal render end
* sys.windowPixelRatio
* use warnID
* remove screen.convertToCocosScreenSpace
* put private property and method together after public ones
* warnID
* fix landScape on CocosPlay
* fix DPR on vivo platform
* fix CI
2021-10-14 22:16:34 +08:00
PP
bb815aa024
optimize web EVENT_TOUCH support ( #9460 )
2021-10-14 10:29:36 +08:00
PP
f433551d1d
support system feature query ( #9428 )
...
* support feature query in pal/system-info
* support sys.hasFeature and deprecate sys.capabilities
* remove deprecated usage
* support input feature query
update
* IMAGE_BITMAP
* INPUT_TOUCH
* WEBGL
* support WEB_VIEW, VIDEO_PLAYER, SAFE_AREA query
* rename INPUT_XXX to EVENT_XXX
* support device-manager
update
update
update
* add NOTE
* export deviceManager from gfx
* fix circular dependency
* fix wechat devtools
update
* Revert "fix circular dependency"
This reverts commit ba8a6c0e2e4fa6b2015ae438a4c9a5da94b9bf46.
* Revert "export deviceManager from gfx"
This reverts commit 14b26ca0e3f6e0dce32c37bd668c65193dbd366f.
* Revert "support device-manager"
This reverts commit 010a910e56e1ee2fe9726629fca163fc24ed5b37.
# Conflicts:
# pal/system-info/enum-type/feature.ts
* update
update
* use INPUT_TOUCH for sys.capabilities
* update
2021-10-14 10:29:36 +08:00
PP
9b7cbc8298
optimize DPR change event listener ( #9421 )
...
* optimize DPR change event listener
* cache previous DPR when resize callback
update
* support all web platform
2021-09-30 10:23:45 +08:00
PP
411ef58a0a
support DPR changed event listener on Web platform ( #9410 )
2021-09-28 19:25:45 +08:00
PP
5878829d51
refactor UI pointer event dispatcher ( #9363 )
...
* optimize node event processor
# Conflicts:
# cocos/core/scene-graph/node-event-processor.ts
# cocos/core/scene-graph/node.ts
* support pointer event dispatcher
* remove event manager, event listener
# Conflicts:
# cocos/core/director.ts
# cocos/input/index.ts
* remove docs for event-manager
* fix pointer lock on web
* BREAKING-CHANGE: ui-transform.isHit interface
ud
* fix CI
* fix CI
* activeInHierarchy
2021-09-24 13:34:43 +08:00
PP
81fdaf346d
support input module ( #9327 )
...
* support input module
* don't export eventManager
2021-09-18 19:25:08 +08:00
PP
ccd505ad14
migrate Engine Input Event into PAL ( #9320 )
...
* optimize input module
* rename
* fix CI
* update input-box.d.ts
2021-09-15 13:51:38 +08:00
Yun Hsiao Wu
79f6ec1fcf
handle swapchain resize event ( #9305 )
...
* swapchain resize accept surface transform
* rt attachment should support read back
2021-09-09 16:00:02 +08:00
PP
97b3657549
migrate input module out of platform ( #9296 )
...
* migrate input module out of platform
* revert EventKeyboard.isPressed deprecation
* fix CI
2021-09-07 15:24:43 +08:00
PP
c412d3a815
support touch manager on PAL ( #9281 )
...
* support touch manager
* update inputmanager
* update event manager
* optimize code
2021-09-07 14:10:04 +08:00
PP
400ef282fb
support audio buffer manager ( #9270 )
2021-09-02 11:03:20 +08:00
PP
91fab6859d
fix audio can't resume when enter foreground on ByteDance platform ( #9094 )
2021-07-30 11:27:29 +08:00
PP
b6491be095
fix audio timer seeking on pausing operation ( #9092 )
2021-07-29 17:28:59 +08:00
PP
d755243688
fix Audio can't loop on native platform ( #9085 )
2021-07-28 19:10:55 +08:00
PP
34f329e090
fix circular dependency ( #9004 )
2021-07-19 15:51:35 +08:00
PP
ccb50e340c
fix Audio bug on v3.3 ( #8960 )
...
* support AudioTimer in pal
update
* optimize InnerAudioContext destroy on MiniGame platform
* fix audio source on persist node paused when change scene
* compatible with audio.duration on WeChat platform
stash destroy
* fix audio can’t resume on WeChat when enter foreground
* fix audio can't pause on Android platform when enter background
* fix ci
* update null
2021-07-18 17:31:45 +08:00