Commit Graph

10146 Commits

Author SHA1 Message Date
troublemaker52025 8a57007acb fix repeatedly created camera errors (#8006)
* fix repeatedly created camera errors

* protected map.geter()

* update
2020-12-23 19:17:50 +08:00
Leslie Leigh (李的序) a069eeca2f Optimize shader sources build (#7998)
* Optimize shader sources build

* Linting

* HTML5, WeChat branch

* Comment
2020-12-23 16:29:58 +08:00
Leslie Leigh (李的序) aa3cf70c04 Fix @cocos/build-engine: enumerate-dependent-chunks error (#8004) 2020-12-23 15:36:25 +08:00
Leslie Leigh (李的序) 1c9f4b44f7 Optimize ESLint CI: exclude deleting changes and non code file (#8003) 2020-12-23 13:31:53 +08:00
troublemaker52025 17c4946b66 Canvas split 2D camera (#7987)
* update

* update

* update

* update

* fix eslint error

* update

* update

* Add protection mechanism

* fix pr

* fix pr

* createCamera() changed public

* revert

* revert

* update

* fix  remove camera component error

* update

* update
2020-12-22 18:36:30 +08:00
pandamicro 9b75d50b1b Improve game mainLoop safety (#7796)
* Improve game mainLoop safety

* Fix ci

* Fix ci

* Fix game pause state set

* Fix game init timing

* Fix camera component imports

* Fix eslint warnings

* allow dangling underscores

* Fix more warning
2020-12-22 18:19:40 +08:00
yeshao2069 9c61746852 fix bug : when the page window changes, the content in the widget will not change (#7988)
* fix bug :

when the page window changes, the content in the widget will not change

* update

when the page window changes, the content in the widget will not change

* update

fix error

* update

Optimized writing
2020-12-22 11:48:54 +08:00
Knox 9a85d48a37 improve onLoadedMetadata in jsb-videoplayer (#7993) 2020-12-22 11:43:59 +08:00
Santy-Wang c92fe2d81e fix release issue in editor (#7997) 2020-12-22 11:27:47 +08:00
cary db5eafc4a9 Fix the problem of inaccurate calculation of curve interpolation. (#7994)
* Fix the problem of inaccurate calculation of curve interpolation.

* fix eslint error
2020-12-22 10:31:37 +08:00
PP aa631d81b2 support loading subpackage on Bytedance platform (#7995) 2020-12-22 10:24:08 +08:00
黄森斌 8f84a26320 update terrain doc link (#7985) 2020-12-21 15:57:41 +08:00
Santy-Wang e141dd2537 Revert "Optimize wasm fetching (#7979)" (#7992)
This reverts commit 52c710934e.
2020-12-21 15:19:18 +08:00
媛媛 22343ac441 change the default value of multi in render config from true to false (#7991) 2020-12-21 15:01:56 +08:00
Leslie Leigh (李的序) 52c710934e Optimize wasm fetching (#7979) 2020-12-18 18:33:50 +08:00
江战 1bff13636c [3.0] rename dragonbones to dragon-bones (#7984)
* rename dragonbones -> dragon-bones

* add files
2020-12-18 18:29:03 +08:00
Santy-Wang 477ca2cb5f Revert "Canvas split Camera (#7955)" (#7983)
This reverts commit d0e7e6d9a4.
2020-12-18 14:47:09 +08:00
JoneLau e267479e41 optimized layout (#7970)
* optimized layout

* type If none, do nothing
2020-12-18 14:08:21 +08:00
Leslie Leigh (李的序) 6e547e22fb Revert spine's export; optimize StatsQuery (#7982)
* Revert spine's export; optimize StatsQuery

* Update version
2020-12-18 11:48:21 +08:00
troublemaker52025 d0e7e6d9a4 Canvas split Camera (#7955)
* revert

* fix eslint ci

* fix ci

* update

* update
2020-12-18 11:12:53 +08:00
黄森斌 a803f7e618 update some internal asset files version (#7981) 2020-12-18 10:53:06 +08:00
Knox 3bcd7b339b improve video player code (#7980)
* improve video player code

* refine code
2020-12-18 10:51:18 +08:00
Leslie Leigh (李的序) 5b5ac79798 Suggested lint changes (#7778)
* lint

* Update

* Update

* Update

* Doc

* Update
2020-12-17 20:28:35 +08:00
江战 c85c6cb687 [3.0] spine/dragonbons deprecated GFXBlendFactor (#7978)
* GFXBlendFactor -> BlendFactor
2020-12-17 19:52:11 +08:00
Leslie Leigh (李的序) 279816a5e2 Add eslint to GitHub workflow (#7964)
* Add eslint to GitHub workflow

* Update
2020-12-17 15:03:27 +08:00
mmyduckx 4496f662fb fix the issue of vertexOffset (#7965) 2020-12-17 13:59:21 +08:00
江战 7d9a37eb7e material can not be null (#7977) 2020-12-17 13:54:23 +08:00
Knox 19232c4021 Fix rich text not rendering image tags (#7975) 2020-12-17 13:37:49 +08:00
PP 04a6a7e311 fix accelerometer on Runtime (#7967)
* fix accelerometer on Runtime

* update
2020-12-17 10:18:56 +08:00
Leslie Leigh (李的序) 8c70de3843 Uncommitted cc.config.json (#7976) 2020-12-16 16:44:22 +08:00
Leslie Leigh (李的序) 72faf9d143 Bug fix; bump @cocos/build-engine@4.1.1 (#7974) 2020-12-16 16:12:07 +08:00
Knox fb00491e1e fix particle system 2d render spriteFrame missing (#7973) 2020-12-16 15:00:49 +08:00
Knox 695473c503 add Size to animation bound target (#7972) 2020-12-16 14:36:24 +08:00
Leslie Leigh (李的序) ad1c77548b Bump @cocos/build-engine@4.1.0 (#7971) 2020-12-16 14:35:05 +08:00
媛媛 9f79552c9e [3.0-preview-4] Add new engine module config (#7956)
* 添加新的模块配置方式

* update module confg

* add render config

* update render config

* change entry to module, change module to feature

* change IFeatures to Features

* update

* change mutex to multi
2020-12-16 13:54:24 +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
Leslie Leigh (李的序) 68581fcdb9 Bump CI node version (#7969)
* Bump CI node version

* Update
2020-12-16 11:38:28 +08:00
Leslie Leigh (李的序) ee894076d5 build-engine API changes from "entry" to "feature"-based (#7957)
* build-engine API changes from "entry" to "feature"-based

* Bump version
2020-12-16 11:17:35 +08:00
Leslie Leigh (李的序) a3207d6bcb Suppress no-initializer warns if the property is declared to have object type (#7917)
* Suppress no-initializer warns if the property is declared to have object type

* Use 'default' in

* Update

* Revert

* Revert

* Update
2020-12-15 17:23:41 +08:00
troublemaker52025 c94b0b5aba Optimize transparent shadows (#7918)
* Optimize transparent shadows

* use eslint

* update
2020-12-15 13:54:36 +08:00
PP e3e1db619f move port/native into platforms/native (#7963)
* Revert "move in port/native to platforms/native (#7962)"

This reverts commit 96871ba26b.

* move port/native into platforms/native
2020-12-15 12:43:16 +08:00
PP 96871ba26b move in port/native to platforms/native (#7962) 2020-12-15 11:54:29 +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
Knox 4aa2f72d94 fix rich text no normal recycling of labels to the object pool (#7951)
* fix rich text no normal recycling of labels to the object pool

* refine code
2020-12-15 10:54:30 +08:00
Knox 721e475c59 rm the widget code executed by the editor (#7959) 2020-12-15 10:42:50 +08:00
江战 8dcc1b372f [3.0] spine enable _premultipliedAlpha (#7960)
* fix material defines

* fix compile error
2020-12-14 18:13:20 +08:00
江战 363739d0a9 setup cachemode (#7961) 2020-12-14 17:47:18 +08:00
minggo 1277eb0288 change gfx backend initialization order (#7958)
iOS/macOS do not check gles2
android/windows check gles3 first
2020-12-14 14:13:48 +08:00
yeshao2069 d77bb856da [sync to 3.0]fix : when destory node, 'this._siblingIndex' is not update (#7938)
* fix : when destory node, 'this._siblingIndex' is not update

* update parent._updateSiblingIndex

update parent._updateSiblingIndex
2020-12-14 13:55:05 +08:00
jiaxin.lai 5a42c15acd fix ammo trimesh (#7946) 2020-12-14 13:45:35 +08:00