ChiaNing
0587992cb1
fix label Blend Factor bug for BYTEDANCE ( #10516 )
...
* fix label Blend Factor bug for BYTEDANCE
* update
2022-03-26 18:53:07 +08:00
PP
c84b4306ab
fix culling deprecated module ( #9937 )
2022-01-06 23:50:54 +08:00
PP
3c2abc5fba
remove adapters code ( #9494 )
2021-10-22 18:45:28 +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
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
PP
fa6ba48c27
fix undefined window.location.protocol ( #9185 )
2021-08-16 15:22:21 +08:00
PP
d916165d85
optimize hide show event implamentation on minigame / runtime platform ( #9093 )
...
* fix hide show event on runtime platform
* remove legacy adapter on minigame platform
update
2021-08-04 16:16:36 +08:00
Santy-Wang
2c83cda615
fix reading array buffer failed ( #9070 )
2021-07-26 20:14:06 +08:00
Santy-Wang
617adca055
strip extension and change extension in minigame ( #9061 )
2021-07-24 20:11:41 +08:00
Santy-Wang
41e0656cfa
support cconb in other platform ( #9055 )
...
* support cconb in minigame
* preprocess extension
* refine
* remove generic type
* dont change ext
2021-07-23 22:36:27 +08:00
PP
db7f4a3e3c
fix can't update default value when show keyboard on Xiaomi platform ( #9033 )
...
* add EditBox adapter on Xiaomi platform
* skip invalid input callback
* Revert "skip invalid input callback"
This reverts commit fc4e2ee38cb7aebce7c405483d70a28507f03373.
* delay event registering after showing keyboard
* add note
2021-07-22 16:21:00 +08:00
pandamicro
09a2eb2d2e
Move director delta time to game and remove deprecated APIs ( #8913 )
...
* Move director delta time to game and remove deprecated APIs
* Small ts fixes
* Fix ci
* Fix module import
* Adaptation
* Improve usage
* Improve deprecation
* Fixes and improve setFrameRate logic
* Move game's time control functions to timer class
* Fix frame time counter
* Tweaks
* Tweaks
* Revert timer
2021-07-09 17:27:52 +08:00
PP
960dc20334
compability with AudioClip method since deprecated on v3.1.0 ( #8905 )
2021-06-29 10:33:13 +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
ad24ca70c7
update deprecated usage of sy API ( #8684 )
2021-05-18 13:31:27 +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
856120f52d
fix undefined element in caches array on v3.1.1 ( #8663 )
2021-05-12 10:23:21 +08:00
PP
f543c071f4
fix xiaomi ttf downloading ( #8569 )
2021-04-27 14:48:07 +08:00
PP
05e65d381e
remove sys related adapter ( #8523 )
...
* remove sys adapter in runtime
* remove web-adapter README.md
* remove sys adapter on minigame
2021-04-22 16:40: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
Santy-Wang
2f8090ba7f
move importBundleEntry to factory ( #8339 )
2021-04-16 15:39:32 +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
e345039c86
fix audio loading ( #8449 )
...
* fix audio loading
* fix audio loading in minigame
2021-04-14 14:50:41 +08:00
ChiaNing
ec7bdbd86e
fix premultiplyAlpha bug for wechat ( #8446 )
2021-04-13 18:37: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
ChiaNing
2f8d13a858
add wechat astc support ( #8370 )
2021-03-17 18:04:34 +08:00
PP
a14f36321f
optimize Label black border on bytedance platform ( #8319 )
2021-03-04 10:09:53 +08:00
Santy-Wang
2f3975f39b
hack: check cached file ( #8317 )
2021-03-02 19:16:48 +08:00
ChiaNing
6db3a47de2
fix baidu & wechat checkPackable function ( #8238 )
...
* fix baidu & wechat checkPackable function
* add notice
2021-01-28 17:33:03 +08:00
PP
22aed7a4da
fix ttf downloading on Xiaomi platform ( #8223 )
2021-01-27 18:55:49 +08:00
zhefeng.zhang
e7eaac6140
sync-adapters/pull/219 ( #8219 )
2021-01-27 18:33:11 +08:00
PP
5792f5ec1a
fix undefined editBoxEditingDidBegan ( #8163 )
2021-01-19 17:52:20 +08:00
PP
0183064952
fix file size storage exceeded on Bytedance ( #8149 )
...
update
2021-01-16 14:44:29 +08:00
PP
680ac7fb17
fix open data context dpr ( #8050 )
...
update
update
2020-12-30 19:01:29 +08:00
Santy-Wang
ad4bff3988
Restructure Module ( #7968 )
...
* module restructure
* refine
* restructure module
* merge
* revert
* fix ci
* update import path of unit-test
* split 2d and ui
* add more module
* change audio adapter
* rename primitive
* config wechat plugin
* merge
* add category config
* merge
* merge
2020-12-24 19:07:26 +08:00
PP
aa631d81b2
support loading subpackage on Bytedance platform ( #7995 )
2020-12-22 10:24:08 +08:00
PP
0a836ac458
optimize sys info init && move in runtime adapters ( #7920 )
...
* optimize sys info init in adapters
update
* update sys init
update sys
* fix sys access
* optimize isWebIOS14OrIPadOS14Env
* update
* update
* update QTT adapter
* update sys.capacities
update sys
* update common && qtt
* add downloadFile to job module
* update engine-adapter
* update DeviceMotionEvent adaption
* remove legacy qtt
* add link-sure adaption
* fix some bug
* update vivo adaption && fs-utils
* remove legacy link-sure
* remove dom-adapter
* remove HTMLCanvas appended to document
* update vivo
* support COCOS_PLAY
* update adapters to platforms
* remove test code
* add OPPO adapter
* add huawei adapter
* remove test code
* rename folder oppo-mini-game
* rename folder huawei-quick-game
* rename folder vivo-mini-game
2020-12-15 11:54:13 +08:00