Commit Graph

19 Commits

Author SHA1 Message Date
PP
c84b4306ab fix culling deprecated module (#9937) 2022-01-06 23:50:54 +08:00
PP
3a3f1ea151 fix set frame rate on runtime (#9874) 2021-12-27 14:35:18 +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
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
960dc20334 compability with AudioClip method since deprecated on v3.1.0 (#8905) 2021-06-29 10:33: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
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
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 b521ec4948.

# 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
5109e399b1 update runtime al (#8349)
* optimize  ral.startAccelerometer

* remove jsb.setPreferredFramesPerSecond on runtime

udpate

* update ral

update  ral

update ral

update ral
2021-03-17 10:55:59 +08:00
yongminghuang
7d2db6770c [adjsut] rename jsb to ral (#8327)
* [adjsut] rename jsb to ral ,add ovh  jsb.js

* [adjust] adjust

* [adjust] adjust  adapter

* [adjust] update adapter

* [adjust] updata adapter

* [bug] fix cannot run in cocos play

* [bug] fix vivo cannot run

* [adjust]rename jsb.js to ral.js
2021-03-05 19:57:07 +08:00
PP
5d5a8fc245 adapt runtime 2.0 (#8287)
* add cocos runtime

update

update

* support link-sure

* update  jsb

* support oppo

* move fs-utils && AudioPlayer to common

update

* fix loadSubPackage

* support qtt

* add huawei & vivo

* remove qgame-adapter.js

* optimize accelerometer

* add back copyright
2021-03-01 11:10:20 +08:00
PP
61c4647285 opotimize outOfStorage && video event dispatching (#8169)
* opotimize outOfStorage on runtime platform

* fix videoPlayer  event dispatching on  OPPO platform
2021-01-21 10:26:34 +08:00
PP
5792f5ec1a fix undefined editBoxEditingDidBegan (#8163) 2021-01-19 17:52:20 +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
e737190f54 optimize code in sys.ts (#7966)
* remove platform  related code in sys.ts

* remove browserType for minigame
2020-12-16 13:48:22 +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