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
PP
928052a593
optimize minigame.offAccelerometerChange on runtime ( #8999 )
2021-07-18 17:16:57 +08:00
PP
5a4bed2379
support inputManager.frameDispatchEvents() in main loop ( #8954 )
...
* support pollEvent() API on pal/input
update
update pal
* support inputManager.frameDispatchEvents() in main loop
* remove event-manager module
* fix CI
* fix _glView
* fix CI
* fix director pause
* update for
2021-07-16 13:45:01 +08:00
PP
d7067c29c8
deprecate interface in View module && support pal/screenManager ( #8836 )
...
* remove BrowserGetter
* deprecated view.adjustViewportMeta
* deprecate view.enableAutoFullScreen and view.isAutoFullScreenEnabled
* remove view._adjustSizeKeepCanvasSize
* remove view._convertMouseToLocation, view._convertTouchWidthScale and view._convertTouchesWithScale
* remove view._originalDesignResolutionSize
* deprecate cc.winSize and cc.visibleRect
update
* access local winSize
* access local visibleRect
* deprecate view.getVisibleOrigin view.getVisibleOriginInPixel
* Revert "deprecate view.getVisibleOrigin view.getVisibleOriginInPixel"
This reverts commit 1ae9e1d5c51d8c701eaa2e4a65cd4c17e5f6d971.
* Revert "deprecate cc.visibleRect"
* optimize screen module
update
* update
update
* optimize deprecation info
* rename pal/system to pal/systemInfo
* update pal/systemInfo access in engine layer
* support pal/screenManager
* update pal/screenManager access in engine layer
* fix bug
* optimize deprecation info
* fix auto fullscreen
* fix ci
* fix ci
* update change request
update
update
* fix CI
2021-07-09 18:57:03 +08:00
PP
e556ac0b99
fix EventMouse.movement on native and minigame platform ( #8947 )
...
update
2021-07-08 23:00:28 +08:00
PP
6487e67b36
optimize enum type in SystemEvent module ( #8912 )
...
* export KeyCode
* rename to SystemEvent.EventType
remove legacy import
update pal
* systemEventType =value type, SystemEvent.EventType =enum type
* support KEY_PRESS KEY_RELEASE, deprecate KEY_UP event
* add back Event.NO_TYPE
* update pal/input interface
* fix ci
* Revert "support KEY_PRESS KEY_RELEASE, deprecate KEY_UP event"
This reverts commit 623385e5f8e6c133f287753654b21a5bb7adafee.
# Conflicts:
# pal/input/minigame/keyboard.ts
* remove KEY_PRESS event
* remove legacy usage of macro.KEY
* fix KeyCode spell
2021-07-08 16:39:03 +08:00
PP
8b98be8a7e
fix sys.getNetworkType() on native platform ( #8941 )
2021-07-07 17:13:22 +08:00
PP
960dc20334
compability with AudioClip method since deprecated on v3.1.0 ( #8905 )
2021-06-29 10:33:13 +08:00
PP
40789fa069
implement WebAudio on ByteDance platform ( #8802 )
...
* rename AudioPlayerMinigame
* optimize Show Hide
* support ByteDanceAPI
* support WebAudio on ByteDance
remove maxAudioChannel
* cache audio buffer
2021-06-24 18:57:42 +08:00
PP
11287df34a
fix gl stencil on pc wechat game ( #8871 )
...
* support versionCompare util
* fix gl stencil
2021-06-24 13:59:59 +08:00
PP
d85cee16df
remove legacy adapter in Wechat PC game ( #8626 )
...
* support keyboardEvent on wx pc game
update
update
# Conflicts:
# pal/input/minigame/keyboard.ts
* support mouse event
* move in gl.useProgram adapting
* remove legacy adapter
update
* update
update
update
update
* rename interface
* bind method
2021-06-24 11:37:16 +08:00
santy-wang
e58499bb3f
Merge branch 'v3.2.0' of https://gitlab.cocos.net/publics/engine into v3.3-merge
2021-06-22 16:59:04 +08:00
Yun Hsiao Wu
d1d077c098
gfx: sRGB texture support ( #8822 )
2021-06-17 18:09:57 +08:00
PP
7e55ddf133
support SystemEvent.Keyboard enum type ( #8785 )
...
* support SystemEvent.Keyboard enum type
update
update
update
update
# Conflicts:
# cocos/core/platform/event-manager/system-event.ts
update pal
mark macro.KEY as warning
mark
update
update
* support right shift, alt and ctrl enum
* support web keyCode map
# Conflicts:
# pal/input/web/keyboard.ts
* support num enter key enum
* rename num_slash to num_divide
* support native keyCode map
# Conflicts:
# pal/input/native/keyboard.ts
* update enum
* rename Keyboard to KeyCode
* update deprecated
* update
2021-06-09 15:12:51 +08:00
PP
4914116834
optimize SystemEventType and NodeEventType ( #8678 )
...
* remove recomendation for usage of string type of event
* deprecate KEY_DOWN KEY_UP event
* support SystemEventType.KEYBOARD_DOWN && SystemEventType.KEYBOARD_UP
* deprecate some useless properties
* implement keyboard pal
* remove SystemEventType toString()
update
* fix instantiating EventTouch
* optimize deprecated info
* support native keyboard KEYBOARD_DOWN event
* remove usage of event code
* fix deprecating pure value properties
* optimize deprecating Event type
* optimize deprecating getEventCode()
update
* optimize deprecating eventType
* optimize deprecating isPressed
* optimize deprecating keybaord event
* optimize deprecating rawEvent
* Revert "fix deprecating pure value properties"
This reverts commit 60d586532496fa1f422f05c54a922b86d1dc96ee.
* fix deprecate pure value properties
* Revert "fix deprecate pure value properties"
This reverts commit a83f1725fedfbd7af445892912aacab8e8502147.
* fix deprecating pure value property
* update
updaate
* deprecate some EventType enum in SystemEventType and NodeEventType
* optimize
* update
update
* update
* update
* fix CI
* fix CI
* fix Circular dependency
* fix Circular dependency
2021-06-07 19:06:29 +08:00
PP
6c03fd936a
support system.onClose(cb) && system.close() ( #8674 )
...
* support `system.onClose(cb)`
update
* optimize game.end()
* update
2021-06-02 14:47:40 +08:00
Santy-Wang
68896f6cfa
Merge pull request #8700 from cocos-creator/v3.1.1
...
merge V3.1.1
2021-05-21 15:48:53 +08:00
江战
2a2719a79c
HarmonyOS support ( #8679 )
2021-05-21 15:42:37 +08:00
PP
414a4a012d
support minigame.testAndUpdateSystemInfoCache on WX platform ( #8688 )
2021-05-18 16:09:42 +08:00
PP
420c9f59d4
support system.getSafeAreaEdge() ( #8654 )
...
* support system.getSafeAreaEdge()
* remove legacy adapter
* remove code
* update
2021-05-17 18:12:13 +08:00
PP
0b0739990e
fix accelerometer bug on QQ browser and WeChat iOS end ( #8632 )
...
* fix accelerometer bug on QQ browser
* fix accelerometer on WeChat iOS end
* fix baidu offAccelerometerChange
2021-05-17 12:40:46 +08:00
PP
b2370ddd0d
fix audio crash on COCOSPLAY ( #8629 )
...
* fix audio crash on COCOSPLAY
* add Note
2021-05-17 10:28:28 +08:00
PP
13faf6d8ff
fix input support info on Web platform ( #8673 )
2021-05-14 11:58:30 +08:00
PP
cb1df4592e
fix stopping audio won't seek to 0 when audio is paused on Xiaomi platform ( #8636 )
2021-05-14 11:23:28 +08:00
PP
abccf89427
cache system info on LINK_SURE platform ( #8661 )
2021-05-13 15:36:51 +08:00
PP
1e10ff54f9
FIX_CI: failed to access canvas ( #8655 )
2021-05-11 10:45:14 +08:00
PP
2160490d31
fix vivo accelerometer ( #8625 )
2021-04-30 22:29:57 +08:00
PP
309aac442d
asynchronous Audio operation on Wechat platform ( #8622 )
2021-04-30 18:52:51 +08:00
PP
1dfce47a82
fix error on PointerLock case ( #8603 )
...
* fix mouseEvent delta when pointer is locked
* don't emit InputEvent when mouseDown event is fired on window
2021-04-30 11:54:54 +08:00
PP
63e2465749
fix audio on Win32 platform ( #8598 )
2021-04-29 20:35:04 +08:00
PP
1742562456
optimize deprecated 360 browserType ( #8594 )
2021-04-29 16:15:38 +08:00
PP
34969d69ca
fix MACOS platform ( #8592 )
2021-04-29 15:22:05 +08:00
PP
2c4b747684
optimize Web Audio ( #8590 )
...
* ban audio playing in Editor
* register WebAudio error callback
* fix stop BufferSourceNode on Safari
2021-04-29 14:53:15 +08:00
PP
bea63534e9
fix MouseEvent.button when mouse tracking ( #8582 )
...
* fix MouseEvent.button when mouse tracking
* update
2021-04-28 21:45:51 +08:00
PP
c89fe8bfdd
compatible movement data in MouseEvent on Web && fix keyCode in keydown event ( #8578 )
...
* compatible movement data in MouseEvent on Web
* revert keypress Event to keydown
2021-04-28 17:28:50 +08:00
PP
25b6f15410
fix Accelerometer bug ( #8573 )
...
* fix accelerometer on wechat
* fix baidu
* fix bytedance
* fix alipay
* fix xiaomi
* fix runtime
* fix orientation on CocosPlay
* remove legacy adapter
* remove canvas warning
2021-04-28 17:21:49 +08:00
PP
b1123f4546
fix accelerometer && system info on native platform ( #8564 )
...
* fix platform info in native platform
* fix orientation on native platform
2021-04-27 10:11:25 +08:00
PP
4b8aeb35fa
HACK: fix touch event on VIVO ( #8563 )
...
add NOTE
2021-04-26 22:23:20 +08:00
PP
7e5da07c8a
fix preview toolbar ( #8557 )
2021-04-26 15:43:00 +08:00
PP
8b58bd34fb
use windowHeight to handle touch event on minigame platform ( #8552 )
...
* use windowHeight to handle touch event on minigame platform
* remove HACK logic in alipay
2021-04-25 20:05:02 +08:00
PP
4e61a9b568
fix window 'keydown' event swallow EditBox input event on Web ( #8548 )
2021-04-25 19:37:26 +08:00
PP
9022edc5e4
support webp on Native platform ( #8550 )
2021-04-25 18:21:27 +08:00
PP
b3977bd507
fix audio duration on native ( #8539 )
2021-04-23 22:25:05 +08:00
PP
f031d490aa
fix audio seeking ( #8538 )
2021-04-23 21:45:40 +08:00
PP
cd1548d3f6
fix Audio bug ( #8515 )
...
* support AudioPlayer.loadOneShotAudio
* support native
* support minigame
* support createInnerAudioContextPolyfill
update
* fix audioLoading on runtime
* fix Safari doesn't support promise based decodeAudioData
* optimize interface design
* add onPlay polyfill for vivo
* fix setting AudioSource.clip concurrently
* add createInnerAudioContextPolyfill for Xiaomi
* add createInnerAudioContextPolyfill on Baidu
* fix web audio player currentTime
2021-04-23 18:07:58 +08:00
PP
cf554645f0
fix touch event on alipay ( #8507 )
...
update
2021-04-20 19:54:31 +08:00