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
1f58fbff6c
cache systemInfo on Cocos Play platform ( #9856 )
...
* cache systemInfo on Cocos Play platform
* resize swapChain
2021-12-23 11:40:00 +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
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
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
PP
420c9f59d4
support system.getSafeAreaEdge() ( #8654 )
...
* support system.getSafeAreaEdge()
* remove legacy adapter
* remove code
* update
2021-05-17 18:12:13 +08:00
PP
cf554645f0
fix touch event on alipay ( #8507 )
...
update
2021-04-20 19:54:31 +08:00
PP
86f20da0f0
support pal/input ( #8472 )
...
* support pal/input
update
* update
* fix esLint
* support minigame
* support pal/input on minigame
* remove minigame.isSubContext
* support native
update
* deprecate static property on EventMouse
* deprecated static property in EventTouch
* remove TODO
* remove x y position in MouseWheel Event
* remove TODO
* remove temp code
* fix esLint
* update AccelerometerIntervalMode
* remove legacy code in JSB
* fix esLint
* optimize AccelerometerInputSource.setInterval
* fix esLint
* optimize code
* add more details for documentation
* update
* don't pass game.canvas to inputManager.registerSystemEvent
* optimize
* Revert "remove x y position in MouseWheel Event"
This reverts commit b521ec4948d693b420887cdeb2f5f3afc1500066.
# Conflicts:
# @types/pal/input.d.ts
* update
* fix esLint
* fix esLint
2021-04-19 16:24:42 +08:00
PP
9bb4c4f8ea
support pal/system ( #8441 )
...
* support pal/app
update
update
* remove 'QQ_PLAY' and 'FB_PLAYABLE_ADS'
* rename system
update
* rename Language
* update
* update
* bind function in Game.ts
* rename system
* support system.getBatteryLevel()
* support pal/system on native
* support pal/system on minigame
* update
* fix esLint
* fix Circular dependency
* fix esLint
* use math/Size
2021-04-15 11:00:54 +08:00
PP
831722c121
optimize pal ( #8405 )
...
* rename mg
* optimize audioMgr
* remove implement class
update
* add src property for AudioPlayer
* fix multiple audioSource reference the same audioClip
* support operation-queue
update
* fix operation deadlock
* update
* fix esLint
update
update
* remove ensureStop
remove stop in play
* fix audio-dom loading
* optimize operation queue in AudioSource component
* HACK on runtime
* fix esLint
* update esLint
* HACK on WeChat DevTools
* lowercase enqueueOperationDecorator
* remve ! with @ts-expect-error
* Revert "HACK on WeChat DevTools"
This reverts commit 230a2ec9223f21fc34e8435b962c0b41c18d4e91.
* fix esLint
* rename clip.ts to audio-clip.ts
* add audio meta
* use fastRemoveAt
* change ClassDecorator to MethodDecorator
* remove player reference in audio-clip
* destroy temporary AudioPlayer after loading
* optimize syncPlayer
* fix esLint
* fix esLint
* optimize audio-manager
* optimize operation-queue
update
* fix eslint
2021-04-09 15:21:11 +08:00
PP
cd7e644694
implement audio on pal ( #8255 )
...
* Update logo in README
* add pal/audio
* deprecate property
* support wechat game AudioPlayer
* unify minigame interface
* optimize module name
* support native audio
# Conflicts:
# @types/jsb.d.ts
* add runtime platform
* fix module
* support build native virtual module
update
update
* update module name
* remove jsb-audio.js
* revert @rollup/plugin-alias
* add quickCompiler field in cc.config.json
* fix audio can't stop when paused
* fix esLint & ci
* fix ci
update
* update ccConfigJson
* add NOTE
* readonly maxAudioChannel
* add description for interface OneShotAudio
* volume range
* range for seeking
* loadNative return Promise<unknown>
* remove quickCompile field in cc.config.json
Co-authored-by: pandamicro <lphuabin@gmail.com >
Co-authored-by: Jare Guo <jareguo@users.noreply.github.com >
2021-03-25 14:30:13 +08:00