Commit Graph

104 Commits

Author SHA1 Message Date
PP fa6ba48c27 fix undefined window.location.protocol (#9185) 2021-08-16 15:22:21 +08:00
zhakesi e3795899ec fix:when skeleton data destory clean all data. (#9139)
* fix:when skelton data destory clean all data.

previous version the info still exists in the data map,
this cause initializing skeleton failed second time.

* remove code no used any more
2021-08-06 17:05:28 +08:00
zhakesi c35120b2bf fix:avoid animation's name not be a string type (#9114) 2021-08-05 11:17:45 +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
cary b8ec697a23 Change the sync of native pass to message queue. (#9096) 2021-07-30 10:15:05 +08:00
Santy-Wang 9ed30ce2c9 change extension of ccon (#9091) 2021-07-29 16:48:33 +08:00
江战 6270f592be 3.3 some optimization (#9069) 2021-07-27 13:38:56 +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
jiaxin.lai c7f68eb6e1 fix jsb physics (#9053) 2021-07-23 16:29: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
jiaxin.lai 4cda45bfd9 physics unit-test and features base 3.3 (#9027)
* support ccd

* clearState after change type

* fix Instantiate rigid body with custom group

* add some extra functions

* update physics libs

* tweaks rigid body component

* add EVENT_UPDATE to PhysicsMaterial

* tweaks

* support switch physics backend

* remove redundant constants

* add config & min volume size

* update @cocos/physx to 1.0.4

* fix destroy cannon world

* correct init if manual construct physics system

* disable log info in test

* add some physics unit test

* add physics unit test

* make the config optional

* add runInEditor to selector

* pack physx js libs by default

* fix

* STASH

* stash

* tweaks

* rename

* update test

* support query trigger

* update @cocos/ammo to 1.1.6

* fix raycast with query trigger in physx

* raycast test with query trigger

* rename

* docs

* fix calculate local inertia (#8956)

* rename

* delete

* allow generate mesh/terrain collider at runtime

* tweaks

* use sap by default

* update @cocos/ammo to  1.1.8

* update @cocos/physx to 1.0.7

* update @cocos/cannon to 1.2.8

* update package-lock

* add ccd test

* remove config

* rename

* fix 2d phy sys typing

* support global allow sleep toggle for bullet

* tweaks

* use naive broadphase by default

* rename

* docs

* tweaks

* add missing jugement
2021-07-22 15:52:18 +08:00
PP 5a8c5432b7 update fetch ral from gitlab (#9019) 2021-07-20 16:45:58 +08:00
PP 2d396ab482 support target-commit.json in RAL repo (#9007)
* support generate ral latest-commit.md

* use target-commit.md

update

update

update

* update
2021-07-20 13:20:26 +08:00
江战 94a450c07e set nullptr (#9005) 2021-07-20 09:55:46 +08:00
江战 3eee6dfd4b 3.3 js message queue (#8991) 2021-07-16 15:20:31 +08:00
PP 20bc9e80e4 support fetch ral workflow (#8971)
* remove RAL adapter in engine repo

* support fetch ral workflow

stash

stash

update

* update lock

* update fetch-ral

* support force fetch ral

* remove fetch-ral from npm install work flow
2021-07-16 10:48:36 +08:00
minggo 9fffa5d782 get delta time from cc.game (#8967) 2021-07-13 15:17:22 +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
mmyduckx ec7a87afa3 add spine&db system && optimize system priority (#8866)
* add spine&db system && optimize system priority

* refine spine/db system

* fix misspelling

* refine

* remove errorID

* remove errorID
2021-06-29 16:59:52 +08:00
PP 960dc20334 compability with AudioClip method since deprecated on v3.1.0 (#8905) 2021-06-29 10:33:13 +08:00
santy-wang c5dd05fbf1 Merge branch 'v3.1.2' of github.com:cocos-creator/engine into v3.3-merge 2021-06-28 14:40:34 +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
mmyduckx 4d3418484a fix native spine slot bug (#8859) 2021-06-22 15:57:49 +08:00
mmyduckx 4eba23a7f0 fix spine blendmode in native (#8834) 2021-06-17 12:54:27 +08:00
cary 4305e4c132 Modify the memory pool and remove the deprecated code. (#8776) 2021-06-10 09:06:35 +08:00
minggo 424232493e Merge pull request #8777 from minggo/merge_v3.1.2
Merge v3.1.2
2021-06-09 14:12:21 +08:00
Zeqiang Li ac09bea040 remove nativeSize() interface (#8745) 2021-06-09 09:54:46 +08:00
cary 7a265315b2 merge node change of v3.1.2 (#30) 2021-06-08 15:39:43 +08:00
Yun Hsiao Wu 35e4cb81ec take over native device initialization (#8767) 2021-06-07 11:10:17 +08:00
Bird 4a243f51e0 [refine] remove cocos-runtime platform (#8739) 2021-06-03 14:03:51 +08:00
mmyduckx a224d5384b fix remove imageAsset._texture usage for db/spine (#8742) 2021-06-01 14:25:11 +08:00
jiaxin.lai 83c09dbbef support getAABB and get bounding sphere in jsb (#8710) 2021-05-25 19:11:33 +08:00
jiaxin.lai f01c3b3053 override physx instantiate in jsb (#8709)
* fix set damping

* override physx instantiate in jsb
2021-05-25 18:41:41 +08:00
jiaxin.lai eac556ddab physx optimize and multi thread in bytedance (#8706)
* sync damping

* stash

* tweaks

* sync damping

* tweaks

* physx muti thread

* tweaks

* tweaks

* tweaks

* tweaks

* sync native physx dampings

* add end of frame to director

* tweaks
2021-05-25 15:45:40 +08:00
mmyduckx 93491a40f2 remove ImageAsset._texture usage for spine & dragonbones (#8658)
* change spine texture only to use texture2d

* remove ImageAsset._texture usage
2021-05-24 15:01:48 +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 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 2bce7361f8 fix Audio currentTime on Huawei (#8656) 2021-05-13 14:18:31 +08:00
PP 856120f52d fix undefined element in caches array on v3.1.1 (#8663) 2021-05-12 10:23:21 +08:00
jiaxin.lai 9fd927c2f1 fix jsb-physics require canditions (#8637) 2021-05-06 20:29:13 +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 f543c071f4 fix xiaomi ttf downloading (#8569) 2021-04-27 14:48:07 +08:00
jiaxin.lai ff37cc95fd fix sync node transform on native (#8558)
* fix sync node transform

* sync node dirty only if in jsb

* tweaks
2021-04-26 21:32:05 +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